#include <OgreColourFaderAffector.h>
Inheritance diagram for Ogre::ColourFaderAffector:
Public Methods | |
ColourFaderAffector () | |
Default constructor. More... | |
void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
See ParticleAffector. More... | |
void | setAdjust (Real red, Real green, Real blue, Real alpha=0.0) |
Sets the colour adjustment to be made per second to particles. More... | |
void | setRedAdjust (Real red) |
Sets the red adjustment to be made per second to particles. More... | |
Real | getRedAdjust (void) |
Gets the red adjustment to be made per second to particles. More... | |
void | setGreenAdjust (Real green) |
Sets the green adjustment to be made per second to particles. More... | |
Real | getGreenAdjust (void) |
Gets the green adjustment to be made per second to particles. More... | |
void | setBlueAdjust (Real blue) |
Sets the blue adjustment to be made per second to particles. More... | |
Real | getBlueAdjust (void) |
Gets the blue adjustment to be made per second to particles. More... | |
void | setAlphaAdjust (Real alpha) |
Sets the alpha adjustment to be made per second to particles. More... | |
Real | getAlphaAdjust (void) |
Gets the alpha adjustment to be made per second to particles. More... | |
String | getType (void) |
Returns the name of the type of affector. More... | |
ParamDictionary * | getParamDictionary (void) |
Retrieves the parameter dictionary for this class. More... | |
const ParameterList & | getParameters (void) |
Retrieves a list of parameters valid for this object. More... | |
virtual bool | setParameter (const String &name, const String &value) |
Generic parameter setting method. More... | |
virtual String | getParameter (const String &name) |
Generic parameter retrieval method. More... | |
virtual void | copyParametersTo (StringInterface *dest) |
Method for copying this object's parameters to another object. More... | |
Static Public Attributes | |
CmdRedAdjust | msRedCmd |
CmdGreenAdjust | msGreenCmd |
CmdBlueAdjust | msBlueCmd |
CmdAlphaAdjust | msAlphaCmd |
Protected Methods | |
void | applyAdjustWithClamp (Real *pComponent, Real adjust) |
Internal method for adjusting while clamping to [0,1]. More... | |
void | addBaseParameters (void) |
Internal method for setting up the basic parameter definitions for a subclass. More... | |
bool | createParamDictionary (const String &className) |
Internal method for creating a parameter dictionary for the class, if it does not already exist. More... | |
Protected Attributes | |
Real | mRedAdj |
Real | mGreenAdj |
Real | mBlueAdj |
Real | mAlphaAdj |
String | mType |
Name of the type of affector, MUST be initialised by subclasses. More... | |
String | mParamDictName |
Class name for this instance to be used as a lookup (must be initialised by subclasses). More... | |
Static Protected Attributes | |
ParamDictionaryMap | msDictionary |
Dictionary of parameters. More... |
|
Default constructor.
|
|
See ParticleAffector.
Implements Ogre::ParticleAffector. |
|
Internal method for setting up the basic parameter definitions for a subclass.
|
|
Internal method for adjusting while clamping to [0,1].
|
|
Method for copying this object's parameters to another object.
|
|
Internal method for creating a parameter dictionary for the class, if it does not already exist.
|
|
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.
|
|
Retrieves the parameter dictionary for this class.
|
|
Generic parameter retrieval method.
|
|
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.
|
|
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.
|
|
Sets the red adjustment to be made per second to particles.
|
|
|
|
|
|
|
|
Class name for this instance to be used as a lookup (must be initialised by subclasses).
|
|
|
|
|
|
|
|
Dictionary of parameters.
|
|
|
|
|
|
Name of the type of affector, MUST be initialised by subclasses.
|
Copyright © 2002 by The OGRE Team