NGEasing MembersScoreFlash API Documentation V4.6.0

The NGEasing type exposes the following members.
Methods

  NameDescription
Public methodStatic memberEaseIn
Eases in.
Public methodStatic memberEaseInBackOut
Softly eases in, then overshoots a little, bounces back a little and comes to rest.
Public methodStatic memberEaseInOut
Eases in, and eases out.
Public methodStatic memberEaseOnCurve(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.
Public methodStatic memberEaseOnCurve(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.
Public methodStatic memberEaseOnCurve(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.
Public methodStatic memberEaseOut
Eases out.
Public methodStatic memberGeneric
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.
Public methodStatic memberLerp
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.
Back to Top
See Also