Interface for a sequence of textures.
Typical implementations store multiple TextureRegion s within one Texture so as to minimise state changes.
get_animation(period[, loop]) Create an animation over this image sequence for the given constant framerate. get_texture_sequence()
texture_sequence Access this image sequence as a texture sequence.
- TextureSequence.get_animation(period, loop=True)
Create an animation over this image sequence for the given constant framerate.
- period : float
- Number of seconds to display each frame.
- loop : bool
- If True, the animation will loop continuously.
Return type: Animation
Since pyglet 1.1
Access this image sequence as a texture sequence.
Deprecated. Use get_texture_sequence