#include <OgreControllerManager.h>
Inheritance diagram for Ogre::ControllerManager:
Public Methods | |
ControllerManager () | |
~ControllerManager () | |
Controller * | createController (ControllerValue *src, ControllerValue *dest, ControllerFunction *func) |
Creates a new controller and registers it with the manager. More... | |
void | clearControllers (void) |
Destroys all the controllers in existence. More... | |
void | updateAllControllers (void) |
Updates all the registered controllers. More... | |
ControllerValue * | getFrameTimeSource (void) |
Returns a ControllerValue which provides the time since the last frame as a control value source. More... | |
Controller * | createTextureAnimator (Material::TextureLayer *layer, Real sequenceTime) |
Creates a texture layer animator controller. More... | |
Controller * | createTextureScroller (Material::TextureLayer *layer, Real uSpeed, Real vSpeed) |
Creates a basic time-based texture coordinate modifier designed for creating scrolling textures. More... | |
Controller * | createTextureRotater (Material::TextureLayer *layer, Real speed) |
Creates a basic time-based texture coordinate modifier designed for creating rotating textures. More... | |
Controller * | createTextureWaveTransformer (Material::TextureLayer *layer, Material::TextureLayer::TextureTransformType ttype, WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1) |
Creates a very flexible time-based texture transformation which can alter the scale, position or rotation of a texture based on a wave function. More... | |
void | destroyController (Controller *controller) |
Removes & destroys the controller passed in as a pointer. More... | |
Real | getTimeFactor (void) |
Return relative speed of time as perceived by time based controllers. More... | |
void | setTimeFactor (Real tf) |
Set the relative speed to update frame time based controllers. More... | |
Static Public Methods | |
ControllerManager & | getSingleton (void) |
Override standard Singleton retrieval. More... | |
ControllerManager * | getSingletonPtr (void) |
Protected Types | |
typedef std::set< Controller * > | ControllerList |
Protected Attributes | |
ControllerList | mControllers |
FrameTimeControllerValue | mFrameTimeController |
Global predefined controller. More... | |
Static Protected Attributes | |
ControllerManager * | ms_Singleton = 0 |
|
|
|
|
|
|
|
Destroys all the controllers in existence.
|
|
Creates a new controller and registers it with the manager.
|
|
Creates a texture layer animator controller.
|
|
Creates a basic time-based texture coordinate modifier designed for creating rotating textures.
|
|
Creates a basic time-based texture coordinate modifier designed for creating scrolling textures.
|
|
Creates a very flexible time-based texture transformation which can alter the scale, position or rotation of a texture based on a wave function.
|
|
Removes & destroys the controller passed in as a pointer.
|
|
Returns a ControllerValue which provides the time since the last frame as a control value source.
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ControllerManager >. |
|
|
|
Return relative speed of time as perceived by time based controllers.
|
|
Set the relative speed to update frame time based controllers.
|
|
Updates all the registered controllers.
|
|
|
|
Global predefined controller.
|
|
|
Copyright © 2002 by The OGRE Team