#include <OgreParticleEmitterFactory.h>
Inheritance diagram for Ogre::ParticleEmitterFactory:
Public Methods | |
ParticleEmitterFactory () | |
virtual | ~ParticleEmitterFactory () |
virtual String | getName () const=0 |
Returns the name of the factory, the name which identifies the particle emitter type this factory creates. | |
virtual ParticleEmitter * | createEmitter (void)=0 |
Creates a new emitter instance. | |
virtual void | destroyEmitter (ParticleEmitter *e) |
Destroys the emitter pointed to by the parameter (for early clean up if reauired). | |
Protected Attributes | |
std::vector< ParticleEmitter * > | mEmitters |
ParticleEmitterFactory subclasses must allow the creation and destruction of ParticleEmitter subclasses. They must also be registered with the ParticleSystemManager. All factories have a name which identifies them, examples might be 'point', 'cone', or 'box', and these can be also be used from particle system scripts.
Definition at line 46 of file OgreParticleEmitterFactory.h.
|
Definition at line 51 of file OgreParticleEmitterFactory.h. |
|
Definition at line 52 of file OgreParticleEmitterFactory.h. |
|
Creates a new emitter instance.
Implemented in Ogre::BoxEmitterFactory, Ogre::CylinderEmitterFactory, Ogre::EllipsoidEmitterFactory, Ogre::HollowEllipsoidEmitterFactory, Ogre::PointEmitterFactory, and Ogre::RingEmitterFactory. |
|
Destroys the emitter pointed to by the parameter (for early clean up if reauired).
Definition at line 75 of file OgreParticleEmitterFactory.h. |
|
Returns the name of the factory, the name which identifies the particle emitter type this factory creates.
Implemented in Ogre::BoxEmitterFactory, Ogre::CylinderEmitterFactory, Ogre::EllipsoidEmitterFactory, Ogre::HollowEllipsoidEmitterFactory, Ogre::PointEmitterFactory, and Ogre::RingEmitterFactory. Referenced by Ogre::ParticleSystemManager::addEmitterFactory(). |
|
Definition at line 49 of file OgreParticleEmitterFactory.h. |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:18:57 2004