Convenience class to make it easy to step through all particles in a ParticleSystem. More...
#include <OgreParticleIterator.h>
Public Member Functions | |
bool | end (void) |
Particle * | getNext (void) |
Returns a pointer to the next particle, and moves the iterator on by 1 element. | |
Protected Member Functions | |
ParticleIterator (list< Particle * >::type::iterator start, list< Particle * >::type::iterator end) | |
Protected constructor, only available from ParticleSystem::getIterator. | |
Protected Attributes | |
list< Particle * >::type::iterator | mPos |
list< Particle * >::type::iterator | mStart |
list< Particle * >::type::iterator | mEnd |
Friends | |
class | ParticleSystem |
Convenience class to make it easy to step through all particles in a ParticleSystem.
Definition at line 44 of file OgreParticleIterator.h.
Ogre::ParticleIterator::ParticleIterator | ( | list< Particle * >::type::iterator | start, | |
list< Particle * >::type::iterator | end | |||
) | [protected] |
Protected constructor, only available from ParticleSystem::getIterator.
bool Ogre::ParticleIterator::end | ( | void | ) |
Particle* Ogre::ParticleIterator::getNext | ( | void | ) |
Returns a pointer to the next particle, and moves the iterator on by 1 element.
friend class ParticleSystem [friend] |
Definition at line 46 of file OgreParticleIterator.h.
list<Particle*>::type::iterator Ogre::ParticleIterator::mEnd [protected] |
Definition at line 50 of file OgreParticleIterator.h.
list<Particle*>::type::iterator Ogre::ParticleIterator::mPos [protected] |
Definition at line 48 of file OgreParticleIterator.h.
list<Particle*>::type::iterator Ogre::ParticleIterator::mStart [protected] |
Definition at line 49 of file OgreParticleIterator.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:38:41 2012