Panda3D
Public Member Functions
LineParticleRenderer Class Reference

renders a line from last position to current position -- good for rain, sparks, etc. More...

#include "lineParticleRenderer.h"

Inheritance diagram for LineParticleRenderer:
BaseParticleRenderer ReferenceCount MemoryBase

List of all members.

Public Member Functions

 LineParticleRenderer ()
 Default Constructor.
 LineParticleRenderer (const LineParticleRenderer &copy)
 Copy Constructor.
 LineParticleRenderer (const LColor &head, const LColor &tail, ParticleRendererAlphaMode alpha_mode)
 Constructor.
virtual ~LineParticleRenderer ()
 Destructor.
const LColorget_head_color () const
PN_stdfloat get_line_scale_factor () const
 accessor
const LColorget_tail_color () const
virtual BaseParticleRenderermake_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>.

Detailed Description

renders a line from last position to current position -- good for rain, sparks, etc.

Definition at line 33 of file lineParticleRenderer.h.


Constructor & Destructor Documentation

Default Constructor.

Definition at line 32 of file lineParticleRenderer.cxx.

Referenced by make_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.

Destructor.

Definition at line 79 of file lineParticleRenderer.cxx.


Member Function Documentation

PN_stdfloat LineParticleRenderer::get_line_scale_factor ( ) const [inline]

accessor

Definition at line 65 of file lineParticleRenderer.I.

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations