![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Predefined controller value for getting / setting a texture coordinate modifications (scales and translates). More...
#include <OgreTextureAnimationController.h>
Predefined controller value for getting / setting a texture coordinate modifications (scales and translates).
Ogre::TextureAnimationControllerValue::TextureAnimationControllerValue | ( | Ogre::HlmsDatablock * | datablock, |
Ogre::uint8 | textureUnit | ||
) |
Constructor.
datablock | HlmsDatablock to apply the modification to. |
textureUnit | textureUnit to apply the modification to. |
|
virtual |
Implements Ogre::ControllerValue< Ogre::Real >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
rotationAnimation.
rotate | If true, the texture will be rotated by the modification. |
scaleAnimation.
scaleU | If true, the u coordinates will be scaled by the modification. |
scaleV | If true, the v coordinates will be scaled by the modification. |
scrollAnimation.
textureUnit | textureUnit to apply the modification to. |
translateV | If true, the v coordinates will be translated by the modification. |
|
virtual |
Implements Ogre::ControllerValue< Ogre::Real >.
void Ogre::TextureAnimationControllerValue::tiledAnimation | ( | Ogre::uint16 | numFramesHorizontal, |
Ogre::uint16 | numFramesVertical | ||
) |
tiledAnimation.
numFramesHorizontal | number of horizontal tiles. |
numFramesVertical | number of vertical tiles. |