Animationclass
Contains one or multiple frames that can be played in sequence.
Constructors1
Showing 1 constructors
public Animation()
No results match this filter.
Properties10
Showing 10 properties
public int Sandbox.Sprite.Animation.EffectiveLoopEnd { get; set; }
Returns the effective loop end frame index, resolving -1 to the last frame.
int—public int Sandbox.Sprite.Animation.EffectiveLoopStart { get; set; }
Returns the effective loop start frame index, resolving -1 to 0.
int—public float Sandbox.Sprite.Animation.FrameRate { get; set; }
The speed of the animation in frames per second.
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
bool—public int Sandbox.Sprite.Animation.LoopEnd { get; set; }
The frame index at which looping ends. A value of -1 means the last frame.
int—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.
public int Sandbox.Sprite.Animation.LoopStart { get; set; }
The frame index at which looping starts. A value of -1 means the first frame (0).
int—No results match this filter.