Skip to content

EasingMode

Used in NPC.PlayTimeline function calls to set the interpolation between the last and current keys.

Constants

Constant Name Usage Description Notes
Linear string EasingMode.Linear Interpolate linearly (ie in a straight line) between two points.
EaseInOut string EasingMode.EaseInOut Ease in to and out of the movement, ie move using acceleration and deceleration.
EaseIn string EasingMode.EaseIn Ease in to movement, ie start to move using acceleration and then a hard stop.
EaseOut string EasingMode.EaseOut Ease out of the movement. ie start moving instantly but come to a gradual rest.