panda3d.physics.SpriteAnim

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

__init__(param0: SpriteAnim) → None
setSourceInfo(tex: str) → None
setSourceInfo(model: str, node: str) → None
getSourceType() → SourceType
Return type

SourceType

getTexSource() → str
getModelSource() → str
getNodeSource() → str
getNumFrames() → int
enum SourceType
enumerator ST_texture = 0
enumerator ST_from_node = 1