#include <OgreParticleAffectorFactory.h>
Inheritance diagram for Ogre::ParticleAffectorFactory:
Public Methods | |
ParticleAffectorFactory () | |
virtual | ~ParticleAffectorFactory () |
virtual String | getName ()=0 |
Returns the name of the factory, the name which identifies the particle affector type this factory creates. More... | |
virtual ParticleAffector * | createAffector (void)=0 |
Creates a new affector instance. More... | |
virtual void | destroyAffector (ParticleAffector *e) |
Destroys the affector pointed to by the parameter (for early clean up if reauired). More... | |
Protected Attributes | |
std::vector< ParticleAffector * > | mAffectors |
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.
|
|
|
|
|
Creates a new affector instance.
Implemented in Ogre::ColourFaderAffectorFactory. |
|
Destroys the affector pointed to by the parameter (for early clean up if reauired).
|
|
Returns the name of the factory, the name which identifies the particle affector type this factory creates.
Implemented in Ogre::ColourFaderAffectorFactory. |
|
|
Copyright © 2002 by The OGRE Team