![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
Predefined controller value for getting / setting a texture coordinate modifications (scales and translates). More...
#include <OgrePredefinedControllers.h>
Inheritance diagram for Ogre::TexCoordModifierControllerValue:Public Member Functions | |
| TexCoordModifierControllerValue (TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false) | |
| Constructor. | |
| Real | getValue () const override |
| void | setValue (Real value) override |
Public Member Functions inherited from Ogre::ControllerValue< Real > | |
| virtual | ~ControllerValue () |
Predefined controller value for getting / setting a texture coordinate modifications (scales and translates).
param_named_auto texture_matrixHowever the user-authored shader must be responsible for applying the texture matrix
| 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. |
|
overridevirtual |
Implements Ogre::ControllerValue< Real >.
|
overridevirtual |
Implements Ogre::ControllerValue< Real >.