openscenegraph
|
Protected Member Functions | |
virtual | ~ParticleSystemUpdater () |
ParticleSystemUpdater & | operator= (const ParticleSystemUpdater &) |
![]() | |
virtual | ~Node () |
void | addParent (osg::Group *node) |
void | removeParent (osg::Group *node) |
void | setNumChildrenRequiringUpdateTraversal (unsigned int num) |
void | setNumChildrenRequiringEventTraversal (unsigned int num) |
void | setNumChildrenWithCullingDisabled (unsigned int num) |
void | setNumChildrenWithOccluderNodes (unsigned int num) |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
A useful node class for updating particle systems automatically. When a ParticleSystemUpdater is traversed by a cull visitor, it calls the update() method on the specified particle systems. You should place this updater AFTER other nodes like emitters and programs.
osgParticle::ParticleSystemUpdater::ParticleSystemUpdater | ( | ) |
osgParticle::ParticleSystemUpdater::ParticleSystemUpdater | ( | const ParticleSystemUpdater & | copy, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
|
inlineprotectedvirtual |
|
virtual |
Add a particle system to the list.
|
virtual |
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.
|
inline |
return true if ParticleSystem is contained within ParticlsSystemUpdater.
|
inline |
Return the number of particle systems on the list.
|
inline |
Get a particle system from the list.
|
inline |
Get a particle system from the list.
|
inline |
get index number of ParticleSystem.
osgParticle::ParticleSystemUpdater::META_Node | ( | osgParticle | , |
ParticleSystemUpdater | |||
) |
|
inlineprotected |
|
virtual |
Remove a particle system from the list (by pointer).
|
virtual |
Remove a particle system(s) from the list (by index).
|
virtual |
Replace ParticleSystem with another ParticleSystem.
|
virtual |
set a particle system by index.
|
virtual |
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Node.