#include <OgrePredefinedControllers.h>
Inheritance diagram for Ogre::TextureFrameControllerValue:
Public Methods | |
TextureFrameControllerValue (TextureUnitState *t) | |
Real | getValue (void) const |
Gets the frame number as a parametric value in the range [0,1]. | |
void | setValue (Real value) |
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is value * (numFrames-1). | |
Protected Attributes | |
TextureUnitState * | mTextureLayer |
Definition at line 61 of file OgrePredefinedControllers.h.
|
Definition at line 79 of file OgrePredefinedControllers.cpp. References mTextureLayer. |
|
Gets the frame number as a parametric value in the range [0,1].
Implements Ogre::ControllerValue< Real >. Definition at line 84 of file OgrePredefinedControllers.cpp. References Ogre::TextureUnitState::getCurrentFrame(), Ogre::TextureUnitState::getNumFrames(), mTextureLayer, and Ogre::Real. |
|
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is value * (numFrames-1).
Implements Ogre::ControllerValue< Real >. Definition at line 90 of file OgrePredefinedControllers.cpp. References Ogre::TextureUnitState::getNumFrames(), mTextureLayer, Ogre::Real, and Ogre::TextureUnitState::setCurrentFrame(). |
|
Definition at line 64 of file OgrePredefinedControllers.h. Referenced by getValue(), setValue(), and TextureFrameControllerValue(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:27:24 2004