Class LongShadowFilter
A long shadow filter for uGUI components
Assembly: ChocDino.UIFX.dllβ
[AddComponentMenu("UI/Chocolate Dinosaur UIFX/Filters/UIFX - Long Shadow Filter")]
public class LongShadowFilter : FilterBase, IMaterialModifier, IMeshModifier
Inheritance: System.Object
-> UnityEngine.Object
-> UnityEngine.Component
-> UnityEngine.Behaviour
-> UnityEngine.MonoBehaviour
-> UnityEngine.EventSystems.UIBehaviour
-> ChocDino.UIFX.FilterBase
Implements:
UnityEngine.UI.IMaterialModifier
, UnityEngine.UI.IMeshModifier
Propertiesβ
Angleβ
The clockwise angle the shadow is cast at. Range is [0..360]. Default is 135.0
public float Angle { get; set; }
Distanceβ
The distance the shadow is cast. Range is [0..512]. Default is 32
public float Distance { get; set; }
Pivotβ
The pivot can be used for animating the shadow. A value of -1 means the front is located at the position of the back. A value of 0.0 means the front and back are at their furthest distance apart. A value of 1.0 means the back is located at the position of the front. Range is [-1..1]. Default is 0.0
public float Pivot { get; set; }
ColorFrontβ
The color of the main/front of the shadow
public Color ColorFront { get; set; }
UseBackColorβ
The color of the main/front of the shadow
public bool UseBackColor { get; set; }
ColorBackβ
The color of the back of the shadow
public Color ColorBack { get; set; }
SourceAlphaβ
The transparency of the source content. Set to zero to make only the outline show. Range is [0..1] Default is 1.0
public float SourceAlpha { get; set; }
CompositeModeβ
The composite mode to use for rendering.
public LongShadowCompositeMode CompositeMode { get; set; }
Implementsβ
UnityEngine.UI.IMaterialModifier
UnityEngine.UI.IMeshModifier