OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
ControllerValue wrapper class for AnimationState. More...
#include <OgreAnimationState.h>
Public Member Functions | |
AnimationStateControllerValue (AnimationState *targetAnimationState, bool addTime=false) | |
Real | getValue (void) const override |
ControllerValue implementation. More... | |
void | setValue (Real value) override |
ControllerValue implementation. More... | |
Public Member Functions inherited from Ogre::ControllerValue< Real > | |
virtual | ~ControllerValue () |
Static Public Member Functions | |
static ControllerValueRealPtr | create (AnimationState *targetAnimationState, bool addTime=false) |
create an instance of this class More... | |
ControllerValue wrapper class for AnimationState.
|
inline |
|
static |
create an instance of this class
targetAnimationState | |
addTime | if true, increment time instead of setting to an absolute position |
|
inlineoverridevirtual |
ControllerValue implementation.
Implements Ogre::ControllerValue< Real >.
References Ogre::AnimationState::getLength(), and Ogre::AnimationState::getTimePosition().
|
inlineoverridevirtual |
ControllerValue implementation.
Implements Ogre::ControllerValue< Real >.
References Ogre::AnimationState::addTime(), Ogre::AnimationState::getLength(), and Ogre::AnimationState::setTimePosition().