#include <OgreParticleEmitterFactory.h>
Inheritance diagram for Ogre::ParticleEmitterFactory:
Public Methods | |
ParticleEmitterFactory () | |
virtual | ~ParticleEmitterFactory () |
virtual String | getName ()=0 |
Returns the name of the factory, the name which identifies the particle emitter type this factory creates. More... | |
virtual ParticleEmitter * | createEmitter (void)=0 |
Creates a new emitter instance. More... | |
virtual void | destroyEmitter (ParticleEmitter *e) |
Destroys the emitter pointed to by the parameter (for early clean up if reauired). More... | |
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.
|
|
|
|
|
Creates a new emitter instance.
Implemented in Ogre::BoxEmitterFactory. |
|
Destroys the emitter pointed to by the parameter (for early clean up if reauired).
|
|
Returns the name of the factory, the name which identifies the particle emitter type this factory creates.
Implemented in Ogre::BoxEmitterFactory. |
|
|
Copyright © 2002 by The OGRE Team