Predefined controller value for getting / setting a texture coordinate modifications (scales and translates).
More...
#include <OgrePredefinedControllers.h>
Predefined controller value for getting / setting a texture coordinate modifications (scales and translates).
- Because of the nature of this value, it can accept values outside the 0..1 parametric range.
◆ TexCoordModifierControllerValue()
Ogre::TexCoordModifierControllerValue::TexCoordModifierControllerValue |
( |
TextureUnitState * |
t, |
|
|
bool |
translateU = false , |
|
|
bool |
translateV = false , |
|
|
bool |
scaleU = false , |
|
|
bool |
scaleV = false , |
|
|
bool |
rotate = false |
|
) |
| |
◆ create()
static ControllerValueRealPtr Ogre::TexCoordModifierControllerValue::create |
( |
TextureUnitState * |
t, |
|
|
bool |
translateU = false , |
|
|
bool |
translateV = false , |
|
|
bool |
scaleU = false , |
|
|
bool |
scaleV = false , |
|
|
bool |
rotate = false |
|
) |
| |
|
inlinestatic |
Constructor.
- Parameters
-
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. |
◆ getValue()
Real Ogre::TexCoordModifierControllerValue::getValue |
( |
void |
| ) |
const |
|
overridevirtual |
◆ setValue()
void Ogre::TexCoordModifierControllerValue::setValue |
( |
Real |
value | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: