Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Ogre::TextureFrameControllerValue Class Reference

Predefined controller value for getting / setting the frame number of a texture layer. More...

#include <OgrePredefinedControllers.h>

Inheritance diagram for Ogre::TextureFrameControllerValue:

Ogre::ControllerValue List of all members.

Public Methods

 TextureFrameControllerValue (Material::TextureLayer *t)
Real getValue (void)
 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-1). More...


Protected Attributes

Material::TextureLayermTextureLayer

Detailed Description

Predefined controller value for getting / setting the frame number of a texture layer.


Constructor & Destructor Documentation

Ogre::TextureFrameControllerValue::TextureFrameControllerValue Material::TextureLayer   t
 


Member Function Documentation

Real Ogre::TextureFrameControllerValue::getValue void    [virtual]
 

Gets the frame number as a parametric value in the range [0,1].

Implements Ogre::ControllerValue.

void Ogre::TextureFrameControllerValue::setValue Real    value [virtual]
 

Sets the frame number as a parametric value in the range [0,1]; the actual frame number is value * (numFrames-1).

Implements Ogre::ControllerValue.


Member Data Documentation

Material::TextureLayer* Ogre::TextureFrameControllerValue::mTextureLayer [protected]
 

Copyright © 2002 by The OGRE Team