A useful node class for updating particle systems automatically.
Inheritance:
Public Methods
-
ParticleSystemUpdater()
-
ParticleSystemUpdater(const ParticleSystemUpdater ©, const osg::CopyOp ©op = osg::CopyOp::SHALLOW_COPY)
-
META_Node(osgParticle, ParticleSystemUpdater)
-
virtual void traverse(osg::NodeVisitor &nv)
-
inline bool computeBound() const
-
inline bool addParticleSystem(ParticleSystem* ps)
- Add a particle system to the list
-
inline bool removeParticleSystem(ParticleSystem* ps)
- Remove a particle system from the list (by pointer)
-
inline bool removeParticleSystem(unsigned int pos, unsigned int numParticleSystemsToRemove)
- Remove a particle system(s) from the list (by index)
-
inline bool replaceParticleSystem( ParticleSystem* origPS, ParticleSystem* newPS )
- Replace ParticleSystem with another ParticleSystem
-
inline bool setParticleSystem( unsigned int i, ParticleSystem* ps )
- set a particle system by index
-
inline unsigned int getNumParticleSystems() const
- Return the number of particle systems on the list
-
inline ParticleSystem* getParticleSystem(unsigned int i)
- Get a particle system from the list
-
inline const ParticleSystem* getParticleSystem(unsigned int i) const
- Get a particle system from the list
-
inline bool containsParticleSystem( const ParticleSystem* ps ) const
- return true if ParticleSystem is contained within ParticlsSystemUpdater
-
inline unsigned int getParticleSystemIndex( const ParticleSystem* ps ) const
- get index number of ParticleSystem
Protected Methods
-
virtual ~ParticleSystemUpdater()
-
ParticleSystemUpdater& operator=(const ParticleSystemUpdater &)
-
inline virtual bool computeBound() const
Documentation
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.
- ParticleSystemUpdater()
- ParticleSystemUpdater(const ParticleSystemUpdater ©, const osg::CopyOp ©op = osg::CopyOp::SHALLOW_COPY)
- META_Node(osgParticle, ParticleSystemUpdater)
- virtual void traverse(osg::NodeVisitor &nv)
- virtual ~ParticleSystemUpdater()
- ParticleSystemUpdater& operator=(const ParticleSystemUpdater &)
- inline virtual bool computeBound() const
- inline bool computeBound() const
- inline bool addParticleSystem(ParticleSystem* ps)
- Add a particle system to the list
- inline bool removeParticleSystem(ParticleSystem* ps)
- Remove a particle system from the list (by pointer)
- inline bool removeParticleSystem(unsigned int pos, unsigned int numParticleSystemsToRemove)
- Remove a particle system(s) from the list (by index)
- inline bool replaceParticleSystem( ParticleSystem* origPS, ParticleSystem* newPS )
- Replace ParticleSystem with another ParticleSystem
- inline bool setParticleSystem( unsigned int i, ParticleSystem* ps )
- set a particle system by index
- inline unsigned int getNumParticleSystems() const
- Return the number of particle systems on the list
- inline ParticleSystem* getParticleSystem(unsigned int i)
- Get a particle system from the list
- inline const ParticleSystem* getParticleSystem(unsigned int i) const
- Get a particle system from the list
- inline bool containsParticleSystem( const ParticleSystem* ps ) const
- return true if ParticleSystem is contained within ParticlsSystemUpdater
- inline unsigned int getParticleSystemIndex( const ParticleSystem* ps ) const
- get index number of ParticleSystem
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.