Abstract sequence of images.
The sequence is useful for storing image animations or slices of a volume. For efficient access, use the texture_sequence member. The class also implements the sequence interface (__len__, __getitem__, __setitem__).
Methods:
get_animation(period[, loop]) Create an animation over this image sequence for the given constant framerate. get_texture_sequence() Get a TextureSequence.
Attributes:
texture_sequence Access this image sequence as a texture sequence.
Create an animation over this image sequence for the given constant framerate.
Return type: | Animation |
---|
Note
Since pyglet 1.1
Get a TextureSequence.
Return type: | TextureSequence |
---|
Note
Since pyglet 1.1