Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

particle_emitter_c Class Reference

Particle emitter class. More...

#include <particle.h>


Public Methods

 particle_emitter_c ()
 c'tor

virtual ~particle_emitter_c ()
 d'tor

void start ()
 < begin emission


Data Fields

float birthrate
 spawn this number of particles per sec

vec3_c minangles
 minimal angles: theta, phi, speed

int shape
 ES_*.

vec3_c scale
 size of emitter

vec3_c pos
 position of emitter

vec3_c lastpos
 position from last frame

float newparts
 number of particles to add

float duration
 duration of emission after start()


Protected Methods

void update ()
 < called by particle system


Protected Attributes

float lastupdate
 time of last update

float starttime
 emission start time

float endtime
 emission end time

particle_system_cpsystem
 the p. system the emitter belongs to


Detailed Description

Defines the emission behaviour of particles

Definition at line 161 of file particle.h.


The documentation for this class was generated from the following files:
Generated on Wed Dec 18 15:48:49 2002 for omicron engine by doxygen1.2.18