-
-
Notifications
You must be signed in to change notification settings - Fork 53
DecalData
BACK > Scripting API
ScriptableObject used for defining a decal type. See Getting started for more information.
isImported (bool [get]) - True if Decal asset has been processed.
material (Material [get]) - Material used for Decal rendering.
poolingEnabled (bool [get]) - If enabled all Decals created via DecalSystem will be pre-generated and taken from a Pool.
instanceCount (int [get]) - How many instances of this Decal will be created in the Pool.
depth (float [get]) - How far the decal projection draw on Z axis.
depthFalloff (float [get]) - How much the decal should blend transparency towards its Depth value.
angle (float [get]) - Maximum angle between surface and Decal forward vector.
angleFalloff (float [get]) - How much the Decal should blend transparency towards its Angle value.
layerMask (LayerMask [get]) - Which layers the Decal is applied to.
sortingOrder (int [get]) - Decals with higher values are drawn on top of ones with lower values.