Inheritance diagram for osgParticle::ParticleSystemUpdater:
Public Methods | |
ParticleSystemUpdater () | |
ParticleSystemUpdater (const ParticleSystemUpdater ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Node (osgParticle, ParticleSystemUpdater) | |
int | numParticleSystems () const |
Return the number of particle systems on the list. | |
void | addParticleSystem (ParticleSystem *ps) |
Add a particle system to the list. | |
const ParticleSystem * | getParticleSystem (int i) const |
Get a const particle system from the list. | |
ParticleSystem * | getParticleSystem (int i) |
Get a particle system from the list. | |
int | findParticleSystem (ParticleSystem *ps) const |
Find a particle system. | |
void | removeParticleSystem (int i) |
Remove a particle system from the list (by index). | |
bool | removeParticleSystem (ParticleSystem *ps) |
Remove a particle system from the list (by pointer). | |
virtual void | traverse (osg::NodeVisitor &nv) |
Traverse downwards : calls children's accept method with NodeVisitor. | |
Protected Methods | |
virtual | ~ParticleSystemUpdater () |
ParticleSystemUpdater & | operator= (const ParticleSystemUpdater &) |
virtual const bool | computeBound () const |
Compute the bounding sphere around Node's geometry or children. |
When a ParticleSystemUpdater
is traversed by a cull visitor, it calls the update()
method on the specified particle systems. You should place this updater <U>AFTER</U> other nodes like emitters and programs.
|
|
|
|
|
|
|
Add a particle system to the list.
|
|
Compute the bounding sphere around Node's geometry or children. This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). Reimplemented from osg::Node. |
|
Find a particle system.
|
|
Get a particle system from the list.
|
|
Get a const particle system from the list.
|
|
|
|
Return the number of particle systems on the list.
|
|
|
|
Remove a particle system from the list (by pointer).
|
|
Remove a particle system from the list (by index).
|
|
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Node. |