#include <OgreRotationAffector.h>
Inheritance diagram for Ogre::RotationAffector:
Public Member Functions | |
RotationAffector (ParticleSystem *psys) | |
Default constructor. | |
void | _initParticle (Particle *pParticle) |
See ParticleAffector. | |
void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
See ParticleAffector. | |
void | setRotationSpeedRangeStart (const Radian &angle) |
Sets the minimum rotation speed of particles to be emitted. | |
void | setRotationSpeedRangeStart (Real angle) |
void | setRotationSpeedRangeEnd (const Radian &angle) |
Sets the maximum rotation speed of particles to be emitted. | |
void | setRotationSpeedRangeEnd (Real angle) |
const Radian & | getRotationSpeedRangeStart (void) const |
Gets the minimum rotation speed of particles to be emitted. | |
const Radian & | getRotationSpeedRangeEnd (void) const |
Gets the maximum rotation speed of particles to be emitted. | |
void | setRotationRangeStart (const Radian &angle) |
Sets the minimum rotation angle of particles to be emitted. | |
void | setRotationRangeStart (Real angle) |
void | setRotationRangeEnd (const Radian &angle) |
Sets the maximum rotation angle of particles to be emitted. | |
void | setRotationRangeEnd (Real angle) |
const Radian & | getRotationRangeStart (void) const |
Gets the minimum rotation of particles to be emitted. | |
const Radian & | getRotationRangeEnd (void) const |
Gets the maximum rotation of particles to be emitted. | |
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. | |
Static Public Attributes | |
CmdRotationSpeedRangeStart | msRotationSpeedRangeStartCmd |
CmdRotationSpeedRangeEnd | msRotationSpeedRangeEndCmd |
CmdRotationRangeStart | msRotationRangeStartCmd |
CmdRotationRangeEnd | msRotationRangeEndCmd |
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 | |
Radian | mRotationSpeedRangeStart |
Initial rotation speed of particles (range start). | |
Radian | mRotationSpeedRangeEnd |
Initial rotation speed of particles (range end). | |
Radian | mRotationRangeStart |
Initial rotation angle of particles (range start). | |
Radian | mRotationRangeEnd |
Initial rotation angle of particles (range end). | |
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 41 of file OgreRotationAffector.h.
|
Default constructor.
|
|
See ParticleAffector.
Implements Ogre::ParticleAffector. |
|
See ParticleAffector.
Reimplemented from Ogre::ParticleAffector. |
|
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.
|
|
Gets the maximum rotation of particles to be emitted.
|
|
Gets the minimum rotation of particles to be emitted.
|
|
Gets the maximum rotation speed of particles to be emitted.
|
|
Gets the minimum rotation speed of particles to be emitted.
|
|
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.
|
|
Definition at line 117 of file OgreRotationAffector.h. References Ogre::Real. |
|
Sets the maximum rotation angle of particles to be emitted.
|
|
Definition at line 110 of file OgreRotationAffector.h. References Ogre::Real. |
|
Sets the minimum rotation angle of particles to be emitted.
|
|
Definition at line 97 of file OgreRotationAffector.h. References Ogre::Real. |
|
Sets the maximum rotation speed of particles to be emitted.
|
|
Definition at line 90 of file OgreRotationAffector.h. References Ogre::Real. |
|
Sets the minimum rotation speed of particles to be emitted.
|
|
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. |
|
Initial rotation angle of particles (range end).
Definition at line 139 of file OgreRotationAffector.h. |
|
Initial rotation angle of particles (range start).
Definition at line 137 of file OgreRotationAffector.h. |
|
Initial rotation speed of particles (range end).
Definition at line 135 of file OgreRotationAffector.h. |
|
Initial rotation speed of particles (range start).
Definition at line 133 of file OgreRotationAffector.h. |
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
Definition at line 129 of file OgreRotationAffector.h. |
|
Definition at line 128 of file OgreRotationAffector.h. |
|
Definition at line 127 of file OgreRotationAffector.h. |
|
Definition at line 126 of file OgreRotationAffector.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 Mar 12 14:50:11 2006