Api LoopMode
enum

LoopMode

public sealed enum LoopMode : Enum

The different loop modes for sprite animation.

Enum Values

Name Value Description
None The animation will play from start to finish and then stop.
Loop The animation will play from start to finish and then loop back to the start.
PingPong The animation will play from start to finish and then backwards from finish to start before looping.
Assembly: Sandbox.Engine Declaring Type: Sprite Full Name: Sandbox.Sprite.LoopMode