API Referenceglobal
Animationclass
Contains one or multiple frames that can be played in sequence.
object→Animation
Constructors1
Showing 1 constructors
public Animation()
No results match this filter.
Properties6
Showing 6 properties
public float Sandbox.Sprite.Animation.FrameRate { get; set; }
The speed of the animation in frames per second.
Returns:
float—public System.Collections.Generic.List`1<Sandbox.Sprite.Frame> Sandbox.Sprite.Animation.Frames { get; set; }
A list of frames that make up the animation. Each frame is a texture that will be displayed in sequence.
public bool Sandbox.Sprite.Animation.IsAnimated { get; set; }
True if we have more than one frame
Returns:
bool—public Sandbox.Sprite.LoopMode Sandbox.Sprite.Animation.LoopMode { get; set; }
The loop mode of the animation. This determines what should happen when the animation reaches the final frame in playback.
No results match this filter.