API Referenceglobal
public class Sandbox.Sprite.AnimationState
Contains the state of a sprite instance's animation playback.
Constructors
Showing 1 constructors
public AnimationState()
No results match this filter.
Methods
Showing 2 methods
public void ResetState()
Reset the animation playback state to the beginning (first frame, no ping-pong, zero time-since).
No results match this filter.
Properties
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)`
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Sprite.AnimationState |