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.
This field is only visible from within internal.
This field is only visible from within internal.
The iteration duration of this animation in seconds. (length)
The animation's playback speed. 1 is normal playback speed.
The current accumulated time of this animation in seconds.
The weight.
The clip that is being played by this animation state.
Gets the time progress, in seconds.
This method is used for internal purpose only.
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.
Gets the playback ratio.
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.
This method is used for internal purpose only.
Whether LastFrame
should be triggered.
True if the last frame events may be triggered. This method is only used for internal purpose only.
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.