Abstract class defining the interface to be implemented by creators of ParticleAffector subclasses.
More...
#include <OgreParticleAffectorFactory.h>
Abstract class defining the interface to be implemented by creators of ParticleAffector subclasses.
- ParticleAffectorFactory subclasses must allow the creation and destruction of ParticleAffector subclasses. They must also be registered with the ParticleSystemManager. All factories have a name which identifies them, examples might be 'force_vector', 'attractor', or 'fader', and these can be also be used from particle system scripts.
Ogre::ParticleAffectorFactory::ParticleAffectorFactory |
( |
| ) |
|
|
inline |
virtual Ogre::ParticleAffectorFactory::~ParticleAffectorFactory |
( |
| ) |
|
|
virtual |
virtual String Ogre::ParticleAffectorFactory::getName |
( |
| ) |
const |
|
pure virtual |
Returns the name of the factory, the name which identifies the particle affector type this factory creates.
Creates a new affector instance.
virtual void Ogre::ParticleAffectorFactory::destroyAffector |
( |
ParticleAffector * |
e | ) |
|
|
virtual |
Destroys the affector pointed to by the parameter (for early clean up if required).
The documentation for this class was generated from the following file: