Panda3D
|
Helper class used by SpriteParticleRenderer to keep track of its textures and their respective UVs and source types. More...
#include <pandadoc.hpp>
Public Types | |
enum | SourceType { ST_texture = 0 , ST_from_node = 1 } |
Public Member Functions | |
__init__ (const SpriteAnim) | |
str | getModelSource () |
str | getNodeSource () |
int | getNumFrames () |
SpriteAnim::SourceType | getSourceType () |
str | getTexSource () |
setSourceInfo (str model, str node) | |
setSourceInfo (str tex) | |
![]() | |
int | getRefCount () |
Returns the current reference count. More... | |
ref () | |
Explicitly increments the reference count. More... | |
bool | testRefCountIntegrity () |
Does some easy checks to make sure that the reference count isn't completely bogus. More... | |
bool | testRefCountNonzero () |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More... | |
bool | unref () |
Explicitly decrements the reference count. More... | |
Additional Inherited Members | |
![]() | |
static TypeHandle | getClassType () |
![]() | |
int | ref_count |
The current reference count. More... | |
Helper class used by SpriteParticleRenderer to keep track of its textures and their respective UVs and source types.
enum SourceType |
__init__ | ( | const | SpriteAnim | ) |
str getModelSource | ( | ) |
str getNodeSource | ( | ) |
int getNumFrames | ( | ) |
SpriteAnim::SourceType getSourceType | ( | ) |
str getTexSource | ( | ) |
setSourceInfo | ( | str | model, |
str | node | ||
) |
setSourceInfo | ( | str | tex | ) |