EasingMode | CraytaKit
Skip to main content

EasingMode

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

Constants

Constant NameReturn TypeDescriptionTags
EasingMode.LinearnumberInterpolate linearly (ie in a straight line) between two points.None
EasingMode.EaseInOutnumberEase in to and out of the movement, ie move using acceleration and deceleration.None
EasingMode.EaseInnumberEase in to movement, ie start to move using acceleration and then a hard stop.None
EasingMode.EaseOutnumberEase out of the movement. ie start moving instantly but come to a gradual rest.None
© 2024 CraytaKit