Ease
namespace Griff;
public static class EaseEasing curves for tweens: each maps progress 0–1 to an eased 0–1 (some briefly overshoot, like OutBack). Pass one to Tween, MoveTo and friends, or write your own.
Methods
Section titled “Methods”public static Func<float, float> Of(Easing easing)The curve easing names.
Fields
Section titled “Fields”InBack
Section titled “InBack”public static readonly Func<float, float> InBackPulls back a little, then goes.
InCubic
Section titled “InCubic”public static readonly Func<float, float> InCubicInOutCubic
Section titled “InOutCubic”public static readonly Func<float, float> InOutCubicInOutQuad
Section titled “InOutQuad”public static readonly Func<float, float> InOutQuadInOutSine
Section titled “InOutSine”public static readonly Func<float, float> InOutSineInQuad
Section titled “InQuad”public static readonly Func<float, float> InQuadLinear
Section titled “Linear”public static readonly Func<float, float> LinearOutBack
Section titled “OutBack”public static readonly Func<float, float> OutBackOvershoots the target a little, then settles. Good for things popping into place.
OutBounce
Section titled “OutBounce”public static readonly Func<float, float> OutBounceLands like a dropped ball.
OutCubic
Section titled “OutCubic”public static readonly Func<float, float> OutCubicOutElastic
Section titled “OutElastic”public static readonly Func<float, float> OutElasticSprings past the target and wobbles to rest.
OutQuad
Section titled “OutQuad”public static readonly Func<float, float> OutQuad