#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_c * | psystem |
| the p. system the emitter belongs to | |
Definition at line 161 of file particle.h.
1.2.18