Abstract class defining the interface to be implemented by creators of ParticleAffector2 subclasses.
More...
#include <OgreParticleAffector2.h>
Abstract class defining the interface to be implemented by creators of ParticleAffector2 subclasses.
- ParticleAffector2Factory subclasses must allow the creation and destruction of ParticleAffector2 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.
◆ ~ParticleAffectorFactory2()
virtual Ogre::ParticleAffectorFactory2::~ParticleAffectorFactory2 |
( |
| ) |
|
|
virtualdefault |
◆ createAffector()
Creates a new affector instance.
◆ getName()
virtual String Ogre::ParticleAffectorFactory2::getName |
( |
| ) |
const |
|
pure virtual |
Returns the name of the factory, the name which identifies the particle affector type this factory creates.
The documentation for this class was generated from the following file: