Trees | Indices | Toggle frames |
---|
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__).
TextureSequence |
get_texture_sequence(self)
Get a TextureSequence.
|
Animation |
get_animation(self,
period,
loop=True)
Create an animation over this image sequence for the given constant
framerate.
|
AbstractImage |
__getitem__(self,
slice)
Retrieve a (list of) image.
|
__setitem__(self,
slice,
image)
Replace one or more images in the sequence.
|
|
__len__(self) | |
Iterator |
__iter__(self)
Iterate over the images in sequence.
|
TextureSequence |
texture_sequence
Access this image sequence as a texture sequence.
|
Since: pyglet 1.1
Create an animation over this image sequence for the given constant framerate.
period
: floatloop
: boolSince: pyglet 1.1
Since: pyglet 1.1
Deprecated: Use get_texture_sequence
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:18 2009 | http://epydoc.sourceforge.net |