API Referenceglobal
AnimationStateclass
Contains the state of a sprite instance's animation playback.
object→AnimationState
Constructors1
Showing 1 constructors
public AnimationState()
No results match this filter.
Methods2
Showing 2 methods
public void ResetState()
Reset the animation playback state to the beginning (first frame, no ping-pong, zero time-since).
Returns:
void—No results match this filter.
Properties1
Showing 1 properties
public bool Sandbox.Sprite.AnimationState.JustFinished { get; set; }
Returns true if the animation finished, looped, or ping-ponged after calling `Sandbox.Sprite.AnimationState.TryAdvanceFrame(Sandbox.Sprite.Animation,System.Single)`
Returns:
bool—No results match this filter.