Height of a single frame in the sprite sheet, in pixels.
Ordered array of frame indices into the sprite sheet. Indices are numbered left-to-right, top-to-bottom starting at 0.
Width of a single frame in the sprite sheet, in pixels.
OptionalloopWhether the animation loops. Defaults to true.
Playback speed in frames per second.
Configuration for creating a SpriteAnimation.
Example