UniformTextureSequence Class

Inheritance diagram of UniformTextureSequence

class UniformTextureSequence

Interface for a sequence of textures, each with the same dimensions.

Variables:
  • item_width – Width of each texture in the sequence.
  • item_height – Height of each texture in the sequence.

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.

Attributes

UniformTextureSequence.item_height
UniformTextureSequence.item_width

Inherited members

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

Table Of Contents

Previous topic

TileableTexture Class

Next topic

ImageException