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 |