Interface for a sequence of textures, each with the same dimensions.
Variables: |
|
---|
Methods:
get_animation(period[, loop]) Create an animation over this image sequence for the given constant framerate. get_texture_sequence()
Attributes:
item_height item_width texture_sequence Access this image sequence as a texture sequence.
Methods
- UniformTextureSequence.get_animation(period, loop=True)
Create an animation over this image sequence for the given constant framerate.
- :Parameters
- period : float
- Number of seconds to display each frame.
- loop : bool
- If True, the animation will loop continuously.
Return type: Animation Note
Since pyglet 1.1
- UniformTextureSequence.get_texture_sequence()
Attributes
- UniformTextureSequence.texture_sequence
Access this image sequence as a texture sequence.
Warning
Deprecated. Use get_texture_sequence
Type: TextureSequence