Length of the animation in seconds.
Returns whether the animation was set to automatically play and loop.
If enabled, the animation will alternate between normal and reverse each time it loops.
Whether the animation plays in reverse.
Duplicates the AnimatedTextureFileProvider and returns the new copy. Can be used for playing the same animation at different offsets.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Sets the callback function to be called whenever the animation stops playing.
Controls an animated texture resource. Can be accessed from Texture.control on an animated texture. See also: 2D Animation Guide.
Example