#include <OgreDeflectorPlaneAffector.h>
Inheritance diagram for Ogre::DeflectorPlaneAffector:
Public Member Functions | |
DeflectorPlaneAffector (ParticleSystem *psys) | |
Default constructor. | |
void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
See ParticleAffector. | |
void | setPlanePoint (const Vector3 &pos) |
Sets the plane point of the deflector plane. | |
Vector3 | getPlanePoint (void) const |
Gets the plane point of the deflector plane. | |
void | setPlaneNormal (const Vector3 &normal) |
Sets the plane normal of the deflector plane. | |
Vector3 | getPlaneNormal (void) const |
Gets the plane normal of the deflector plane. | |
void | setBounce (Real bounce) |
Sets the bounce value of the deflection. | |
Real | getBounce (void) const |
Gets the bounce value of the deflection. | |
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 | |
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 | |
CmdPlanePoint | msPlanePointCmd |
Command objects. | |
CmdPlaneNormal | msPlaneNormalCmd |
CmdBounce | msBounceCmd |
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 | |
Vector3 | mPlanePoint |
deflector plane point | |
Vector3 | mPlaneNormal |
deflector plane normal vector | |
Real | mBounce |
bounce factor (0.5 means 50 percent) | |
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 43 of file OgreDeflectorPlaneAffector.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, 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. |
|
Gets the bounce value of the deflection.
|
|
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 plane normal of the deflector plane.
|
|
Gets the plane point of the deflector plane.
|
|
Returns the name of the type of affector.
Definition at line 104 of file OgreParticleAffector.h. References Ogre::String. |
|
Sets the bounce value of the deflection.
|
|
Generic parameter setting method.
Referenced by Ogre::StringInterface::copyParametersTo(). |
|
Generic multiple parameter setting method.
|
|
Sets the plane normal of the deflector plane.
|
|
Sets the plane point of the deflector plane.
|
|
bounce factor (0.5 means 50 percent)
Definition at line 106 of file OgreDeflectorPlaneAffector.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. |
|
deflector plane normal vector
Definition at line 103 of file OgreDeflectorPlaneAffector.h. |
|
deflector plane point
Definition at line 101 of file OgreDeflectorPlaneAffector.h. |
|
Definition at line 97 of file OgreDeflectorPlaneAffector.h. |
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
Definition at line 96 of file OgreDeflectorPlaneAffector.h. |
|
Command objects.
Definition at line 95 of file OgreDeflectorPlaneAffector.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:49:30 2006