#include <OgreColourInterpolatorAffector.h>
Classes | |
class | CmdColourAdjust |
Command object for red adjust (see ParamCommand). More... | |
class | CmdTimeAdjust |
Command object for red adjust (see ParamCommand). More... | |
Public Types | |
enum | { MAX_STAGES = 6 } |
Public Member Functions | |
ColourInterpolatorAffector (ParticleSystem *psys) | |
Default constructor. More... | |
void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
See ParticleAffector. More... | |
virtual void | _initParticle (Particle *pParticle) |
Method called to allow the affector to initialize all newly created particles in the system. More... | |
virtual void | copyParametersTo (StringInterface *dest) const |
Method for copying this object's parameters to another object. More... | |
ColourValue | getColourAdjust (size_t index) const |
ParamDictionary * | getParamDictionary (void) |
Retrieves the parameter dictionary for this class. More... | |
const ParamDictionary * | getParamDictionary (void) const |
virtual String | getParameter (const String &name) const |
Generic parameter retrieval method. More... | |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. More... | |
Real | getTimeAdjust (size_t index) const |
const String & | getType (void) const |
Returns the name of the type of affector. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
void | setColourAdjust (size_t index, ColourValue colour) |
virtual bool | setParameter (const String &name, const String &value) |
Generic parameter setting method. More... | |
virtual void | setParameterList (const NameValuePairList ¶mList) |
Generic multiple parameter setting method. More... | |
void | setTimeAdjust (size_t index, Real time) |
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. More... | |
Static Public Attributes | |
static CmdColourAdjust | msColourCmd [MAX_STAGES] |
static CmdTimeAdjust | msTimeCmd [MAX_STAGES] |
Protected Member Functions | |
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 | |
ColourValue | mColourAdj [MAX_STAGES] |
ParticleSystem * | mParent |
Real | mTimeAdj [MAX_STAGES] |
String | mType |
Name of the type of affector, MUST be initialised by subclasses. More... | |
Definition at line 39 of file OgreColourInterpolatorAffector.h.
anonymous enum |
Enumerator | |
---|---|
MAX_STAGES |
Definition at line 45 of file OgreColourInterpolatorAffector.h.
Ogre::ColourInterpolatorAffector::ColourInterpolatorAffector | ( | ParticleSystem * | psys | ) |
Default constructor.
|
virtual |
See ParticleAffector.
Implements Ogre::ParticleAffector.
|
inlinevirtualinherited |
Method called to allow the affector to initialize all newly created particles in the system.
pParticle | Pointer to a Particle to initialize. |
Reimplemented in Ogre::RotationAffector, and Ogre::ColourImageAffector.
Definition at line 95 of file OgreParticleAffector.h.
|
inlineprotectedinherited |
Internal method for setting up the basic parameter definitions for a subclass.
Definition at line 78 of file OgreParticleAffector.h.
|
staticinherited |
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.
|
inlinevirtualinherited |
Method for copying this object's parameters to another object.
dest | Pointer to object to have it's parameters set the same as this object. |
Definition at line 303 of file OgreStringInterface.h.
References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().
|
inlineprotectedinherited |
Internal method for creating a parameter dictionary for the class, if it does not already exist.
className | the name of the class using the dictionary |
Definition at line 186 of file OgreStringInterface.h.
References OGRE_LOCK_MUTEX.
ColourValue Ogre::ColourInterpolatorAffector::getColourAdjust | ( | size_t | index | ) | const |
|
inlineinherited |
Retrieves the parameter dictionary for this class.
Definition at line 219 of file OgreStringInterface.h.
|
inlineinherited |
Definition at line 224 of file OgreStringInterface.h.
|
inlinevirtualinherited |
Generic parameter retrieval method.
name | The name of the parameter to get |
Definition at line 272 of file OgreStringInterface.h.
References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().
|
inherited |
Retrieves a list of parameters valid for this object.
Real Ogre::ColourInterpolatorAffector::getTimeAdjust | ( | size_t | index | ) | const |
|
inlineinherited |
Returns the name of the type of affector.
Definition at line 118 of file OgreParticleAffector.h.
|
inlineinherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
void Ogre::ColourInterpolatorAffector::setColourAdjust | ( | size_t | index, |
ColourValue | colour | ||
) |
|
virtualinherited |
Generic parameter setting method.
name | The name of the parameter to set |
value | String value. Must be in the right format for the type specified in the parameter definition. See the StringConverter class for more information. |
Referenced by Ogre::StringInterface::copyParametersTo().
|
virtualinherited |
Generic multiple parameter setting method.
paramList | Name/value pair list |
void Ogre::ColourInterpolatorAffector::setTimeAdjust | ( | size_t | index, |
Real | time | ||
) |
|
protected |
Definition at line 87 of file OgreColourInterpolatorAffector.h.
|
protectedinherited |
Definition at line 80 of file OgreParticleAffector.h.
|
static |
Definition at line 83 of file OgreColourInterpolatorAffector.h.
|
static |
Definition at line 84 of file OgreColourInterpolatorAffector.h.
|
protected |
Definition at line 88 of file OgreColourInterpolatorAffector.h.
|
protectedinherited |
Name of the type of affector, MUST be initialised by subclasses.
Definition at line 68 of file OgreParticleAffector.h.