Panda3D
|
renders a line from last position to current position -- good for rain, sparks, etc. More...
#include "lineParticleRenderer.h"
Public Member Functions | |
LineParticleRenderer () | |
Default Constructor. | |
LineParticleRenderer (const LineParticleRenderer ©) | |
Copy Constructor. | |
LineParticleRenderer (const LColor &head, const LColor &tail, ParticleRendererAlphaMode alpha_mode) | |
Constructor. | |
virtual | ~LineParticleRenderer () |
Destructor. | |
const LColor & | get_head_color () const |
PN_stdfloat | get_line_scale_factor () const |
accessor | |
const LColor & | get_tail_color () 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_head_color (const LColor &c) |
void | set_line_scale_factor (PN_stdfloat sf) |
accessor | |
void | set_tail_color (const LColor &c) |
virtual void | write (ostream &out, int indent_level=0) const |
Write a string representation of this instance to <out>. |
renders a line from last position to current position -- good for rain, sparks, etc.
Definition at line 33 of file lineParticleRenderer.h.
LineParticleRenderer::LineParticleRenderer | ( | ) |
Default Constructor.
Definition at line 32 of file lineParticleRenderer.cxx.
Referenced by make_copy().
LineParticleRenderer::LineParticleRenderer | ( | const LineParticleRenderer & | copy | ) |
Copy Constructor.
Definition at line 64 of file lineParticleRenderer.cxx.
LineParticleRenderer::LineParticleRenderer | ( | const LColor & | head, |
const LColor & | tail, | ||
ParticleRendererAlphaMode | alpha_mode | ||
) |
Constructor.
Definition at line 48 of file lineParticleRenderer.cxx.
LineParticleRenderer::~LineParticleRenderer | ( | ) | [virtual] |
Destructor.
Definition at line 79 of file lineParticleRenderer.cxx.
PN_stdfloat LineParticleRenderer::get_line_scale_factor | ( | ) | const [inline] |
accessor
Definition at line 65 of file lineParticleRenderer.I.
BaseParticleRenderer * LineParticleRenderer::make_copy | ( | ) | [virtual] |
child virtual for spawning systems
Implements BaseParticleRenderer.
Definition at line 89 of file lineParticleRenderer.cxx.
References LineParticleRenderer().
void LineParticleRenderer::output | ( | ostream & | out | ) | const [virtual] |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleRenderer.
Definition at line 260 of file lineParticleRenderer.cxx.
void LineParticleRenderer::set_line_scale_factor | ( | PN_stdfloat | sf | ) | [inline] |
accessor
Definition at line 56 of file lineParticleRenderer.I.
void LineParticleRenderer::write | ( | ostream & | out, |
int | indent_level = 0 |
||
) | const [virtual] |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleRenderer.
Definition at line 273 of file lineParticleRenderer.cxx.