docs.unity.cn
    Show / Hide Table of Contents

    Enum DecalScaleMode

    The scaling mode to apply to decals that use the Decal Projector.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum DecalScaleMode

    Fields

    Name Description Value
    ScaleInvariant

    Ignores the transformation hierarchy and uses the scale values in the Decal Projector component directly.


    0
    InheritFromHierarchy

    Multiplies the lossy scale of the Transform with the Decal Projector's own scale then applies this to the decal.


    1
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023