Skip to main content

Class GooeyFilter

A gooey filter for uGUI components

Assembly: ChocDino.UIFX.dll
Declaration
[AddComponentMenu("UI/Chocolate Dinosaur UIFX/Filters/UIFX - Gooey Filter")]
public class GooeyFilter : 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

Size

The radius in pixels to dilate the edges of the graphic. Default is 2.0

Declaration
public float Size { get; set; }

Blur

he radius of the blur in pixels. Default is 12.0

Declaration
public float Blur { get; set; }

Threshold

Threshold controls the value used to clip the alpha channel. Default is 0.35

Declaration
public float Threshold { get; set; }

ThresholdFalloff

Threshold falloff controls how soft or hard the threshold is. Default is 0.5

Declaration
public float ThresholdFalloff { get; set; }

Implements

  • UnityEngine.UI.IMaterialModifier
  • UnityEngine.UI.IMeshModifier