OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
Predefined controller value for getting / setting the frame number of a texture layer. More...
#include <OgrePredefinedControllers.h>
Public Member Functions | |
TextureFrameControllerValue (TextureUnitState *t) | |
Real | getValue (void) const |
Gets the frame number as a parametric value in the range [0,1]. More... | |
void | setValue (Real value) |
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is (value * numFrames) % numFrames). More... | |
Public Member Functions inherited from Ogre::ControllerValue< Real > | |
virtual | ~ControllerValue () |
Static Public Member Functions | |
static ControllerValueRealPtr | create (TextureUnitState *t) |
Predefined controller value for getting / setting the frame number of a texture layer.
Ogre::TextureFrameControllerValue::TextureFrameControllerValue | ( | TextureUnitState * | t | ) |
|
inlinestatic |
|
virtual |
Gets the frame number as a parametric value in the range [0,1].
Implements Ogre::ControllerValue< Real >.
|
virtual |
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is (value * numFrames) % numFrames).
Implements Ogre::ControllerValue< Real >.