docs.unity.cn
    Show / Hide Table of Contents

    Struct PostTransformMatrix

    An optional transformation matrix used to implement non-affine transformation effects such as non-uniform scale.

    Namespace: Unity.Transforms
    Syntax
    public struct PostTransformMatrix : IComponentData, IQueryTypeParameter
    Remarks

    If this component is present, it is applied to the entity's LocalToWorld matrix by the LocalToWorldSystem.

    If a system writes to an entity's LocalToWorld using a WriteGroupAttribute, it is also responsible for applying this matrix if it is present.

    Fields

    Name Description
    Value

    The post-transform scale matrix

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023