ParticleSystemManager

Inheritance:

Methods of ParticleSystemManager:

ParticleSystemManager
ParticleSystemManager::ParticleSystemManager(int every_nth_frame = (1));

Description : default constructor

attachParticlesystem
void ParticleSystemManager::attach_particlesystem(ParticleSystem *ps);

Undocumented function.

clear
void ParticleSystemManager::clear(void);

Undocumented function.

doParticles
void ParticleSystemManager::do_particles(float dt);

Description : does an update and render for each ps in the list. this is probably the one you want to use. Rendering is the expensive operation, and particles REALLY should at least be updated every frame, so nth_frame stepping applies only to rendering.
Description : does an update and an optional render for a specific ps. Since rendering is the expensive operation, multiple updates could be applied before calling the final render.

getFrameStepping
int ParticleSystemManager::get_frame_stepping(void) const;

Undocumented function.

output
virtual void ParticleSystemManager::output(ostream &out) const;

Description : Write a string representation of this instance to <out>.

removeParticlesystem
void ParticleSystemManager::remove_particlesystem(ParticleSystem *ps);

Description : removes a ps from the maintenance list

setFrameStepping
void ParticleSystemManager::set_frame_stepping(int every_nth_frame);

Undocumented function.

write
virtual void ParticleSystemManager::write(ostream &out, int indent = (0)) const;

Description : Write a string representation of this instance to <out>.

writePsList
virtual void ParticleSystemManager::write_ps_list(ostream &out, int indent = (0)) const;

Description : Write a string representation of this instance to <out>.