#include <OgreParticleAffector.h>
Inheritance diagram for Ogre::ParticleAffector:

Public Member Functions | |
| ParticleAffector (ParticleSystem *parent) | |
| virtual | ~ParticleAffector () |
| Virtual destructor essential. | |
| virtual void | _initParticle (Particle *pParticle) |
| Method called to allow the affector to initialize all newly created particles in the system. | |
| virtual void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed)=0 |
| Method called to allow the affector to 'do it's stuff' on all active particles in the system. | |
| const String & | getType (void) const |
| Returns the name of the type of affector. | |
| ParamDictionary * | getParamDictionary (void) |
| Retrieves the parameter dictionary for this class. | |
| const ParamDictionary * | getParamDictionary (void) const |
| const ParameterList & | getParameters (void) const |
| Retrieves a list of parameters valid for this object. | |
| virtual bool | setParameter (const String &name, const String &value) |
| Generic parameter setting method. | |
| virtual void | setParameterList (const NameValuePairList ¶mList) |
| Generic multiple parameter setting method. | |
| virtual String | getParameter (const String &name) const |
| Generic parameter retrieval method. | |
| virtual void | copyParametersTo (StringInterface *dest) const |
| Method for copying this object's parameters to another object. | |
Static Public Member Functions | |
| void | cleanupDictionary () |
| Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. | |
Protected Member Functions | |
| void | addBaseParameters (void) |
| Internal method for setting up the basic parameter definitions for a subclass. | |
| bool | createParamDictionary (const String &className) |
| Internal method for creating a parameter dictionary for the class, if it does not already exist. | |
Protected Attributes | |
| String | mType |
| Name of the type of affector, MUST be initialised by subclasses. | |
| ParticleSystem * | mParent |
| String | mParamDictName |
| Class name for this instance to be used as a lookup (must be initialised by subclasses). | |
Static Protected Attributes | |
| ParamDictionaryMap | msDictionary |
| Dictionary of parameters. | |
Definition at line 54 of file OgreParticleAffector.h.
|
|
Definition at line 72 of file OgreParticleAffector.h. |
|
|
Virtual destructor essential.
|
|
||||||||||||
|
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
Implemented in Ogre::ColourFaderAffector, Ogre::ColourFaderAffector2, Ogre::ColourImageAffector, Ogre::ColourInterpolatorAffector, Ogre::LinearForceAffector, Ogre::RotationAffector, and Ogre::ScaleAffector. |
|
|
Method called to allow the affector to initialize all newly created particles in the system.
Reimplemented in Ogre::ColourImageAffector, and Ogre::RotationAffector. Definition at line 85 of file OgreParticleAffector.h. |
|
|
Internal method for setting up the basic parameter definitions for a subclass.
Definition at line 68 of file OgreParticleAffector.h. |
|
|
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. MaterialManager) initializes. |
|
|
Method for copying this object's parameters to another object.
Definition at line 296 of file OgreStringInterface.h. References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter(). |
|
|
Internal method for creating a parameter dictionary for the class, if it does not already exist.
Definition at line 172 of file OgreStringInterface.h. References Ogre::String. |
|
|
Definition at line 209 of file OgreStringInterface.h. |
|
|
Retrieves the parameter dictionary for this class.
Definition at line 196 of file OgreStringInterface.h. |
|
|
Generic parameter retrieval method.
Definition at line 265 of file OgreStringInterface.h. References Ogre::ParamCommand::doGet(), Ogre::ParamDictionary::getParamCommand(), and Ogre::String. |
|
|
Retrieves a list of parameters valid for this object.
|
|
|
Returns the name of the type of affector.
Definition at line 104 of file OgreParticleAffector.h. References Ogre::String. |
|
||||||||||||
|
Generic parameter setting method.
Referenced by Ogre::StringInterface::copyParametersTo(). |
|
|
Generic multiple parameter setting method.
|
|
|
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 160 of file OgreStringInterface.h. |
|
|
Definition at line 70 of file OgreParticleAffector.h. |
|
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
|
Name of the type of affector, MUST be initialised by subclasses.
Definition at line 58 of file OgreParticleAffector.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:37:57 2005