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) → None
getModelSource() → str
getNodeSource() → str
getNumFrames() → int
getSourceType() → SourceType
Return type


getTexSource() → str
setSourceInfo(tex: str) → None
setSourceInfo(model: str, node: str) → None