#include <OgrePredefinedControllers.h>
Public Member Functions | |
TexCoordModifierControllerValue (TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false) | |
Constructor. | |
Real | getValue (void) const |
void | setValue (Real value) |
virtual void | setValue (T value)=0 |
Protected Attributes | |
bool | mTransU |
bool | mTransV |
bool | mScaleU |
bool | mScaleV |
bool | mRotate |
TextureUnitState * | mTextureLayer |
Definition at line 95 of file OgrePredefinedControllers.h.
Ogre::TexCoordModifierControllerValue::TexCoordModifierControllerValue | ( | TextureUnitState * | t, | |
bool | translateU = false , |
|||
bool | translateV = false , |
|||
bool | scaleU = false , |
|||
bool | scaleV = false , |
|||
bool | rotate = false | |||
) |
Constructor.
t | TextureUnitState to apply the modification to. | |
translateU | If true, the u coordinates will be translated by the modification. | |
translateV | If true, the v coordinates will be translated by the modification. | |
scaleU | If true, the u coordinates will be scaled by the modification. | |
scaleV | If true, the v coordinates will be scaled by the modification. | |
rotate | If true, the texture will be rotated by the modification. |
Real Ogre::TexCoordModifierControllerValue::getValue | ( | void | ) | const [virtual] |
Implements Ogre::ControllerValue< T >.
void Ogre::TexCoordModifierControllerValue::setValue | ( | Real | value | ) |
virtual void Ogre::ControllerValue< T >::setValue | ( | T | value | ) | [pure virtual, inherited] |
bool Ogre::TexCoordModifierControllerValue::mTransU [protected] |
Definition at line 98 of file OgrePredefinedControllers.h.
bool Ogre::TexCoordModifierControllerValue::mTransV [protected] |
Definition at line 98 of file OgrePredefinedControllers.h.
bool Ogre::TexCoordModifierControllerValue::mScaleU [protected] |
Definition at line 99 of file OgrePredefinedControllers.h.
bool Ogre::TexCoordModifierControllerValue::mScaleV [protected] |
Definition at line 99 of file OgrePredefinedControllers.h.
bool Ogre::TexCoordModifierControllerValue::mRotate [protected] |
Definition at line 100 of file OgrePredefinedControllers.h.
Definition at line 101 of file OgrePredefinedControllers.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat May 10 16:27:59 2008