Abstract class defining the interface to be implemented by creators of ParticleEmitter subclasses.
More...
#include <OgreParticleEmitterFactory.h>
Abstract class defining the interface to be implemented by creators of ParticleEmitter subclasses.
- 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.
◆ ParticleEmitterFactory()
Ogre::ParticleEmitterFactory::ParticleEmitterFactory |
( |
| ) |
|
|
inline |
◆ ~ParticleEmitterFactory()
virtual Ogre::ParticleEmitterFactory::~ParticleEmitterFactory |
( |
| ) |
|
|
virtual |
◆ getName()
virtual String Ogre::ParticleEmitterFactory::getName |
( |
| ) |
const |
|
pure virtual |
Returns the name of the factory, the name which identifies the particle emitter type this factory creates.
◆ createEmitter()
Creates a new emitter instance.
◆ destroyEmitter()
virtual void Ogre::ParticleEmitterFactory::destroyEmitter |
( |
ParticleEmitter * |
e | ) |
|
|
virtual |
Destroys the emitter pointed to by the parameter (for early clean up if required).
The documentation for this class was generated from the following file: