#include <spriteParticleRenderer.h>
Inheritance diagram for SpriteParticleRenderer:
Private Member Functions | |
PT (GeomSprite) _sprite_primitive | |
virtual void | birth_particle (int index) |
virtual void | kill_particle (int index) |
virtual void | init_geoms (void) |
virtual void | render (pvector< PT(PhysicsObject) > &po_vector, int ttl_particles) |
virtual void | resize_pool (int new_size) |
SpriteParticleRenderer (const SpriteParticleRenderer ©) | |
virtual | ~SpriteParticleRenderer (void) |
virtual BaseParticleRenderer * | make_copy (void) |
INLINE SourceType | get_source_type () const |
void | set_from_node (const NodePath &node_path) |
INLINE void | set_texture (Texture *tex) |
INLINE void | set_ll_uv (const TexCoordf &ll_uv) |
INLINE void | set_ur_uv (const TexCoordf &ur_uv) |
INLINE void | set_color (const Colorf &color) |
INLINE void | set_x_scale_flag (bool animate_x_ratio) |
INLINE void | set_y_scale_flag (bool animate_y_ratio) |
INLINE void | set_anim_angle_flag (bool animate_theta) |
INLINE void | set_initial_x_scale (float initial_x_scale) |
INLINE void | set_final_x_scale (float final_x_scale) |
INLINE void | set_initial_y_scale (float initial_y_scale) |
INLINE void | set_final_y_scale (float final_y_scale) |
INLINE void | set_nonanimated_theta (float theta) |
INLINE void | set_alpha_blend_method (ParticleRendererBlendMethod bm) |
INLINE void | set_alpha_disable (bool ad) |
INLINE Texture * | get_texture (void) const |
INLINE const TexCoordf & | get_ll_uv () const |
INLINE const TexCoordf & | get_ur_uv () const |
INLINE Colorf | get_color (void) const |
INLINE bool | get_x_scale_flag (void) const |
INLINE bool | get_y_scale_flag (void) const |
INLINE bool | get_anim_angle_flag (void) const |
INLINE float | get_initial_x_scale (void) const |
INLINE float | get_final_x_scale (void) const |
INLINE float | get_initial_y_scale (void) const |
INLINE float | get_final_y_scale (void) const |
INLINE float | get_nonanimated_theta (void) const |
INLINE ParticleRendererBlendMethod | get_alpha_blend_method (void) const |
INLINE bool | get_alpha_disable (void) const |
Private Attributes | |
PUBLISHED | __pad0__: enum SourceType { ST_texture |
PUBLISHED | ST_from_node |
PTA_Vertexf | _vertex_array |
PTA_Colorf | _color_array |
PTA_float | _x_texel_array |
PTA_float | _y_texel_array |
PTA_float | _theta_array |
Colorf | _color |
float | _initial_x_texel_ratio |
float | _final_x_texel_ratio |
float | _initial_y_texel_ratio |
float | _final_y_texel_ratio |
float | _theta |
bool | _animate_x_ratio |
bool | _animate_y_ratio |
bool | _animate_theta |
ParticleRendererBlendMethod | _blend_method |
Vertexf | _aabb_min |
Vertexf | _aabb_max |
int | _pool_size |
SourceType | _source_type |
PUBLISHED | __pad1__: SpriteParticleRenderer(Texture *tex = (Texture *) NULL) |
|
Definition at line 56 of file spriteParticleRenderer.cxx. References _animate_theta, _animate_x_ratio, _animate_y_ratio, _blend_method, _color, _final_x_texel_ratio, _final_y_texel_ratio, _initial_x_texel_ratio, _initial_y_texel_ratio, _theta, and init_geoms(). Referenced by make_copy(). |
|
Definition at line 78 of file spriteParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 250 of file spriteParticleRenderer.cxx. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements BaseParticleRenderer. Definition at line 234 of file spriteParticleRenderer.cxx. References GeomNode::add_geom(), BaseParticleRenderer::get_render_node(), and GeomNode::remove_all_geoms(). Referenced by resize_pool(), and SpriteParticleRenderer(). |
|
Implements BaseParticleRenderer. Definition at line 259 of file spriteParticleRenderer.cxx. |
|
Implements BaseParticleRenderer. Definition at line 87 of file spriteParticleRenderer.cxx. References SpriteParticleRenderer(). |
|
|
|
|
Implements BaseParticleRenderer. Definition at line 176 of file spriteParticleRenderer.cxx. References _animate_theta, _animate_x_ratio, _animate_y_ratio, _color_array, _pool_size, _theta_array, _vertex_array, _x_texel_array, _y_texel_array, PointerToArray< Colorf >::empty_array(), PointerToArray< Vertexf >::empty_array(), PointerToArray< float >::empty_array(), G_OVERALL, G_PER_PRIM, GeomBindType, and init_geoms(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by set_from_node(). |
|
|
|
Referenced by set_from_node(). |
|
Referenced by set_from_node(). |
|
|
|
|
|
Reimplemented from BaseParticleRenderer. Definition at line 47 of file spriteParticleRenderer.h. |
|
Definition at line 83 of file spriteParticleRenderer.h. |
|
Definition at line 70 of file spriteParticleRenderer.h. Referenced by render(). |
|
Definition at line 70 of file spriteParticleRenderer.h. Referenced by render(). |
|
Definition at line 66 of file spriteParticleRenderer.h. Referenced by render(), resize_pool(), and SpriteParticleRenderer(). |
|
Definition at line 65 of file spriteParticleRenderer.h. Referenced by render(), resize_pool(), and SpriteParticleRenderer(). |
|
Definition at line 65 of file spriteParticleRenderer.h. Referenced by render(), resize_pool(), and SpriteParticleRenderer(). |
|
Definition at line 68 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 59 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 54 of file spriteParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 61 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 62 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 61 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 62 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 72 of file spriteParticleRenderer.h. Referenced by resize_pool(). |
|
Definition at line 73 of file spriteParticleRenderer.h. Referenced by set_from_node(). |
|
Definition at line 63 of file spriteParticleRenderer.h. Referenced by render(), and SpriteParticleRenderer(). |
|
Definition at line 57 of file spriteParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 53 of file spriteParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 55 of file spriteParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 56 of file spriteParticleRenderer.h. Referenced by render(), and resize_pool(). |
|
Definition at line 47 of file spriteParticleRenderer.h. Referenced by set_from_node(). |