Manual

Fade

class in Doozy.Engine.UI.Animation 

Description

Fade animation settings

Properties

  • public float TotalDuration – Returns the maximum duration (including StartDelay) of the animation

Public Variables

  • public AnimationType AnimationType – The animation type that determines the behavior of this animation

  • public bool Enabled – Determines if this animation is enabled or not

  • public float From – Start value for the animation

  • public float To – End value for the animation

  • public float By – By value for the animation (used to perform relative changes to the current values)

  • public bool UseCustomFromAndTo – Allows the usage of custom from and to values for the Move animation

  • public int NumberOfLoops – The number of loops this animation performs until it stops. If set to -1 it will perform infinite loops (used only by loop animations)

  • public LoopType LoopType – The loop type (used only by loop animations)

  • public EaseType EaseType – Determines if the animation should use an Ease or an AnimationCurve in order to calculate the rate of change over time

  • public Ease Ease – Sets the ease of the tween. Easing functions specify the rate of change of a parameter over time. To see how default ease curves look, check out easings.net. Enabled only if EaseType is set to EaseType.Ease

  • public AnimationCurve AnimationCurveAnimationCurve used to calculate the rate of change of the animation over time. Enabled only if EaseType is set to EaseType.AnimationCurve

  • public float StartDelay – Start delay duration for the animation

  • public float Duration – Length of time for the animation (does not include the StartDelay)

Constructors

Public Methods

  • public void Reset(AnimationType animationType) – Resets this instance to the default values

  • public Fade Copy() – Returns a deep copy