Skip to content

Class Easing

Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll

The easing functions (Robert Penner's set, written from the formulas).

public static class Easing

Inheritance

object ← Easing

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

Apply(Ease, double)

The eased progress for a time t from 0 to 1 (clamped to it). Apply(e, 0) is 0 and Apply(e, 1) is 1 exactly, for every curve. A curve with overshoot gives values below 0 or above 1 in between. NaN is taken as 0.

public static double Apply(Ease ease, double t)

Parameters

ease Ease

t double

Returns

double