from panda3d.physics import SpriteAnim
class SpriteAnim


Bases: ReferenceCount

Helper class used by SpriteParticleRenderer to keep track of its textures and their respective UVs and source types.

Inheritance diagram

Inheritance diagram of SpriteAnim

enum SourceType
enumerator ST_texture = 0
enumerator ST_from_node = 1
__init__(param0: SpriteAnim)
get_model_source() str
get_node_source() str
get_num_frames() int
get_source_type() SourceType
get_tex_source() str
set_source_info(tex: str)
set_source_info(model: str, node: str)