#include <OgreDirectionRandomiserAffector.h>
Inheritance diagram for Ogre::DirectionRandomiserAffector:

Public Member Functions | |
| DirectionRandomiserAffector (ParticleSystem *psys) | |
| Default constructor. | |
| void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
| See ParticleAffector. | |
| void | setRandomness (Real force) |
| Sets the randomness to apply to the particles in a system. | |
| void | setScope (Real force) |
| Sets the scope (percentage of particles which are randomised). | |
| void | setKeepVelocity (bool keepVelocity) |
| Set flag which detemines whether particle speed is changed. | |
| Real | getRandomness (void) const |
| Gets the randomness to apply to the particles in a system. | |
| Real | getScope (void) const |
| Gets the scope (percentage of particles which are randomised). | |
| bool | getKeepVelocity (void) const |
| Gets flag which detemines whether particle speed is changed. | |
| virtual void | _initParticle (Particle *pParticle) |
| Method called to allow the affector to initialize all newly created 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 | |
| static 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. | |
Static Public Attributes | |
| static CmdRandomness | msRandomnessCmd |
| Command objects. | |
| static CmdScope | msScopeCmd |
| static CmdKeepVelocity | msKeepVelocityCmd |
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 | |
| Real | mRandomness |
| Real | mScope |
| bool | mKeepVelocity |
| 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 | |
| static ParamDictionaryMap | msDictionary |
| Dictionary of parameters. | |
Classes | |
| class | CmdKeepVelocity |
| Command object for keep_velocity (see ParamCommand). More... | |
| class | CmdRandomness |
| Command object for randomness (see ParamCommand). More... | |
| class | CmdScope |
| Command object for scope (see ParamCommand). More... | |
Definition at line 44 of file OgreDirectionRandomiserAffector.h.
|
|
Default constructor.
|
|
||||||||||||
|
See ParticleAffector.
Implements Ogre::ParticleAffector. |
|
|
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. |
|
|
Internal method for creating a parameter dictionary for the class, if it does not already exist.
Definition at line 172 of file OgreStringInterface.h. |
|
|
Gets flag which detemines whether particle speed is changed.
|
|
|
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::ParamDictionary::getParamCommand(). |
|
|
Retrieves a list of parameters valid for this object.
|
|
|
Gets the randomness to apply to the particles in a system.
|
|
|
Gets the scope (percentage of particles which are randomised).
|
|
|
Returns the name of the type of affector.
Definition at line 104 of file OgreParticleAffector.h. |
|
|
Set flag which detemines whether particle speed is changed.
|
|
||||||||||||
|
Generic parameter setting method.
|
|
|
Generic multiple parameter setting method.
|
|
|
Sets the randomness to apply to the particles in a system.
|
|
|
Sets the scope (percentage of particles which are randomised).
|
|
|
Definition at line 100 of file OgreDirectionRandomiserAffector.h. |
|
|
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. |
|
|
Definition at line 98 of file OgreDirectionRandomiserAffector.h. |
|
|
Definition at line 99 of file OgreDirectionRandomiserAffector.h. |
|
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
|
Definition at line 95 of file OgreDirectionRandomiserAffector.h. |
|
|
Command objects.
Definition at line 93 of file OgreDirectionRandomiserAffector.h. |
|
|
Definition at line 94 of file OgreDirectionRandomiserAffector.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

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jan 21 10:09:07 2007