The NGEasing type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
EaseIn |
Eases in.
| |
EaseInBackOut |
Softly eases in, then overshoots a little, bounces back a
little and comes to rest.
| |
EaseInOut |
Eases in, and eases out.
| |
EaseOnCurve(AnimationCurve, Single, Single, Single) |
Lets you ease a float value based on any animation curve. Usage
is pretty much the same as Mathf.Lerp() only that you also pass
an Animation curve as parameter.
| |
EaseOnCurve(AnimationCurve, Color, Color, Single) |
Lets you ease a Color based on any animation curve. Usage
is pretty much the same as Mathf.Lerp() only that you also pass
an Animation curve as parameter.
| |
EaseOnCurve(AnimationCurve, Vector3, Vector3, Single) |
Lets you ease a Vector3 based on any animation curve. Usage
is pretty much the same as Mathf.Lerp() only that you also pass
an Animation curve as parameter.
| |
EaseOut |
Eases out.
| |
Generic |
Generic easing for floats with any EaseType. Use this, if you want
to be able to configure the type of easing, e.g. as a public inspector
property.
| |
Lerp |
Simple linear interpolation. This gives you the same result as
Mathf.Lerp(from, to, t) and also clamps time between 0 and 1,
so you don't have to worry about values less than 0 or larger
than 1.
|
See Also