Panda3D
|
pretty sparkly things. More...
#include "sparkleParticleRenderer.h"
Public Types | |
enum | SparkleParticleLifeScale { SP_NO_SCALE, SP_SCALE } |
Public Member Functions | |
SparkleParticleRenderer () | |
Default Constructor. | |
SparkleParticleRenderer (const SparkleParticleRenderer ©) | |
Copy Constructor. | |
SparkleParticleRenderer (const Colorf ¢er, const Colorf &edge, float birth_radius, float death_radius, SparkleParticleLifeScale life_scale, ParticleRendererAlphaMode alpha_mode) | |
Constructor. | |
virtual | ~SparkleParticleRenderer () |
Destructor. | |
float | get_birth_radius () const |
const Colorf & | get_center_color () const |
float | get_death_radius () const |
const Colorf & | get_edge_color () const |
SparkleParticleLifeScale | get_life_scale () const |
virtual BaseParticleRenderer * | make_copy () |
child virtual for spawning systems | |
virtual void | output (ostream &out) const |
Write a string representation of this instance to <out>. | |
void | set_birth_radius (float radius) |
void | set_center_color (const Colorf &c) |
void | set_death_radius (float radius) |
void | set_edge_color (const Colorf &c) |
void | set_life_scale (SparkleParticleLifeScale) |
virtual void | write (ostream &out, int indent_level=0) const |
Write a string representation of this instance to <out>. |
pretty sparkly things.
Definition at line 36 of file sparkleParticleRenderer.h.
SparkleParticleRenderer::SparkleParticleRenderer | ( | ) |
Default Constructor.
Definition at line 31 of file sparkleParticleRenderer.cxx.
Referenced by make_copy().
SparkleParticleRenderer::SparkleParticleRenderer | ( | const SparkleParticleRenderer & | copy | ) |
Copy Constructor.
Definition at line 63 of file sparkleParticleRenderer.cxx.
SparkleParticleRenderer::SparkleParticleRenderer | ( | const Colorf & | center, |
const Colorf & | edge, | ||
float | birth_radius, | ||
float | death_radius, | ||
SparkleParticleLifeScale | life_scale, | ||
ParticleRendererAlphaMode | alpha_mode | ||
) |
Constructor.
Definition at line 46 of file sparkleParticleRenderer.cxx.
SparkleParticleRenderer::~SparkleParticleRenderer | ( | ) | [virtual] |
Destructor.
Definition at line 80 of file sparkleParticleRenderer.cxx.
BaseParticleRenderer * SparkleParticleRenderer::make_copy | ( | ) | [virtual] |
child virtual for spawning systems
Implements BaseParticleRenderer.
Definition at line 89 of file sparkleParticleRenderer.cxx.
References SparkleParticleRenderer().
void SparkleParticleRenderer::output | ( | ostream & | out | ) | const [virtual] |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleRenderer.
Definition at line 290 of file sparkleParticleRenderer.cxx.
void SparkleParticleRenderer::write | ( | ostream & | out, |
int | indent_level = 0 |
||
) | const [virtual] |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleRenderer.
Definition at line 303 of file sparkleParticleRenderer.cxx.