EasingUtility
Info
typeStatic Class
namespaceAnimatext
Methods
Static Public
-
Basic(float value, bool continuousEasing)floatA linear easing method that starts at 0 and ends at 0.
continuousEasingWhether the easing is continuous. "Yes" means the easing value is from 0 to 1 and then from 1 to 0. "No" means the easing value is from 0 to 1 and then from -1 to 0.
Bounce(float value, int bounces, float bounciness)floatA bounce easing method that starts at 0 and ends at 0.
-
Bounce(float value, int bounces, float bounciness, out float extraValue)floatA bounce easing method that starts at 0 and ends at 0.
bouncesThe number of bounces.
bouncinessThe degree of each bounce.
extraValueThe extra easing value.
-
Ease(float value, EasingType type)floatAn easing method that starts at 0 and ends at 1.
typeThe type of the easing.
-
EaseBack(float value, float amplitude)floatA back easing method that starts at 0 and ends at 1.
amplitudeThe amplitude of back.
EaseBounce(float value, int bounces, float bounciness)floatA bounce easing method that starts at 0 and ends at 1.
-
EaseBounce(float value, int bounces, float bounciness, out float extraValue)floatA bounce easing method that starts at 0 and ends at 1.
bouncesThe number of bounces.
bouncinessThe degree of each bounce.
extraValueThe extra easing value.
EaseCircIn(float value)floatA circular easing method that starts slowly at 0 and ends quickly at 1.
EaseCircInOut(float value)floatA circular easing method that starts slowly at 0, speeds up, and then ends slowly at 1.
EaseCircOut(float value)floatA circular easing method that starts quickly at 0 and ends slowly at 1.
EaseCubicIn(float value)floatA cubic easing method that starts slowly at 0 and ends quickly at 1.
EaseCubicInOut(float value)floatA cubic easing method that starts slowly at 0, speeds up, and then ends slowly at 1.
EaseCubicOut(float value)floatA cubic easing method that starts quickly at 0 and ends slowly at 1.
EaseElastic(float value, int oscillations, float stiffness)floatAn elastic easing method that starts 0 and ends at 1.
-
EaseElastic(float value, int oscillations, float stiffness, out float extraValue)floatAn elastic easing method that starts at 0 and ends at 1.
oscillationsThe number of full oscillations.
stiffnessThe oscillation stiffness. The higher stiffness means the oscillation will reduce in intensity faster.
extraValueThe extra easing value.
EaseLinear(float value)floatA linear easing method that starts at 0 and ends at 1.
EaseQuadIn(float value)floatA quadratic easing method that starts slowly at 0 and ends quickly at 1.
EaseQuadInOut(float value)floatA quadratic easing method that starts slowly at 0, speeds up, and then ends slowly at 1.
EaseQuadOut(float value)floatA quadratic easing method that starts quickly at 0 and ends slowly at 1.
EaseQuartIn(float value)floatA quartic easing method that starts slowly at 0 and ends quickly at 1.
EaseQuartInOut(float value)floatA quartic easing method that starts slowly at 0, speeds up, and then ends slowly at 1.
EaseQuartOut(float value)floatA quartic easing method that starts quickly at 0 and ends slowly at 1.
EaseQuintIn(float value)floatA quintic easing method that starts slowly at 0 and ends quickly at 1.
EaseQuintInOut(float value)floatA quintic easing method that starts slowly at 0, speeds up, and then ends slowly at 1.
EaseQuintOut(float value)floatA quintic easing method that starts quickly at 0 and ends slowly at 1.
EaseSineIn(float value)floatA sinusoidal easing method that starts slowly at 0 and ends quickly at 1.
EaseSineInOut(float value)floatA sinusoidal easing method that starts slowly at 0, speeds up, and then ends slowly at 1.
-
EaseStep(float value, int steps, StepType stepType)floatA step easing method that starts at 0 and ends at 1.
stepsThe number of steps.
stepTypeThe calculation method of the step easing.
EaseSineOut(float value)floatA sinusoidal easing method that starts quickly at 0 and ends slowly at 1.
Elastic(float value, int oscillations, float stiffness)floatAn elastic easing method that starts at 0 and ends at 0.
-
Elastic(float value, int oscillations, float stiffness, out float extraValue)floatAn elastic easing method that starts at 0 and ends at 0.
oscillationsThe number of full oscillations.
stiffnessThe oscillation stiffness. The higher stiffness means the oscillation will reduce in intensity faster.
extraValueThe extra easing value.
-
Wave(float value, int waves)floatA wave easing method that starts at 0 and ends at 0.
wavesThe number of waves.