Panda3D
|
Helper class used by SpriteParticleRenderer to keep track of its textures and their respective UVs and source types. More...
#include "spriteParticleRenderer.h"
Public Types | |
enum | SourceType { ST_texture, ST_from_node } |
Public Member Functions | |
SpriteAnim (Texture *t, LTexCoord ll, LTexCoord ur) | |
SpriteAnim (const TextureCollection &t, const pvector< LTexCoord > &lls, const pvector< LTexCoord > &urs) | |
Texture * | get_frame (const int n) const |
LTexCoord | get_ll (const int n) const |
string | get_model_source () const |
string | get_node_source () const |
int | get_num_frames () const |
SourceType | get_source_type () const |
string | get_tex_source () const |
LTexCoord | get_ur (const int n) const |
void | set_ll (const int n, LTexCoord c) |
void | set_source_info (const string &tex) |
void | set_source_info (const string &model, const string &node) |
void | set_ur (const int n, LTexCoord c) |
Helper class used by SpriteParticleRenderer to keep track of its textures and their respective UVs and source types.
Definition at line 76 of file spriteParticleRenderer.h.