Class FilterBase
Base class for all derived filter classes
Assembly: ChocDino.UIFX.dllβ
Declaration
[ExecuteInEditMode]
[RequireComponent(typeof(CanvasRenderer))]
[HelpURL("https://www.chocdino.com/products/unity-assets/")]
public abstract class FilterBase : UIBehaviour, IMaterialModifier, IMeshModifier
Inheritance: System.Object
-> UnityEngine.Object
-> UnityEngine.Component
-> UnityEngine.Behaviour
-> UnityEngine.MonoBehaviour
-> UnityEngine.EventSystems.UIBehaviour
Derived:
ChocDino.UIFX.DropShadowFilter
Implements:
UnityEngine.UI.IMaterialModifier
, UnityEngine.UI.IMeshModifier
Propertiesβ
Strengthβ
How much of the maximum effect to apply. Range [0..1] Default is 1.0
Declaration
public float Strength { get; set; }
Fieldsβ
_strengthβ
Declaration
[Tooltip("How strongly the effect is applied.")]
[Range(0, 1)]
[SerializeField]
protected float _strength
Alpha8TextureAddβ
Declaration
protected static readonly Vector4 Alpha8TextureAdd
_screenRectβ
Declaration
protected ScreenRectFromMeshes _screenRect
_displayMaterialβ
Declaration
protected Material _displayMaterial
_forceUpdateβ
Declaration
protected bool _forceUpdate
Implementsβ
UnityEngine.UI.IMaterialModifier
UnityEngine.UI.IMeshModifier