Panda3D
Public Types | Public Member Functions

SparkleParticleRenderer Class Reference

pretty sparkly things. More...

#include "sparkleParticleRenderer.h"

Inheritance diagram for SparkleParticleRenderer:
BaseParticleRenderer ReferenceCount MemoryBase

List of all members.

Public Types

enum  SparkleParticleLifeScale { SP_NO_SCALE, SP_SCALE }

Public Member Functions

 SparkleParticleRenderer ()
 Default Constructor.
 SparkleParticleRenderer (const SparkleParticleRenderer &copy)
 Copy Constructor.
 SparkleParticleRenderer (const LColor &center, 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 LColorget_center_color () const
PN_stdfloat get_death_radius () const
const LColorget_edge_color () const
SparkleParticleLifeScale get_life_scale () 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_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>.

Detailed Description

pretty sparkly things.

Definition at line 36 of file sparkleParticleRenderer.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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