diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02198.html | 1895 |
1 files changed, 1895 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02198.html b/docs/doxygen/nel/a02198.html new file mode 100644 index 00000000..506fdb9e --- /dev/null +++ b/docs/doxygen/nel/a02198.html @@ -0,0 +1,1895 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CAnimatedMaterial class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CAnimatedMaterial Class Reference</h1><code>#include <<a class="el" href="a05438.html">animated_material.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CAnimatedMaterial: +<p><center><img src="a02198.png" usemap="#NL3D::CAnimatedMaterial_map" border="0" alt=""></center> +<map name="NL3D::CAnimatedMaterial_map"> +<area href="a02197.html" alt="NL3D::IAnimatable" shape="rect" coords="0,0,157,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +An animated material Instance of <a class="el" href="a02846.html">CMaterialBase</a> NB: formated for 3ds Max :). Emissive anim is a float, with a constant RGB factor. Texture animation: see <a class="el" href="a02198.html#NL3D_1_1CAnimatedMateriala0">update()</a>. <dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00159">159</a> of file <a class="el" href="a05438.html">animated_material.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Herited from IAnimatable</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0">TAnimValues</a> { <br> + <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw7">OwnerBit</a> = IAnimatable::AnimValueLast, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, +<br> + <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, +<br> + <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, +<a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw2">AnimValueLast</a> = TextureMatValues + NumTexAnimatedValues * IDRV_MAT_MAXTEXTURES +<br> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Added values. <a href="#NL3D_1_1CAnimatedMaterialz17_0">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03542.html">ITrack</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_1">getDefaultTrack</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedMaterialz17_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03835.html">IAnimatedValue</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_2">getValue</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedMaterialz17_2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_3">getValueName</a> (<a class="el" href="a04558.html#a15">uint</a> valueId) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedMaterialz17_3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_4">registerToChannelMixer</a> (<a class="el" href="a02335.html">CChannelMixer</a> *chanMixer, const std::string &prefix)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">From <a class="el" href="a02197.html">IAnimatable</a>. <a href="#NL3D_1_1CAnimatedMaterialz17_4"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom>{ <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a> = CMaterialBase::CTexAnimTracks::NumTexAnimatedValues + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">number of animated values for each animated texture, taken from <a class="el" href="a02846.html">CMaterialBase</a> <a href="#NL3D_1_1CAnimatedMaterialw0">More...</a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMateriala0">update</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">ctor / setup.</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz13_0">CAnimatedMaterial</a> (<a class="el" href="a02846.html">CMaterialBase</a> *baseMat)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz13_1">getMaterialName</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz13_2">setMaterial</a> (<a class="el" href="a02839.html">CMaterial</a> *pMat)</td></tr> + +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Get some track name</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_0">getAmbientValueName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_1">getDiffuseValueName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_2">getEmissiveValueName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_3">getOpacityValueName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_4">getShininessValueName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_5">getSpecularValueName</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_6">getTexMatUScaleName</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_7">getTexMatUTransName</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_8">getTexMatVScaleName</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_9">getTexMatVTransName</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_10">getTexMatWRotName</a> (<a class="el" href="a04558.html#a15">uint</a> stage)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_11">getTextureValueName</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a> (<a class="el" href="a02335.html">CChannelMixer</a> *chanMixer, <a class="el" href="a04558.html#a15">uint</a> valueId, <a class="el" href="a04558.html#a15">uint</a> ownerValueId, const std::string &prefix, bool detail)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This method clear a bit in the bitset. <a href="#NL3D_1_1ITransformableb1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02197.html#NL3D_1_1ITransformableb2">setFlag</a> (<a class="el" href="a04558.html#a15">uint</a> valueId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This method set a bit in the bitset. <a href="#NL3D_1_1ITransformableb2"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr0">_Ambient</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr1">_Diffuse</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr2">_Emissive</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03321.html">CRefPtr</a>< <a class="el" href="a02839.html">CMaterial</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03321.html">CRefPtr</a>< <a class="el" href="a02846.html">CMaterialBase</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueFloat</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr5">_Opacity</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueFloat</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr6">_Shininess</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueRGBA</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr7">_Specular</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02199.html">CTexAnimatedMatValues</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a> [<a class="el" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02201.html">CAnimatedValueInt</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr9">_Texture</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialw0" doxytag="NL3D::CAnimatedMaterial::@3" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> anonymous enum + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +number of animated values for each animated texture, taken from <a class="el" href="a02846.html">CMaterialBase</a> +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5" doxytag="NumTexAnimatedValues" ></a>NumTexAnimatedValues</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05438.html#l00212">212</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +<div class="fragment"><pre>00212 { <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a> = CMaterialBase::CTexAnimTracks::NumTexAnimatedValues }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0" doxytag="NL3D::CAnimatedMaterial::TAnimValues" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0">NL3D::CAnimatedMaterial::TAnimValues</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Added values. +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw7" doxytag="OwnerBit" ></a>OwnerBit</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1" doxytag="AmbientValue" ></a>AmbientValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3" doxytag="DiffuseValue" ></a>DiffuseValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9" doxytag="SpecularValue" ></a>SpecularValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8" doxytag="ShininessValue" ></a>ShininessValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4" doxytag="EmissiveValue" ></a>EmissiveValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6" doxytag="OpacityValue" ></a>OpacityValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11" doxytag="TextureValue" ></a>TextureValue</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10" doxytag="TextureMatValues" ></a>TextureMatValues</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw2" doxytag="AnimValueLast" ></a>AnimValueLast</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Reimplemented from <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_0">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05438.html#l00217">217</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +<div class="fragment"><pre>00218 { +00219 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw7">OwnerBit</a>= IAnimatable::AnimValueLast, +00220 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, +00221 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, +00222 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, +00223 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, +00224 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, +00225 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, +00226 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, +00227 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, +00228 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw2">AnimValueLast</a> = TextureMatValues + <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a> * <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a> <span class="comment">/* texture matrix anim */</span> +00229 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz13_0" doxytag="NL3D::CAnimatedMaterial::CAnimatedMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CAnimatedMaterial::CAnimatedMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02846.html">CMaterialBase</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>baseMat</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. This ctor:<ul> +<li>store a RefPtr on the BaseMaterial (for getDefaultTracks() method).</li><li>copy the material default track value into Animated Values.</li></ul> + +<p> +Definition at line <a class="el" href="a05437.html#l00159">159</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05438.html#l00255">_Ambient</a>, <a class="el" href="a05438.html#l00256">_Diffuse</a>, <a class="el" href="a05438.html#l00259">_Emissive</a>, <a class="el" href="a05438.html#l00250">_MaterialBase</a>, <a class="el" href="a05438.html#l00260">_Opacity</a>, <a class="el" href="a05438.html#l00258">_Shininess</a>, <a class="el" href="a05438.html#l00257">_Specular</a>, <a class="el" href="a05438.html#l00281">_TexAnimatedMatValues</a>, <a class="el" href="a05438.html#l00271">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::affect()</a>, <a class="el" href="a05442.html#l00101">NL3D::CAnimatedValueBlendable< float >::affect()</a>, <a class="el" href="a05442.html#l00101">NL3D::CAnimatedValueBlendable< T >::affect()</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00160 { +00161 <a class="code" href="a04199.html#a6">nlassert</a>(baseMat); +00162 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>= baseMat; +00163 +00164 <span class="comment">// IAnimatable.</span> +00165 IAnimatable::resize(AnimValueLast); +00166 +00167 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr0">_Ambient</a>.affect(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultAmbient.getValue()); +00168 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr1">_Diffuse</a>.affect(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultDiffuse.getValue()); +00169 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr7">_Specular</a>.affect(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultSpecular.getValue()); +00170 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr6">_Shininess</a>.affect(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultShininess.getValue()); +00171 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr2">_Emissive</a>.affect(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultEmissive.getValue()); +00172 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr5">_Opacity</a>.affect(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultOpacity.getValue()); +00173 +00174 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00175 { +00176 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[k].<a class="code" href="a02199.html#NL3D_1_1CAnimatedMaterial_1_1CTexAnimatedMatValuesa0">affect</a>(baseMat->DefaultTexAnimTracks[k]); +00177 } +00178 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1ITransformableb0" doxytag="NL3D::CAnimatedMaterial::addValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a14">sint</a> NL3D::IAnimatable::addValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02335.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>valueId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>ownerValueId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>prefix</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>detail</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is a tool function which add a given value to a channel. <dl compact><dt><b>Returns:</b></dt><dd>-1 if the track was not found in the animationSet, else it return the channelId as if returned by CAnimationSet::getChannelIdByName(channelName).</dd></dl> + +<p> +Definition at line <a class="el" href="a05433.html#l00037">37</a> of file <a class="el" href="a05433.html">animatable.cpp</a>. +<p> +References <a class="el" href="a05543.html#l00306">NL3D::CChannelMixer::addChannel()</a>, <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_1">NL3D::IAnimatable::getDefaultTrack()</a>, <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_2">NL3D::IAnimatable::getValue()</a>, <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_3">NL3D::IAnimatable::getValueName()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06568.html#l00334">NL3D::CTransform::registerToChannelMixer()</a>, <a class="el" href="a06148.html#l00470">NL3D::CParticleSystemModel::registerToChannelMixer()</a>, <a class="el" href="a05530.html#l00151">NL3D::CCamera::registerToChannelMixer()</a>, <a class="el" href="a05491.html#l00141">NL3D::CBone::registerToChannelMixer()</a>, <a class="el" href="a05439.html#l00102">NL3D::CAnimatedMorph::registerToChannelMixer()</a>, <a class="el" href="a05437.html#l00376">registerToChannelMixer()</a>, and <a class="el" href="a05435.html#l00139">NL3D::CAnimatedLightmap::registerToChannelMixer()</a>. +<p> +<div class="fragment"><pre>00038 { +00039 <a class="code" href="a04199.html#a6">nlassert</a>(chanMixer); +00040 <span class="keywordflow">return</span> chanMixer->addChannel(prefix+<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_3">getValueName</a>(valueId), <span class="keyword">this</span>, <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_2">getValue</a>(valueId), <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_1">getDefaultTrack</a>(valueId), valueId, ownerValueId, detail); +00041 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformableb1" doxytag="NL3D::CAnimatedMaterial::clearFlag" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IAnimatable::clearFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method clear a bit in the bitset. +<p> + +<p> +Definition at line <a class="el" href="a05434.html#l00233">233</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00206">NL3D::IAnimatable::_BitSet</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06574.html#l00124">NL3D::ITransformable::clearTransformFlags()</a>, <a class="el" href="a06148.html#l00619">NL3D::CParticleSystemModel::doAnimate()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. +<p> +<div class="fragment"><pre>00234 { +00235 _BitSet&= ~(1<<valueId); +00236 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_0" doxytag="NL3D::CAnimatedMaterial::getAmbientValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getAmbientValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00195">195</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00195 {<span class="keywordflow">return</span> <span class="stringliteral">"ambient"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_1" doxytag="NL3D::CAnimatedMaterial::getDefaultTrack" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03542.html">ITrack</a> * NL3D::CAnimatedMaterial::getDefaultTrack </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_1">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05437.html#l00340">340</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05438.html#l00250">_MaterialBase</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00341 { +00342 <a class="code" href="a04199.html#a6">nlassert</a>(_MaterialBase); +00343 +00344 <span class="keywordflow">switch</span>(valueId) +00345 { +00346 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultAmbient; +00347 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultDiffuse; +00348 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultSpecular; +00349 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultShininess; +00350 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultEmissive; +00351 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultOpacity; +00352 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultTexture; +00353 <span class="keywordflow">default</span>: <span class="comment">// this may be a texture animated value...</span> +00354 <span class="keywordflow">if</span> (valueId >= <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a> && valueId < <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw2">AnimValueLast</a>) +00355 { +00356 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> baseId = valueId - <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>; +00357 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> texNum = baseId / <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; +00358 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> argID = baseId % <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; +00359 <span class="keywordflow">switch</span>(argID) +00360 { +00361 <span class="keywordflow">case</span> 0: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultTexAnimTracks[texNum].DefaultUTrans; +00362 <span class="keywordflow">case</span> 1: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultTexAnimTracks[texNum].DefaultVTrans; +00363 <span class="keywordflow">case</span> 2: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultTexAnimTracks[texNum].DefaultUTrans; +00364 <span class="keywordflow">case</span> 3: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultTexAnimTracks[texNum].DefaultVTrans; +00365 <span class="keywordflow">case</span> 4: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->DefaultTexAnimTracks[texNum].DefaultWRot; +00366 } +00367 } +00368 <span class="keywordflow">break</span>; +00369 }; +00370 +00371 <span class="comment">// shoudl not be here!!</span> +00372 <a class="code" href="a04199.html#a12">nlstop</a>; +00373 <span class="keywordflow">return</span> NULL; +00374 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_1" doxytag="NL3D::CAnimatedMaterial::getDiffuseValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getDiffuseValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00196">196</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00196 {<span class="keywordflow">return</span> <span class="stringliteral">"diffuse"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_2" doxytag="NL3D::CAnimatedMaterial::getEmissiveValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getEmissiveValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00199">199</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00199 {<span class="keywordflow">return</span> <span class="stringliteral">"emissive"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz13_1" doxytag="NL3D::CAnimatedMaterial::getMaterialName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CAnimatedMaterial::getMaterialName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the name of this material (stored in <a class="el" href="a02846.html">CMaterialBase</a>). +<p> +Definition at line <a class="el" href="a05437.html#l00189">189</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05438.html#l00250">_MaterialBase</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00433">NL3D::CSegRemanence::registerToChannelMixer()</a>. +<p> +<div class="fragment"><pre>00190 { +00191 <a class="code" href="a04199.html#a6">nlassert</a>(_MaterialBase); +00192 <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->Name; +00193 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_3" doxytag="NL3D::CAnimatedMaterial::getOpacityValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getOpacityValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00200">200</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00200 {<span class="keywordflow">return</span> <span class="stringliteral">"opacity"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_4" doxytag="NL3D::CAnimatedMaterial::getShininessValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getShininessValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00198">198</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00198 {<span class="keywordflow">return</span> <span class="stringliteral">"shininess"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_5" doxytag="NL3D::CAnimatedMaterial::getSpecularValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getSpecularValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00197">197</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00197 {<span class="keywordflow">return</span> <span class="stringliteral">"specular"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_6" doxytag="NL3D::CAnimatedMaterial::getTexMatUScaleName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CAnimatedMaterial::getTexMatUScaleName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05437.html#l00432">432</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00433 { +00434 <span class="keyword">static</span> <span class="keywordtype">char</span> names[<a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>][16]; +00435 <span class="keyword">static</span> <span class="keywordtype">bool</span> init = <span class="keyword">false</span>; +00436 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00437 <span class="keywordflow">if</span> (!init) <span class="comment">// where name initialized ?</span> +00438 { +00439 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00440 { +00441 sprintf(&names[k][0], <span class="stringliteral">"UScale%d"</span>, k); +00442 } +00443 init = <span class="keyword">true</span>; +00444 } +00445 <span class="keywordflow">return</span> names[stage]; +00446 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_7" doxytag="NL3D::CAnimatedMaterial::getTexMatUTransName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CAnimatedMaterial::getTexMatUTransName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05437.html#l00396">396</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00397 { +00398 <span class="keyword">static</span> <span class="keywordtype">char</span> names[<a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>][16]; +00399 <span class="keyword">static</span> <span class="keywordtype">bool</span> init = <span class="keyword">false</span>; +00400 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00401 <span class="keywordflow">if</span> (!init) <span class="comment">// where name initialized ?</span> +00402 { +00403 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00404 { +00405 sprintf(&names[k][0], <span class="stringliteral">"UTrans%d"</span>, k); +00406 } +00407 init = <span class="keyword">true</span>; +00408 } +00409 <span class="keywordflow">return</span> names[stage]; +00410 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_8" doxytag="NL3D::CAnimatedMaterial::getTexMatVScaleName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CAnimatedMaterial::getTexMatVScaleName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05437.html#l00449">449</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00450 { +00451 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00452 <span class="keyword">static</span> <span class="keywordtype">char</span> names[<a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>][16]; +00453 <span class="keyword">static</span> <span class="keywordtype">bool</span> init = <span class="keyword">false</span>; +00454 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00455 <span class="keywordflow">if</span> (!init) <span class="comment">// where name initialized ?</span> +00456 { +00457 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00458 { +00459 sprintf(&names[k][0], <span class="stringliteral">"VScale%d"</span>, k); +00460 } +00461 init = <span class="keyword">true</span>; +00462 } +00463 <span class="keywordflow">return</span> names[stage]; +00464 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_9" doxytag="NL3D::CAnimatedMaterial::getTexMatVTransName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CAnimatedMaterial::getTexMatVTransName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05437.html#l00413">413</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00414 { +00415 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00416 <span class="keyword">static</span> <span class="keywordtype">char</span> names[<a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>][16]; +00417 <span class="keyword">static</span> <span class="keywordtype">bool</span> init = <span class="keyword">false</span>; +00418 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00419 <span class="keywordflow">if</span> (!init) <span class="comment">// where name initialized ?</span> +00420 { +00421 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00422 { +00423 sprintf(&names[k][0], <span class="stringliteral">"VTrans%d"</span>, k); +00424 } +00425 init = <span class="keyword">true</span>; +00426 } +00427 <span class="keywordflow">return</span> names[stage]; +00428 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_10" doxytag="NL3D::CAnimatedMaterial::getTexMatWRotName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CAnimatedMaterial::getTexMatWRotName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>stage</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05437.html#l00468">468</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00469 { +00470 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00471 <span class="keyword">static</span> <span class="keywordtype">char</span> names[<a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>][16]; +00472 <span class="keyword">static</span> <span class="keywordtype">bool</span> init = <span class="keyword">false</span>; +00473 <a class="code" href="a04199.html#a6">nlassert</a>(stage < IDRV_MAT_MAXTEXTURES); +00474 <span class="keywordflow">if</span> (!init) <span class="comment">// where name initialized ?</span> +00475 { +00476 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00477 { +00478 sprintf(&names[k][0], <span class="stringliteral">"WRot%d"</span>, k); +00479 } +00480 init = <span class="keyword">true</span>; +00481 } +00482 <span class="keywordflow">return</span> names[stage]; +00483 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz15_11" doxytag="NL3D::CAnimatedMaterial::getTextureValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NL3D::CAnimatedMaterial::getTextureValueName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05438.html#l00201">201</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00306">getValueName()</a>. +<p> +<div class="fragment"><pre>00201 {<span class="keywordflow">return</span> <span class="stringliteral">"texture"</span>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_2" doxytag="NL3D::CAnimatedMaterial::getValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03835.html">IAnimatedValue</a> * NL3D::CAnimatedMaterial::getValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_2">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05437.html#l00272">272</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05438.html#l00255">_Ambient</a>, <a class="el" href="a05438.html#l00256">_Diffuse</a>, <a class="el" href="a05438.html#l00259">_Emissive</a>, <a class="el" href="a05438.html#l00260">_Opacity</a>, <a class="el" href="a05438.html#l00258">_Shininess</a>, <a class="el" href="a05438.html#l00257">_Specular</a>, <a class="el" href="a05438.html#l00281">_TexAnimatedMatValues</a>, <a class="el" href="a05438.html#l00261">_Texture</a>, <a class="el" href="a05438.html#l00267">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_UScale</a>, <a class="el" href="a05438.html#l00265">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_UTrans</a>, <a class="el" href="a05438.html#l00268">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_VScale</a>, <a class="el" href="a05438.html#l00266">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_VTrans</a>, <a class="el" href="a05438.html#l00269">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_WRot</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00273 { +00274 <span class="keywordflow">switch</span>(valueId) +00275 { +00276 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr0">_Ambient</a>; +00277 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr1">_Diffuse</a>; +00278 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr7">_Specular</a>; +00279 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr6">_Shininess</a>; +00280 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr2">_Emissive</a>; +00281 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr5">_Opacity</a>; +00282 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr9">_Texture</a>; +00283 <span class="keywordflow">default</span>: <span class="comment">// this may be a texture animated value...</span> +00284 <span class="keywordflow">if</span> (valueId >= <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a> && valueId < <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw2">AnimValueLast</a>) +00285 { +00286 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> baseId = valueId - <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>; +00287 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> texNum = baseId / <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; <span class="comment">// stage index</span> +00288 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> argID = baseId % <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; <span class="comment">// value for this stage</span> +00289 <span class="keywordflow">switch</span>(argID) +00290 { +00291 <span class="keywordflow">case</span> 0: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[texNum].<a class="code" href="a02199.html#NL3D_1_1CAnimatedMaterial_1_1CTexAnimatedMatValueso1">_UTrans</a>; +00292 <span class="keywordflow">case</span> 1: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[texNum].<a class="code" href="a02199.html#NL3D_1_1CAnimatedMaterial_1_1CTexAnimatedMatValueso3">_VTrans</a>; +00293 <span class="keywordflow">case</span> 2: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[texNum].<a class="code" href="a02199.html#NL3D_1_1CAnimatedMaterial_1_1CTexAnimatedMatValueso0">_UScale</a>; +00294 <span class="keywordflow">case</span> 3: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[texNum].<a class="code" href="a02199.html#NL3D_1_1CAnimatedMaterial_1_1CTexAnimatedMatValueso2">_VScale</a>; +00295 <span class="keywordflow">case</span> 4: <span class="keywordflow">return</span> &<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[texNum].<a class="code" href="a02199.html#NL3D_1_1CAnimatedMaterial_1_1CTexAnimatedMatValueso4">_WRot</a>; +00296 } +00297 } +00298 <span class="keywordflow">break</span>; +00299 }; +00300 +00301 <span class="comment">// shoudl not be here!!</span> +00302 <a class="code" href="a04199.html#a12">nlstop</a>; +00303 <span class="keywordflow">return</span> NULL; +00304 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_3" doxytag="NL3D::CAnimatedMaterial::getValueName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NL3D::CAnimatedMaterial::getValueName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </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> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_3">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05437.html#l00306">306</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, <a class="el" href="a05438.html#l00195">getAmbientValueName()</a>, <a class="el" href="a05438.html#l00196">getDiffuseValueName()</a>, <a class="el" href="a05438.html#l00199">getEmissiveValueName()</a>, <a class="el" href="a05438.html#l00200">getOpacityValueName()</a>, <a class="el" href="a05438.html#l00198">getShininessValueName()</a>, <a class="el" href="a05438.html#l00197">getSpecularValueName()</a>, <a class="el" href="a05437.html#l00432">getTexMatUScaleName()</a>, <a class="el" href="a05437.html#l00396">getTexMatUTransName()</a>, <a class="el" href="a05437.html#l00449">getTexMatVScaleName()</a>, <a class="el" href="a05437.html#l00413">getTexMatVTransName()</a>, <a class="el" href="a05437.html#l00468">getTexMatWRotName()</a>, <a class="el" href="a05438.html#l00201">getTextureValueName()</a>, <a class="el" href="a05622.html#l00416">nlstop</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00307 { +00308 <span class="keywordflow">switch</span>(valueId) +00309 { +00310 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_0">getAmbientValueName</a>(); +00311 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_1">getDiffuseValueName</a>(); +00312 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_5">getSpecularValueName</a>(); +00313 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_4">getShininessValueName</a>(); +00314 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_2">getEmissiveValueName</a>(); +00315 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_3">getOpacityValueName</a>(); +00316 <span class="keywordflow">case</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_11">getTextureValueName</a>(); +00317 <span class="keywordflow">default</span>: <span class="comment">// this may be a texture animated value...</span> +00318 <span class="keywordflow">if</span> (valueId >= <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a> && valueId < <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw2">AnimValueLast</a>) +00319 { +00320 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> baseId = valueId - <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>; +00321 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> texNum = baseId / <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; +00322 <span class="keyword">const</span> <a class="code" href="a04558.html#a15">uint</a> argID = baseId % <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; +00323 <span class="keywordflow">switch</span>(argID) +00324 { +00325 <span class="keywordflow">case</span> 0: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_7">getTexMatUTransName</a> (texNum); +00326 <span class="keywordflow">case</span> 1: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_9">getTexMatVTransName</a>(texNum); +00327 <span class="keywordflow">case</span> 2: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_6">getTexMatUScaleName</a>(texNum); +00328 <span class="keywordflow">case</span> 3: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_8">getTexMatVScaleName</a>(texNum); +00329 <span class="keywordflow">case</span> 4: <span class="keywordflow">return</span> <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz15_10">getTexMatWRotName</a>(texNum); +00330 } +00331 } +00332 <span class="keywordflow">break</span>; +00333 }; +00334 +00335 <span class="comment">// shoudl not be here!!</span> +00336 <a class="code" href="a04199.html#a12">nlstop</a>; +00337 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +00338 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_0" doxytag="NL3D::CAnimatedMaterial::isTouched" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::IAnimatable::isTouched </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return non 0 int if the value as been touched else 0.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>valueId</em> </td><td>is the animated value ID in the object we want to test the touch flag. or it may be an OwnerBit.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00184">184</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00206">NL3D::IAnimatable::_BitSet</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06148.html#l00619">NL3D::CParticleSystemModel::doAnimate()</a>, <a class="el" href="a06575.html#l00334">NL3D::ITransformable::needCompute()</a>, <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. +<p> +<div class="fragment"><pre>00185 { +00186 <span class="keywordflow">return</span> _BitSet&(1<<valueId); +00187 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz17_4" doxytag="NL3D::CAnimatedMaterial::registerToChannelMixer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CAnimatedMaterial::registerToChannelMixer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02335.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>prefix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +From <a class="el" href="a02197.html">IAnimatable</a>. +<p> + +<p> +Implements <a class="el" href="a02197.html#NL3D_1_1IAnimatablez3_4">NL3D::IAnimatable</a>. +<p> +Definition at line <a class="el" href="a05437.html#l00376">376</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05433.html#l00037">NL3D::IAnimatable::addValue()</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00433">NL3D::CSegRemanence::registerToChannelMixer()</a>. +<p> +<div class="fragment"><pre>00377 { +00378 <span class="comment">// For CAnimatedMaterial, channels are detailled (material rendered after clip)!</span> +00379 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, AmbientValue, OwnerBit, prefix, <span class="keyword">true</span>); +00380 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, DiffuseValue, OwnerBit, prefix, <span class="keyword">true</span>); +00381 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, SpecularValue, OwnerBit, prefix, <span class="keyword">true</span>); +00382 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, ShininessValue, OwnerBit, prefix, <span class="keyword">true</span>); +00383 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, EmissiveValue, OwnerBit, prefix, <span class="keyword">true</span>); +00384 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, OpacityValue, OwnerBit, prefix, <span class="keyword">true</span>); +00385 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, TextureValue, OwnerBit, prefix, <span class="keyword">true</span>); +00386 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00387 { +00388 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a05373.html#a2">l</a> = 0; <a class="code" href="a05373.html#a2">l</a> < <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialw0NL3D_1_1CAnimatedMaterialw5">NumTexAnimatedValues</a>; ++<a class="code" href="a05373.html#a2">l</a>) +00389 { +00390 <a class="code" href="a02197.html#NL3D_1_1ITransformableb0">addValue</a>(chanMixer, TextureMatValues + l + k * NumTexAnimatedValues, OwnerBit, prefix, <span class="keyword">true</span>); +00391 } +00392 } +00393 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_1" doxytag="NL3D::CAnimatedMaterial::resize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IAnimatable::resize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>count</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Change value count, bit are set to 0<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>count</em> </td><td>is the new value count.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00195">195</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00196 { +00197 <span class="comment">// with the "uint32 _BitSet" implementation, juste check the size is correct</span> +00198 <a class="code" href="a04199.html#a6">nlassert</a>(count<=32); +00199 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_2" doxytag="NL3D::CAnimatedMaterial::setFather" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IAnimatable::setFather </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02197.html">IAnimatable</a> * </td> + <td class="mdname" nowrap> <em>father</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>fatherOwnerBit</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Say which (if any) <a class="el" href="a02197.html">IAnimatable</a> owns this one. This is important for Touch propagation. By this system, Fathers and ancestors know if they must check their sons (<a class="el" href="a02197.html#NL3D_1_1ITransformablez5_0">isTouched()</a> return true).<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>father</em> </td><td>the father we must inform of our update. </td></tr> + <tr><td valign=top><em>fatherOwnerBit</em> </td><td>What bit of father we must set when we are updated</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00153">153</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00208">NL3D::IAnimatable::_Father</a>, <a class="el" href="a05434.html#l00210">NL3D::IAnimatable::_FatherOwnerBit</a>, <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>, and <a class="el" href="a06358.html#l00424">NL3D::CSegRemanence::setAnimatedMaterial()</a>. +<p> +<div class="fragment"><pre>00154 { +00155 _Father= father; _FatherOwnerBit= fatherOwnerBit; +00156 +00157 <span class="comment">// propagate the touch to the fathers.</span> +00158 <a class="code" href="a02197.html#NL3D_1_1IAnimatabled0">propagateTouch</a>(); +00159 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformableb2" doxytag="NL3D::CAnimatedMaterial::setFlag" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IAnimatable::setFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method set a bit in the bitset. +<p> + +<p> +Definition at line <a class="el" href="a05434.html#l00239">239</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00206">NL3D::IAnimatable::_BitSet</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, and <a class="el" href="a05434.html#l00168">NL3D::IAnimatable::touch()</a>. +<p> +<div class="fragment"><pre>00240 { +00241 _BitSet|= (1<<valueId); +00242 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialz13_2" doxytag="NL3D::CAnimatedMaterial::setMaterial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CAnimatedMaterial::setMaterial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02839.html">CMaterial</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>pMat</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the material context for this animated material. This method:<ul> +<li>store a RefPtr on the material, for future anim update.</li></ul> + +<p> +Definition at line <a class="el" href="a05437.html#l00182">182</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05438.html#l00252">_Material</a>. +<p> +Referenced by <a class="el" href="a06360.html#l00150">NL3D::CSegRemanenceShape::createInstance()</a>, and <a class="el" href="a05991.html#l00261">NL3D::CMeshBase::instanciateMeshBase()</a>. +<p> +<div class="fragment"><pre>00183 { +00184 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>= pMat; +00185 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITransformablez5_3" doxytag="NL3D::CAnimatedMaterial::touch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::IAnimatable::touch </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>valueId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>ownerValueId</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Touch a value because it has been modified.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>valueId</em> </td><td>is the animated value ID in the object we want to touch. </td></tr> + <tr><td valign=top><em>ownerValueId</em> </td><td>is the bit of the <a class="el" href="a02197.html">IAnimatable</a> part which owns this animated value.</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05434.html#l00168">168</a> of file <a class="el" href="a05434.html">animatable.h</a>. +<p> +References <a class="el" href="a05434.html#l00212">NL3D::IAnimatable::propagateTouch()</a>, <a class="el" href="a05434.html#l00239">NL3D::IAnimatable::setFlag()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a05543.html#l00154">NL3D::CChannelMixer::eval()</a>, <a class="el" href="a05543.html#l00083">NL3D::CChannelMixer::evalSingleChannel()</a>, <a class="el" href="a06148.html#l00249">NL3D::CParticleSystemModel::reallocRsc()</a>, <a class="el" href="a05543.html#l00621">NL3D::CChannelMixer::refreshList()</a>, <a class="el" href="a05531.html#l00154">NL3D::CCamera::setFov()</a>, <a class="el" href="a06575.html#l00162">NL3D::ITransformable::setPivot()</a>, <a class="el" href="a06575.html#l00114">NL3D::ITransformable::setPos()</a>, <a class="el" href="a05531.html#l00147">NL3D::CCamera::setRoll()</a>, <a class="el" href="a06575.html#l00126">NL3D::ITransformable::setRotEuler()</a>, <a class="el" href="a06575.html#l00138">NL3D::ITransformable::setRotQuat()</a>, <a class="el" href="a06575.html#l00145">NL3D::ITransformable::setScale()</a>, <a class="el" href="a05531.html#l00135">NL3D::CCamera::setTargetPos()</a>, <a class="el" href="a06575.html#l00100">NL3D::ITransformable::setTransformMode()</a>, and <a class="el" href="a06144.html#l00100">NL3D::CParticleSystemInstanceUser::setUserParam()</a>. +<p> +<div class="fragment"><pre>00169 { +00170 <span class="comment">// Set the bit</span> +00171 <a class="code" href="a02197.html#NL3D_1_1ITransformableb2">setFlag</a>(valueId); +00172 <span class="comment">// Set the owner bit</span> +00173 <a class="code" href="a02197.html#NL3D_1_1ITransformableb2">setFlag</a>(ownerValueId); +00174 +00175 <span class="comment">// propagate the touch to the fathers.</span> +00176 <a class="code" href="a02197.html#NL3D_1_1IAnimatabled0">propagateTouch</a>(); +00177 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMateriala0" doxytag="NL3D::CAnimatedMaterial::update" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CAnimatedMaterial::update </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Check if The animated material is touched, and if necessary update the stored material (if any). Texture animation: for now, texture animation is possible only on stage 0. If TextureValue flag is touched (ie a texture anim track is linked to the animated value), <a class="el" href="a02198.html#NL3D_1_1CAnimatedMateriala0">update()</a> look into the <a class="el" href="a02846.html">CMaterialBase</a> what texture to set. If the track gives a bad Id for the texture, no-op. +<p> +Definition at line <a class="el" href="a05437.html#l00197">197</a> of file <a class="el" href="a05437.html">animated_material.cpp</a>. +<p> +References <a class="el" href="a05438.html#l00255">_Ambient</a>, <a class="el" href="a05438.html#l00256">_Diffuse</a>, <a class="el" href="a05438.html#l00259">_Emissive</a>, <a class="el" href="a05438.html#l00252">_Material</a>, <a class="el" href="a05438.html#l00250">_MaterialBase</a>, <a class="el" href="a05438.html#l00260">_Opacity</a>, <a class="el" href="a05438.html#l00258">_Shininess</a>, <a class="el" href="a05438.html#l00257">_Specular</a>, <a class="el" href="a05438.html#l00281">_TexAnimatedMatValues</a>, <a class="el" href="a05438.html#l00261">_Texture</a>, <a class="el" href="a05438.html#l00267">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_UScale</a>, <a class="el" href="a05438.html#l00265">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_UTrans</a>, <a class="el" href="a05438.html#l00268">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_VScale</a>, <a class="el" href="a05438.html#l00266">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_VTrans</a>, <a class="el" href="a05438.html#l00269">NL3D::CAnimatedMaterial::CTexAnimatedMatValues::_WRot</a>, <a class="el" href="a06340.html#l00340">NLMISC::CRGBA::A</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw1">AmbientValue</a>, <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a05434.html#l00233">NL3D::IAnimatable::clearFlag()</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw3">DiffuseValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw4">EmissiveValue</a>, <a class="el" href="a05969.html#l00047">NL3D::IDRV_MAT_MAXTEXTURES</a>, <a class="el" href="a05434.html#l00184">NL3D::IAnimatable::isTouched()</a>, <a class="el" href="a05972.html#l01244">NLMISC::CMatrix::mulVector()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw6">OpacityValue</a>, <a class="el" href="a05972.html#l00267">NLMISC::CMatrix::setPos()</a>, <a class="el" href="a05972.html#l00209">NLMISC::CMatrix::setRot()</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw8">ShininessValue</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw9">SpecularValue</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>, <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw11">TextureValue</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05442.html#l00116">NL3D::CAnimatedValueBlendable< sint32 >::Value</a>, <a class="el" href="a05442.html#l00116">NL3D::CAnimatedValueBlendable< float >::Value</a>, and <a class="el" href="a05442.html#l00116">NL3D::CAnimatedValueBlendable< T >::Value</a>. +<p> +Referenced by <a class="el" href="a06358.html#l00458">NL3D::CSegRemanence::traverseAnimDetail()</a>. +<p> +<div class="fragment"><pre>00198 { +00199 <span class="keywordflow">if</span>(<a class="code" href="a02197.html#NL3D_1_1ITransformablez5_0">isTouched</a>(OwnerBit) && <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>!=NULL <span class="comment">/*&& _Material->isLighted()*/</span>) +00200 { +00201 +00202 <span class="comment">// well, just update all... :)</span> +00203 +00204 <span class="comment">// diffuse part.</span> +00205 <a class="code" href="a03337.html">CRGBA</a> diff= <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr1">_Diffuse</a>.Value; +00206 <a class="code" href="a04558.html#a14">sint</a> c= (<a class="code" href="a04558.html#a14">sint</a>)(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr5">_Opacity</a>.Value*255); +00207 <a class="code" href="a05378.html#a374">clamp</a>(c, 0, 255); +00208 diff.<a class="code" href="a03337.html#NLMISC_1_1CRGBAo0">A</a>= c; +00209 +00210 <span class="comment">// setup material.</span> +00211 <span class="keywordflow">if</span> (<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>->isLighted()) +00212 { +00213 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>->setLighting(<span class="keyword">true</span>, <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr2">_Emissive</a>.Value, <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr0">_Ambient</a>.Value, diff, <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr7">_Specular</a>.Value, <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr6">_Shininess</a>.Value); +00214 } +00215 <span class="keywordflow">else</span> +00216 { +00217 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>->setColor(diff); +00218 } +00219 +00220 <span class="comment">// clear flags.</span> +00221 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(AmbientValue); +00222 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(DiffuseValue); +00223 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(SpecularValue); +00224 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(ShininessValue); +00225 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(EmissiveValue); +00226 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(OpacityValue); +00227 +00228 +00229 <span class="comment">// Texture Anim.</span> +00230 <span class="keywordflow">if</span>(<a class="code" href="a02197.html#NL3D_1_1ITransformablez5_0">isTouched</a>(TextureValue)) +00231 { +00232 <a class="code" href="a04199.html#a6">nlassert</a>(_MaterialBase); +00233 +00234 <a class="code" href="a04558.html#a11">uint32</a> <span class="keywordtype">id</span>= <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr9">_Texture</a>.Value; +00235 <span class="keywordflow">if</span>(<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->validAnimatedTexture(<span class="keywordtype">id</span>)) +00236 { +00237 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>->setTexture(0, <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">_MaterialBase</a>->getAnimatedTexture(<span class="keywordtype">id</span>) ); +00238 } +00239 <a class="code" href="a02197.html#NL3D_1_1ITransformableb1">clearFlag</a>(TextureValue); +00240 } +00241 +00242 <span class="comment">// Get texture matrix from animated value to setup the material</span> +00243 <a class="code" href="a04558.html#a15">uint</a> flagIndex = <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialz17_0NL3D_1_1CAnimatedMaterialw10">TextureMatValues</a>; +00244 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>; ++k) +00245 { +00246 <span class="keywordflow">if</span> (<a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>->isUserTexMatEnabled(k)) +00247 { +00248 <span class="keyword">const</span> CTexAnimatedMatValues &texMatAV = <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">_TexAnimatedMatValues</a>[k]; +00249 +00250 CMatrix convMat; <span class="comment">// exported v are already inverted (todo : optim this if needed, this matrix shouldn't be necessary)</span> +00251 convMat.setRot(CVector::I, -CVector::J, CVector::K); +00252 convMat.setPos(CVector::J); +00253 <span class="keywordtype">float</span> fCos = cosf(texMatAV._WRot.Value); +00254 <span class="keywordtype">float</span> fSin = sinf(texMatAV._WRot.Value); +00255 CMatrix SR; +00256 SR.setRot(CVector(texMatAV._UScale.Value * fCos, texMatAV._VScale.Value * fSin, 0.f), +00257 CVector(- texMatAV._UScale.Value * fSin, texMatAV._VScale.Value * fCos, 0.f), +00258 CVector::K); +00259 CVector half(0.5f, 0.5f, 0.f); +00260 SR.setPos(SR.mulVector(- half - CVector(texMatAV._UTrans.Value, texMatAV._VTrans.Value, 0.f)) + half); +00261 <a class="code" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">_Material</a>->setUserTexMat(k, convMat * SR * convMat); +00262 } +00263 } +00264 +00265 <span class="comment">// We are OK!</span> +00266 IAnimatable::clearFlag(OwnerBit); +00267 } +00268 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr0" doxytag="NL3D::CAnimatedMaterial::_Ambient" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueRGBA</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr0">NL3D::CAnimatedMaterial::_Ambient</a><code> [private]</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="a05438.html#l00255">255</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr1" doxytag="NL3D::CAnimatedMaterial::_Diffuse" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueRGBA</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr1">NL3D::CAnimatedMaterial::_Diffuse</a><code> [private]</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="a05438.html#l00256">256</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr2" doxytag="NL3D::CAnimatedMaterial::_Emissive" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueRGBA</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr2">NL3D::CAnimatedMaterial::_Emissive</a><code> [private]</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="a05438.html#l00259">259</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr3" doxytag="NL3D::CAnimatedMaterial::_Material" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03321.html">CRefPtr</a><<a class="el" href="a02839.html">CMaterial</a>> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr3">NL3D::CAnimatedMaterial::_Material</a><code> [private]</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="a05438.html#l00252">252</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00182">setMaterial()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr4" doxytag="NL3D::CAnimatedMaterial::_MaterialBase" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03321.html">CRefPtr</a><<a class="el" href="a02846.html">CMaterialBase</a>> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr4">NL3D::CAnimatedMaterial::_MaterialBase</a><code> [private]</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="a05438.html#l00250">250</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00340">getDefaultTrack()</a>, <a class="el" href="a05437.html#l00189">getMaterialName()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr5" doxytag="NL3D::CAnimatedMaterial::_Opacity" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueFloat</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr5">NL3D::CAnimatedMaterial::_Opacity</a><code> [private]</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="a05438.html#l00260">260</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr6" doxytag="NL3D::CAnimatedMaterial::_Shininess" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueFloat</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr6">NL3D::CAnimatedMaterial::_Shininess</a><code> [private]</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="a05438.html#l00258">258</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr7" doxytag="NL3D::CAnimatedMaterial::_Specular" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueRGBA</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr7">NL3D::CAnimatedMaterial::_Specular</a><code> [private]</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="a05438.html#l00257">257</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr8" doxytag="NL3D::CAnimatedMaterial::_TexAnimatedMatValues" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02199.html">CTexAnimatedMatValues</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr8">NL3D::CAnimatedMaterial::_TexAnimatedMatValues</a>[<a class="el" href="a05363.html#a83">IDRV_MAT_MAXTEXTURES</a>]<code> [private]</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="a05438.html#l00281">281</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00159">CAnimatedMaterial()</a>, <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CAnimatedMaterialr9" doxytag="NL3D::CAnimatedMaterial::_Texture" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02201.html">CAnimatedValueInt</a> <a class="el" href="a02198.html#NL3D_1_1CAnimatedMaterialr9">NL3D::CAnimatedMaterial::_Texture</a><code> [private]</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="a05438.html#l00261">261</a> of file <a class="el" href="a05438.html">animated_material.h</a>. +<p> +Referenced by <a class="el" href="a05437.html#l00272">getValue()</a>, and <a class="el" href="a05437.html#l00197">update()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05438.html">animated_material.h</a><li><a class="el" href="a05437.html">animated_material.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:44:22 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |