Skip to main content

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.LongShadowFilter

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