May be null
due to failed to initialize.
Mark whether the current frame is played. When set new time to animation state, we should ensure the frame at the specified time being played at next update.
The iteration duration of this animation in seconds. (length)
The animation's playback speed. 1 is normal playback speed.
The current time of this animation in seconds.
The weight.
The clip that is being played by this animation state.
The start delay which represents the number of seconds from an animation's start time to the start of the active interval.
The start delay which represents the number of seconds from an animation's start time to the start of the active interval.
Whether if this Playable
has been paused or stopped.
Whether if this Playable
has been paused. This can be true even if in edit mode(isPlaying == false).
Whether if this Playable
is in playing.
The name of the playing animation.
The animation's iteration count property.
A real number greater than or equal to zero (including positive infinity) representing the number of times to repeat the animation node.
Values less than zero and NaN values are treated as the value 1.0 for the purpose of timing model calculations.
The animation's iteration count property.
A real number greater than or equal to zero (including positive infinity) representing the number of times to repeat the animation node.
Values less than zero and NaN values are treated as the value 1.0 for the purpose of timing model calculations.
Whether LastFrame
should be triggered.
True if the last frame events may be triggered.
Pause this animation.
Play this animation.
Resume this animation.
Perform a single frame step.
Stop this animation.
Generated using TypeDoc
The AnimationState gives full control over animation playback process. In most cases the Animation Component is sufficient and easier to use. Use the AnimationState if you need full control.