#include <OgreColourInterpolatorAffector.h>
Inheritance diagram for Ogre::ColourInterpolatorAffector:
Public Types | |
enum | { MAX_STAGES = 6 } |
Public Methods | |
ColourInterpolatorAffector () | |
Default constructor. | |
void | _affectParticles (ParticleSystem *pSystem, Real timeElapsed) |
See ParticleAffector. | |
void | setColourAdjust (size_t index, ColourValue colour) |
ColourValue | getColourAdjust (size_t index) const |
void | setTimeAdjust (size_t index, Real time) |
Real | getTimeAdjust (size_t index) const |
virtual void | _initParticle (Particle *pParticle) |
Method called to allow the affector to initialize all newly created particles in the system. | |
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 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 Methods | |
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 | |
CmdColourAdjust | msColourCmd [MAX_STAGES] |
CmdTimeAdjust | msTimeCmd [MAX_STAGES] |
Protected Methods | |
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 | |
ColourValue | mColourAdj [MAX_STAGES] |
Real | mTimeAdj [MAX_STAGES] |
String | mType |
Name of the type of affector, MUST be initialised by subclasses. | |
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 42 of file OgreColourInterpolatorAffector.h. |
|
Default constructor.
Definition at line 38 of file OgreColourInterpolatorAffector.cpp. References Ogre::ParamDictionary::addParameter(), Ogre::StringInterface::createParamDictionary(), Ogre::StringInterface::getParamDictionary(), MAX_STAGES, mColourAdj, Ogre::ColourInterpolatorAffector::CmdTimeAdjust::mIndex, Ogre::ColourInterpolatorAffector::CmdColourAdjust::mIndex, msColourCmd, msTimeCmd, mTimeAdj, Ogre::ParticleAffector::mType, Ogre::PT_COLOURVALUE, Ogre::PT_REAL, and Ogre::String. |
|
See ParticleAffector.
Implements Ogre::ParticleAffector. Definition at line 73 of file OgreColourInterpolatorAffector.cpp. References Ogre::ParticleSystem::_getIterator(), Ogre::ColourValue::a, Ogre::ColourValue::b, Ogre::ParticleIterator::end(), Ogre::ColourValue::g, Ogre::ParticleIterator::getNext(), MAX_STAGES, Ogre::Billboard::mColour, mColourAdj, mTimeAdj, Ogre::Particle::mTimeToLive, Ogre::Particle::mTotalTimeToLive, Ogre::ColourValue::r, and Ogre::Real. |
|
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 81 of file OgreParticleAffector.h. |
|
Internal method for setting up the basic parameter definitions for a subclass.
Definition at line 68 of file OgreParticleAffector.h. Referenced by Ogre::LinearForceAffector::LinearForceAffector(). |
|
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. Definition at line 53 of file OgreStringInterface.cpp. References Ogre::StringInterface::msDictionary. |
|
Method for copying this object's parameters to another object.
Definition at line 293 of file OgreStringInterface.h. References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter(). Referenced by Ogre::GuiElement::clone(), Ogre::GuiElement::copyFromTemplate(), Ogre::GuiContainer::copyFromTemplate(), and Ogre::ParticleSystem::operator=(). |
|
|
Definition at line 117 of file OgreColourInterpolatorAffector.cpp. References mColourAdj. Referenced by Ogre::ColourInterpolatorAffector::CmdColourAdjust::doGet(). |
|
Definition at line 206 of file OgreStringInterface.h. |
|
Retrieves the parameter dictionary for this class.
Definition at line 193 of file OgreStringInterface.h. Referenced by Ogre::TTYGuiElement::addBaseParameters(), Ogre::TextBoxGuiElement::addBaseParameters(), Ogre::TextAreaGuiElement::addBaseParameters(), Ogre::ScrollBarGuiElement::addBaseParameters(), Ogre::PopupMenuGuiElement::addBaseParameters(), Ogre::ParticleEmitter::addBaseParameters(), Ogre::PanelGuiElement::addBaseParameters(), Ogre::ListGuiElement::addBaseParameters(), Ogre::GuiElement::addBaseParameters(), Ogre::CursorGuiElement::addBaseParameters(), Ogre::ButtonGuiElement::addBaseParameters(), Ogre::BorderPanelGuiElement::addBaseParameters(), Ogre::BorderButtonGuiElement::addBaseParameters(), Ogre::ExternalTextureSource::addBaseParams(), Ogre::CgProgram::CgProgram(), Ogre::ColourFaderAffector::ColourFaderAffector(), Ogre::ColourFaderAffector2::ColourFaderAffector2(), Ogre::ColourImageAffector::ColourImageAffector(), ColourInterpolatorAffector(), Ogre::D3D9HLSLProgram::D3D9HLSLProgram(), Ogre::GLSLProgram::GLSLProgram(), Ogre::HollowEllipsoidEmitter::HollowEllipsoidEmitter(), Ogre::AreaEmitter::initDefaults(), Ogre::ParticleSystem::initParameters(), Ogre::LinearForceAffector::LinearForceAffector(), Ogre::RingEmitter::RingEmitter(), Ogre::RotationAffector::RotationAffector(), Ogre::ScaleAffector::ScaleAffector(), and Ogre::StringInterface::setParameter(). |
|
Generic parameter retrieval method.
Definition at line 262 of file OgreStringInterface.h. References Ogre::ParamCommand::doGet(), Ogre::ParamDictionary::getParamCommand(), and Ogre::String. |
|
Retrieves a list of parameters valid for this object.
Definition at line 224 of file OgreStringInterface.h. References Ogre::ParamDictionary::getParameters(), and Ogre::ParameterList. |
|
Definition at line 129 of file OgreColourInterpolatorAffector.cpp. References mTimeAdj, and Ogre::Real. Referenced by Ogre::ColourInterpolatorAffector::CmdTimeAdjust::doGet(). |
|
Returns the name of the type of affector.
Definition at line 100 of file OgreParticleAffector.h. References Ogre::String. Referenced by Ogre::ParticleSystemManager::_destroyAffector(), Ogre::ParticleSystem::operator=(), and Ogre::ParticleSystemManager::parseAffectorAttrib(). |
|
Definition at line 112 of file OgreColourInterpolatorAffector.cpp. References mColourAdj. |
|
Generic parameter setting method.
Definition at line 33 of file OgreStringInterface.cpp. References Ogre::ParamCommand::doSet(), Ogre::ParamDictionary::getParamCommand(), Ogre::StringInterface::getParamDictionary(), and Ogre::String. Referenced by Ogre::StringInterface::copyParametersTo(), Ogre::Profiler::createContainer(), Ogre::Profiler::createTextArea(), Ogre::MaterialSerializer::finishProgramDefinition(), Ogre::ParticleSystemManager::parseAffectorAttrib(), Ogre::ParticleSystemManager::parseAttrib(), Ogre::OverlayManager::parseElementAttrib(), and Ogre::ParticleSystemManager::parseEmitterAttrib(). |
|
Definition at line 124 of file OgreColourInterpolatorAffector.cpp. References mTimeAdj, and Ogre::Real. |
|
Definition at line 84 of file OgreColourInterpolatorAffector.h. Referenced by _affectParticles(), ColourInterpolatorAffector(), getColourAdjust(), and setColourAdjust(). |
|
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 157 of file OgreStringInterface.h. |
|
Definition at line 34 of file OgreColourInterpolatorAffector.cpp. Referenced by ColourInterpolatorAffector(). |
|
Dictionary of parameters.
Definition at line 30 of file OgreStringInterface.cpp. Referenced by Ogre::StringInterface::cleanupDictionary(). |
|
Definition at line 35 of file OgreColourInterpolatorAffector.cpp. Referenced by ColourInterpolatorAffector(). |
|
Definition at line 85 of file OgreColourInterpolatorAffector.h. Referenced by _affectParticles(), ColourInterpolatorAffector(), getTimeAdjust(), and setTimeAdjust(). |
|
Name of the type of affector, MUST be initialised by subclasses.
Definition at line 58 of file OgreParticleAffector.h. Referenced by Ogre::ColourFaderAffector::ColourFaderAffector(), Ogre::ColourFaderAffector2::ColourFaderAffector2(), Ogre::ColourImageAffector::ColourImageAffector(), ColourInterpolatorAffector(), Ogre::LinearForceAffector::LinearForceAffector(), Ogre::RotationAffector::RotationAffector(), and Ogre::ScaleAffector::ScaleAffector(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:49:49 2004