Skip to main content

Class MotionBlurSimpleTMP

The MotionBlurSimpleTMP component is a visual effect that can be applied to a TextMeshPro Text component to create an approximate motion blur effect when the UI components are in motion.

Assembly: ChocDino.UIFX.TMP.dll
Declaration
[RequireComponent(typeof(TMP_Text))]
[HelpURL("https://www.chocdino.com/products/unity-assets/")]
[AddComponentMenu("UI/Chocolate Dinosaur UIFX/Effects/UIFX - Motion Blur (Simple) TMP")]
public class MotionBlurSimpleTMP : UIBehaviour

Inheritance: System.Object -> UnityEngine.Object -> UnityEngine.Component -> UnityEngine.Behaviour -> UnityEngine.MonoBehaviour -> UnityEngine.EventSystems.UIBehaviour

Properties

UpdateMode

Property UpdateMode sets which vertex modifiers are used to calculate the motion blur

Declaration
public VertexModifierSource UpdateMode { get; set; }

SampleCount

Property SampleCount sets the number of motion blur steps to calculate. The higher the number the more expensive the effect.

Declaration
public int SampleCount { get; set; }

BlendStrength

Property BlendStrength controls how transparent the motion blur is.

Declaration
public float BlendStrength { get; set; }