#include <OgreColourFaderAffector2.h>
Inheritance diagram for Ogre::ColourFaderAffector2:

Public Member Functions | |
| ColourFaderAffector2 (ParticleSystem *psys) | |
| Default constructor. | |
| void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
| See ParticleAffector. | |
| void | setAdjust1 (float red, float green, float blue, float alpha=0.0) |
| Sets the colour adjustment to be made per second to particles. | |
| void | setAdjust2 (float red, float green, float blue, float alpha=0.0) |
| void | setRedAdjust1 (float red) |
| Sets the red adjustment to be made per second to particles. | |
| void | setRedAdjust2 (float red) |
| float | getRedAdjust1 (void) const |
| Gets the red adjustment to be made per second to particles. | |
| float | getRedAdjust2 (void) const |
| void | setGreenAdjust1 (float green) |
| Sets the green adjustment to be made per second to particles. | |
| void | setGreenAdjust2 (float green) |
| float | getGreenAdjust1 (void) const |
| Gets the green adjustment to be made per second to particles. | |
| float | getGreenAdjust2 (void) const |
| void | setBlueAdjust1 (float blue) |
| Sets the blue adjustment to be made per second to particles. | |
| void | setBlueAdjust2 (float blue) |
| float | getBlueAdjust1 (void) const |
| Gets the blue adjustment to be made per second to particles. | |
| float | getBlueAdjust2 (void) const |
| void | setAlphaAdjust1 (float alpha) |
| Sets the alpha adjustment to be made per second to particles. | |
| void | setAlphaAdjust2 (float alpha) |
| float | getAlphaAdjust1 (void) const |
| Gets the alpha adjustment to be made per second to particles. | |
| float | getAlphaAdjust2 (void) const |
| void | setStateChange (Real NewValue) |
| Real | getStateChange (void) const |
| 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 | |
| CmdRedAdjust1 | msRedCmd1 |
| CmdRedAdjust2 | msRedCmd2 |
| CmdGreenAdjust1 | msGreenCmd1 |
| CmdGreenAdjust2 | msGreenCmd2 |
| CmdBlueAdjust1 | msBlueCmd1 |
| CmdBlueAdjust2 | msBlueCmd2 |
| CmdAlphaAdjust1 | msAlphaCmd1 |
| CmdAlphaAdjust2 | msAlphaCmd2 |
| CmdStateChange | msStateCmd |
Protected Member Functions | |
| void | applyAdjustWithClamp (float *pComponent, float adjust) |
| Internal method for adjusting while clamping to [0,1]. | |
| 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 | |
| float | mRedAdj1 |
| float | mRedAdj2 |
| float | mGreenAdj1 |
| float | mGreenAdj2 |
| float | mBlueAdj1 |
| float | mBlueAdj2 |
| float | mAlphaAdj1 |
| float | mAlphaAdj2 |
| Real | StateChangeVal |
| 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 40 of file OgreColourFaderAffector2.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. |
|
||||||||||||
|
Internal method for adjusting while clamping to [0,1].
Definition at line 201 of file OgreColourFaderAffector2.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 alpha adjustment to be made per second to particles.
|
|
|
|
|
|
Gets the blue adjustment to be made per second to particles.
|
|
|
|
|
|
Gets the green adjustment to be made per second to particles.
|
|
|
|
|
|
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 red adjustment to be made per second to particles.
|
|
|
|
|
|
|
|
|
Returns the name of the type of affector.
Definition at line 104 of file OgreParticleAffector.h. References Ogre::String. |
|
||||||||||||||||||||
|
Sets the colour adjustment to be made per second to particles.
|
|
||||||||||||||||||||
|
|
|
|
Sets the alpha adjustment to be made per second to particles.
|
|
|
|
|
|
Sets the blue adjustment to be made per second to particles.
|
|
|
|
|
|
Sets the green adjustment to be made per second to particles.
|
|
|
|
|
||||||||||||
|
Generic parameter setting method.
Referenced by Ogre::StringInterface::copyParametersTo(). |
|
|
Generic multiple parameter setting method.
|
|
|
Sets the red adjustment to be made per second to particles.
|
|
|
|
|
|
|
|
|
Definition at line 197 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 197 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 196 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 196 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 195 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 195 of file OgreColourFaderAffector2.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 194 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 194 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 189 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 190 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 187 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 188 of file OgreColourFaderAffector2.h. |
|
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
|
Definition at line 185 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 186 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 183 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 184 of file OgreColourFaderAffector2.h. |
|
|
Definition at line 191 of file OgreColourFaderAffector2.h. |
|
|
Name of the type of affector, MUST be initialised by subclasses.
Definition at line 58 of file OgreParticleAffector.h. |
|
|
Definition at line 198 of file OgreColourFaderAffector2.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:43:34 2005