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 LColor ¢er, const LColor &edge, PN_stdfloat birth_radius, PN_stdfloat death_radius, SparkleParticleLifeScale life_scale, ParticleRendererAlphaMode alpha_mode) | |
Constructor. | |
virtual | ~SparkleParticleRenderer () |
Destructor. | |
PN_stdfloat | get_birth_radius () const |
const LColor & | get_center_color () const |
PN_stdfloat | get_death_radius () const |
const LColor & | 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 (PN_stdfloat radius) |
void | set_center_color (const LColor &c) |
void | set_death_radius (PN_stdfloat radius) |
void | set_edge_color (const LColor &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 LColor & | center, |
const LColor & | edge, | ||
PN_stdfloat | birth_radius, | ||
PN_stdfloat | 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.