<html> <head> <title>Ogre::TexCoordModifierControllerValue class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.2.16 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>Ogre::TexCoordModifierControllerValue Class Reference</h1>Predefined controller value for getting / setting a texture coordinate modifications (scales and translates). <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>></code> <p> Inheritance diagram for Ogre::TexCoordModifierControllerValue:<p><center><img src="classOgre_1_1TexCoordModifierControllerValue__inherit__graph.png" border="0" usemap="#Ogre_1_1TexCoordModifierControllerValue__inherit__map" alt="Inheritance graph"></center> <map name="Ogre_1_1TexCoordModifierControllerValue__inherit__map"> <area href="classOgre_1_1ControllerValue.html" shape="rect" coords="35,36,221,17" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::TexCoordModifierControllerValue:<p><center><img src="classOgre_1_1TexCoordModifierControllerValue__coll__graph.png" border="0" usemap="#Ogre_1_1TexCoordModifierControllerValue__coll__map" alt="Collaboration graph"></center> <map name="Ogre_1_1TexCoordModifierControllerValue__coll__map"> <area href="classOgre_1_1ControllerValue.html" shape="rect" coords="19,27,205,9" alt=""> <area href="classOgre_1_1TextureUnitState.html" shape="rect" coords="39,85,185,66" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1TexCoordModifierControllerValue-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuea0">TexCoordModifierControllerValue</a> (<a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false)</td></tr> <tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#Ogre_1_1TexCoordModifierControllerValuea0"></a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a349">Real</a> </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuea1">getValue</a> (void) const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuea2">setValue</a> (<a class="el" href="namespaceOgre.html#a349">Real</a> value)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuen0">mTransU</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuen1">mTransV</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuen2">mScaleU</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuen3">mScaleV</a></td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuen4">mRotate</a></td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> * </td><td valign=bottom><a class="el" href="classOgre_1_1TexCoordModifierControllerValue.html#Ogre_1_1TexCoordModifierControllerValuen5">mTextureLayer</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Predefined controller value for getting / setting a texture coordinate modifications (scales and translates). <p> <dl compact><dt><b> Remarks: </b><dd> Effects can be applied to the scale or the offset of the u or v coordinates, or both. If separate modifications are required to u and v then 2 instances are required to control both independently, or 4 if you ant separate u and v scales as well as separate u and v offsets. <p> Because of the nature of this value, it can accept values outside the 0..1 parametric range. </dl> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00085">85</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a name="Ogre_1_1TexCoordModifierControllerValuea0" doxytag="Ogre::TexCoordModifierControllerValue::TexCoordModifierControllerValue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::TexCoordModifierControllerValue::TexCoordModifierControllerValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> * </td> <td class="mdname" nowrap> <em>t</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>translateU</em> = false, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>translateV</em> = false, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>scaleU</em> = false, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>scaleV</em> = false, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>rotate</em> = false</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Constructor. <p> <dl compact><dt><b> Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>t</em> </td><td> <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> to apply the modification to. </td></tr> <tr><td valign=top><em>translateU</em> </td><td> If true, the u coordinates will be translated by the modification. </td></tr> <tr><td valign=top><em>translateV</em> </td><td> If true, the v coordinates will be translated by the modification. </td></tr> <tr><td valign=top><em>scaleU</em> </td><td> If true, the u coordinates will be scaled by the modification. </td></tr> <tr><td valign=top><em>scaleV</em> </td><td> If true, the v coordinates will be scaled by the modification. </td></tr> <tr><td valign=top><em>rotate</em> </td><td> If true, the texture will be rotated by the modification. </td></tr> </table> </dl> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">98</a> of file <a class="el" href="OgrePredefinedControllers_8cpp-source.html">OgrePredefinedControllers.cpp</a>. <p> References <a class="el" href="OgrePredefinedControllers_8h-source.html#l00090">mRotate</a>, <a class="el" href="OgrePredefinedControllers_8h-source.html#l00089">mScaleU</a>, <a class="el" href="OgrePredefinedControllers_8h-source.html#l00089">mScaleV</a>, <a class="el" href="OgrePredefinedControllers_8h-source.html#l00091">mTextureLayer</a>, <a class="el" href="OgrePredefinedControllers_8h-source.html#l00088">mTransU</a>, and <a class="el" href="OgrePredefinedControllers_8h-source.html#l00088">mTransV</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="Ogre_1_1TexCoordModifierControllerValuea1" doxytag="Ogre::TexCoordModifierControllerValue::getValue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a349">Real</a> Ogre::TexCoordModifierControllerValue::getValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Implements <a class="el" href="classOgre_1_1ControllerValue.html#Ogre_1_1ControllerValuea0">Ogre::ControllerValue< Real ></a>. <p> Definition at line <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00109">109</a> of file <a class="el" href="OgrePredefinedControllers_8cpp-source.html">OgrePredefinedControllers.cpp</a>. <p> References <a class="el" href="OgreTextureUnitState_8cpp-source.html#l00565">Ogre::TextureUnitState::getTextureTransform</a>(), <a class="el" href="OgrePredefinedControllers_8h-source.html#l00091">mTextureLayer</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>. </td> </tr> </table> <a name="Ogre_1_1TexCoordModifierControllerValuea2" doxytag="Ogre::TexCoordModifierControllerValue::setValue"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::TexCoordModifierControllerValue::setValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a349">Real</a> </td> <td class="mdname1" valign="top" nowrap> <em>value</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Implements <a class="el" href="classOgre_1_1ControllerValue.html#Ogre_1_1ControllerValuea1">Ogre::ControllerValue< Real ></a>. <p> Definition at line <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00132">132</a> of file <a class="el" href="OgrePredefinedControllers_8cpp-source.html">OgrePredefinedControllers.cpp</a>. <p> References <a class="el" href="OgrePredefinedControllers_8h-source.html#l00091">mTextureLayer</a>, <a class="el" href="OgrePrerequisites_8h-source.html#l00086">Ogre::Real</a>, <a class="el" href="OgreTextureUnitState_8cpp-source.html#l00559">Ogre::TextureUnitState::setTextureRotate</a>(), <a class="el" href="OgreTextureUnitState_8cpp-source.html#l00635">Ogre::TextureUnitState::setTextureUScale</a>(), <a class="el" href="OgreTextureUnitState_8cpp-source.html#l00623">Ogre::TextureUnitState::setTextureUScroll</a>(), <a class="el" href="OgreTextureUnitState_8cpp-source.html#l00641">Ogre::TextureUnitState::setTextureVScale</a>(), and <a class="el" href="OgreTextureUnitState_8cpp-source.html#l00629">Ogre::TextureUnitState::setTextureVScroll</a>(). </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="Ogre_1_1TexCoordModifierControllerValuen4" doxytag="Ogre::TexCoordModifierControllerValue::mRotate"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::TexCoordModifierControllerValue::mRotate<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00090">90</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>. <p> Referenced by <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">TexCoordModifierControllerValue</a>(). </td> </tr> </table> <a name="Ogre_1_1TexCoordModifierControllerValuen2" doxytag="Ogre::TexCoordModifierControllerValue::mScaleU"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::TexCoordModifierControllerValue::mScaleU<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00089">89</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>. <p> Referenced by <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">TexCoordModifierControllerValue</a>(). </td> </tr> </table> <a name="Ogre_1_1TexCoordModifierControllerValuen3" doxytag="Ogre::TexCoordModifierControllerValue::mScaleV"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::TexCoordModifierControllerValue::mScaleV<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00089">89</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>. <p> Referenced by <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">TexCoordModifierControllerValue</a>(). </td> </tr> </table> <a name="Ogre_1_1TexCoordModifierControllerValuen5" doxytag="Ogre::TexCoordModifierControllerValue::mTextureLayer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a>* Ogre::TexCoordModifierControllerValue::mTextureLayer<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00091">91</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>. <p> Referenced by <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00109">getValue</a>(), <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00132">setValue</a>(), and <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">TexCoordModifierControllerValue</a>(). </td> </tr> </table> <a name="Ogre_1_1TexCoordModifierControllerValuen0" doxytag="Ogre::TexCoordModifierControllerValue::mTransU"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::TexCoordModifierControllerValue::mTransU<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00088">88</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>. <p> Referenced by <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">TexCoordModifierControllerValue</a>(). </td> </tr> </table> <a name="Ogre_1_1TexCoordModifierControllerValuen1" doxytag="Ogre::TexCoordModifierControllerValue::mTransV"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::TexCoordModifierControllerValue::mTransV<code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgrePredefinedControllers_8h-source.html#l00088">88</a> of file <a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a>. <p> Referenced by <a class="el" href="OgrePredefinedControllers_8cpp-source.html#l00098">TexCoordModifierControllerValue</a>(). </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="OgrePredefinedControllers_8h-source.html">OgrePredefinedControllers.h</a><li><a class="el" href="OgrePredefinedControllers_8cpp-source.html">OgrePredefinedControllers.cpp</a></ul> <p> Copyright © 2002-2003 by The OGRE Team<br /> Last modified Wed Jan 21 00:21:04 2004 </p> </body> </html>