OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Predefined controller value for getting the latest frame time. More...
#include <OgrePredefinedControllers.h>
Public Member Functions | |
FrameTimeControllerValue () | |
bool | frameEnded (const FrameEvent &evt) |
Called just after a frame has been rendered. More... | |
bool | frameStarted (const FrameEvent &evt) |
Called when a frame is about to begin rendering. More... | |
Real | getElapsedTime (void) const |
Real | getFrameDelay (void) const |
Real | getTimeFactor (void) const |
Real | getValue (void) const |
void | setElapsedTime (Real elapsedTime) |
void | setFrameDelay (Real fd) |
void | setTimeFactor (Real tf) |
void | setValue (Real value) |
Public Member Functions inherited from Ogre::ControllerValue< Real > | |
virtual | ~ControllerValue () |
Public Member Functions inherited from Ogre::FrameListener | |
virtual | ~FrameListener () |
virtual bool | frameRenderingQueued (const FrameEvent &evt) |
Called after all render targets have had their rendering commands issued, but before render windows have been asked to flip their buffers over. More... | |
Static Public Member Functions | |
static ControllerValueRealPtr | create () |
Predefined controller value for getting the latest frame time.
Ogre::FrameTimeControllerValue::FrameTimeControllerValue | ( | ) |
|
inlinestatic |
|
virtual |
Called just after a frame has been rendered.
Reimplemented from Ogre::FrameListener.
|
virtual |
Called when a frame is about to begin rendering.
Reimplemented from Ogre::FrameListener.
|
virtual |
Implements Ogre::ControllerValue< Real >.
|
virtual |
Implements Ogre::ControllerValue< Real >.
Real Ogre::FrameTimeControllerValue::getTimeFactor | ( | void | ) | const |
void Ogre::FrameTimeControllerValue::setTimeFactor | ( | Real | tf | ) |
Real Ogre::FrameTimeControllerValue::getFrameDelay | ( | void | ) | const |
void Ogre::FrameTimeControllerValue::setFrameDelay | ( | Real | fd | ) |
Real Ogre::FrameTimeControllerValue::getElapsedTime | ( | void | ) | const |
void Ogre::FrameTimeControllerValue::setElapsedTime | ( | Real | elapsedTime | ) |