OGRE
1.11.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 |
ControllerValue implementation. More... | |
void | setValue (Real value) |
ControllerValue implementation. More... | |
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 |
|
inlinestatic |
create an instance of this class
targetAnimationState | |
addTime | if true, increment time instead of setting to an absolute position |
|
inlinevirtual |
ControllerValue implementation.
Implements Ogre::ControllerValue< Real >.
References Ogre::AnimationState::getLength(), and Ogre::AnimationState::getTimePosition().
|
inlinevirtual |
ControllerValue implementation.
Implements Ogre::ControllerValue< Real >.
References Ogre::AnimationState::addTime(), Ogre::AnimationState::getLength(), and Ogre::AnimationState::setTimePosition().