Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 2887

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: iDecalTemplate Struct Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>iDecalTemplate Struct Reference<br>
<small>
[<a class="el" href="group__geom__utils.html">Geometry utilities</a>]</small>
</h1><!-- doxytag: class="iDecalTemplate" --><!-- doxytag: inherits="iBase" -->Interface for a decal template which dictates the appearance of a newly created decal.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="decal_8h-source.html">ivaria/decal.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for iDecalTemplate:</div>
<div class="dynsection">
<p><center><img src="structiDecalTemplate__inherit__graph.png" border="0" usemap="#iDecalTemplate__inherit__map" alt="Inheritance graph"></center>
<map name="iDecalTemplate__inherit__map">
<area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="36,7,92,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structiDecalTemplate-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#b4e8710f583bdbfec7ee1af189a9b664">GetBottomClippingScale</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the distance between the decal position and the bottom clipping plane as a multiple of decal size.  <a href="#b4e8710f583bdbfec7ee1af189a9b664"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#be0379fb171ae70b1ffa759c1cae3860">GetBottomColor</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The color to give vertices close to the bottom of the decal.  <a href="#be0379fb171ae70b1ffa759c1cae3860"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#71ac553ec0688f18c0cd47b3a9d2b4b2">GetDecalOffset</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A decal will be offset a bit from the geometry it wraps around in order to avoid z-buffer fighting issues.  <a href="#71ac553ec0688f18c0cd47b3a9d2b4b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#a5efc18f6131da888c1f1b55d1bfa0cf">GetMainColor</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The main color of the decal.  <a href="#a5efc18f6131da888c1f1b55d1bfa0cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <br>
<a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#c00286ea51a088ae6cd2518ae3d70c42">GetMaterialWrapper</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the material wrapper to use for this decal.  <a href="#c00286ea51a088ae6cd2518ae3d70c42"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsVector2.html">csVector2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#9692873c21a106ea95ae055d3ed0b0f7">GetMaxTexCoord</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The max tex coord is the uv coordinate of the bottom-right corner of the decal.  <a href="#9692873c21a106ea95ae055d3ed0b0f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsVector2.html">csVector2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#aea3833b90700921f753864f312c459e">GetMinTexCoord</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The min tex coord is the uv coordinate of the top-left corner of the decal.  <a href="#aea3833b90700921f753864f312c459e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#c94d39020125a581eebfac4ec1ba629c">GetMixMode</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The mixmode of the decal.  <a href="#c94d39020125a581eebfac4ec1ba629c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#f4f581c09ddc9807e9e83a8c07ea4d5d">GetPerpendicularFaceOffset</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The perpendicular face offset specifies how much perpendicular faces in the decal will taper out.  <a href="#f4f581c09ddc9807e9e83a8c07ea4d5d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#47de41686d028d8cd7a9f379e4d52527">GetPerpendicularFaceThreshold</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The perpendicular face threshold specifies which faces are considered to be perpendicular in the decal.  <a href="#47de41686d028d8cd7a9f379e4d52527"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#afd94faaf1f3d078aef59fd3088cf753">GetPolygonNormalThreshold</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the polygon normal threshold for this decal.  <a href="#afd94faaf1f3d078aef59fd3088cf753"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#8abe3039515a0a932082c34b2acdc54a">GetRenderPriority</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the rendering priority for this decal.  <a href="#8abe3039515a0a932082c34b2acdc54a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#ae309708e9ad479d84fb54b084399c21">GetTimeToLive</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the time the decal will have to live in seconds before it is killed.  <a href="#ae309708e9ad479d84fb54b084399c21"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#988f1cf27a56a9acc998a552ebb8835d">GetTopClippingScale</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the distance between the decal position and the top clipping plane as a multiple of decal size.  <a href="#988f1cf27a56a9acc998a552ebb8835d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#51cdfedac52f440473f4b291b7c28247">GetTopColor</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The color to give vertices close to the top of the decal.  <a href="#51cdfedac52f440473f4b291b7c28247"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="group__gfx3d.html#g79fdaed7abd7a72af33d0f0c5dc99055">csZBufMode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#4b49ae883d755884110c0aee92db0fd8">GetZBufMode</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the z-buffer mode for this decal.  <a href="#4b49ae883d755884110c0aee92db0fd8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#a3c7a9390400d14b10097212c5cabdb2">HasBottomClipping</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether or not this type of decal will have its geometry clipped against a plane below the decal.  <a href="#a3c7a9390400d14b10097212c5cabdb2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#9c72e2c366e6eac3a320b6f20f3846e2">HasTopClipping</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether or not this type of decal will have its geometry clipped against a plane above the decal.  <a href="#9c72e2c366e6eac3a320b6f20f3846e2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#c853fa9e8ad06163c0132357908ceb44">SetBottomClipping</a> (bool enabled, float bottomPlaneScale)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables or disables clipping geometry below the decal.  <a href="#c853fa9e8ad06163c0132357908ceb44"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#15e7cce34867393405cddf3f29506b50">SetBottomColor</a> (const <a class="el" href="classcsColor4.html">csColor4</a> &amp;color)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The color to give vertices close to the bottom of the decal.  <a href="#15e7cce34867393405cddf3f29506b50"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#8788b204153017a7f10f392765d98776">SetDecalOffset</a> (float decalOffset)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A decal will be offset a bit from the geometry it wraps around in order to avoid z-buffer fighting issues.  <a href="#8788b204153017a7f10f392765d98776"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#efce844059f2a0162a47104da33abafe">SetMainColor</a> (const <a class="el" href="classcsColor4.html">csColor4</a> &amp;color)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The main color of the decal.  <a href="#efce844059f2a0162a47104da33abafe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#26562dddbb7964ecb086e4e73a10bf17">SetMaterialWrapper</a> (<a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a> *material)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the material wrapper to use for this decal.  <a href="#26562dddbb7964ecb086e4e73a10bf17"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#aca2bcdc25d90edc6a4d7f85c0cacc18">SetMixMode</a> (<a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> mixMode)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The mixmode of the decal.  <a href="#aca2bcdc25d90edc6a4d7f85c0cacc18"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#ae925f64c582ee464a257c897fe8f38e">SetPerpendicularFaceOffset</a> (float offset)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The perpendicular face offset specifies how much perpendicular faces in the decal will taper out.  <a href="#ae925f64c582ee464a257c897fe8f38e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#f7e029de2035f5974cbe02df8061f42f">SetPerpendicularFaceThreshold</a> (float threshold)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The perpendicular face threshold specifies which faces are considered to be perpendicular in the decal.  <a href="#f7e029de2035f5974cbe02df8061f42f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#71956588d7f9283ef95b9fe2007044f1">SetPolygonNormalThreshold</a> (float polygonNormalThreshold)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the polygon normal threshold for this decal.  <a href="#71956588d7f9283ef95b9fe2007044f1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#5353eceebdba69e568774ffb600cd285">SetRenderPriority</a> (long renderPriority)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the rendering priority for this decal.  <a href="#5353eceebdba69e568774ffb600cd285"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#8558e86e116533a412069afeebcdc4ed">SetTexCoords</a> (const <a class="el" href="classcsVector2.html">csVector2</a> &amp;min, const <a class="el" href="classcsVector2.html">csVector2</a> &amp;max)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tex coords are the uv coordinate of the top-left and bottom-right corner of the decal.  <a href="#8558e86e116533a412069afeebcdc4ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#4276196bf16e2b807b12197d6bc252a1">SetTimeToLive</a> (float timeToLive)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the time the decal will have to live in seconds before it is killed.  <a href="#4276196bf16e2b807b12197d6bc252a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#b41052604622057f8bad757950281f45">SetTopClipping</a> (bool enabled, float topPlaneScale=0.0f)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables or disables clipping geometry above the decal.  <a href="#b41052604622057f8bad757950281f45"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#d94901bc1f05cbe75f0339cad88bbceb">SetTopColor</a> (const <a class="el" href="classcsColor4.html">csColor4</a> &amp;color)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The color to give vertices close to the top of the decal.  <a href="#d94901bc1f05cbe75f0339cad88bbceb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structiDecalTemplate.html#8d98b5e81171171eb854eae5d86c68cf">SetZBufMode</a> (<a class="el" href="group__gfx3d.html#g79fdaed7abd7a72af33d0f0c5dc99055">csZBufMode</a> mode)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the z-buffer mode for this decal.  <a href="#8d98b5e81171171eb854eae5d86c68cf"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Interface for a decal template which dictates the appearance of a newly created decal. 
<p>Definition at line <a class="el" href="decal_8h-source.html#l00053">53</a> of file <a class="el" href="decal_8h-source.html">decal.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b4e8710f583bdbfec7ee1af189a9b664"></a><!-- doxytag: member="iDecalTemplate::GetBottomClippingScale" ref="b4e8710f583bdbfec7ee1af189a9b664" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetBottomClippingScale           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the distance between the decal position and the bottom clipping plane as a multiple of decal size. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The bottom clipping plane scale. </dd></dl>

</div>
</div><p>
<a class="anchor" name="be0379fb171ae70b1ffa759c1cae3860"></a><!-- doxytag: member="iDecalTemplate::GetBottomColor" ref="be0379fb171ae70b1ffa759c1cae3860" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsColor4.html">csColor4</a>&amp; iDecalTemplate::GetBottomColor           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The color to give vertices close to the bottom of the decal. 
<p>
The color of a vertex between the decal position and the bottom plane will be interpolated between this color and the main color based on distance from the bottom plane. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The top color of the decal. </dd></dl>

</div>
</div><p>
<a class="anchor" name="71ac553ec0688f18c0cd47b3a9d2b4b2"></a><!-- doxytag: member="iDecalTemplate::GetDecalOffset" ref="71ac553ec0688f18c0cd47b3a9d2b4b2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetDecalOffset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A decal will be offset a bit from the geometry it wraps around in order to avoid z-buffer fighting issues. 
<p>
The greater this offset is, the less chance there is of z fighting, but if this is too high then the decal will appear to be floating.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the decal offset. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a5efc18f6131da888c1f1b55d1bfa0cf"></a><!-- doxytag: member="iDecalTemplate::GetMainColor" ref="a5efc18f6131da888c1f1b55d1bfa0cf" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsColor4.html">csColor4</a>&amp; iDecalTemplate::GetMainColor           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The main color of the decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The main color of the decal. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c00286ea51a088ae6cd2518ae3d70c42"></a><!-- doxytag: member="iDecalTemplate::GetMaterialWrapper" ref="c00286ea51a088ae6cd2518ae3d70c42" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a>* iDecalTemplate::GetMaterialWrapper           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves the material wrapper to use for this decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the material wrapper. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9692873c21a106ea95ae055d3ed0b0f7"></a><!-- doxytag: member="iDecalTemplate::GetMaxTexCoord" ref="9692873c21a106ea95ae055d3ed0b0f7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsVector2.html">csVector2</a>&amp; iDecalTemplate::GetMaxTexCoord           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The max tex coord is the uv coordinate of the bottom-right corner of the decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The max tex coordinate. </dd></dl>

</div>
</div><p>
<a class="anchor" name="aea3833b90700921f753864f312c459e"></a><!-- doxytag: member="iDecalTemplate::GetMinTexCoord" ref="aea3833b90700921f753864f312c459e" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsVector2.html">csVector2</a>&amp; iDecalTemplate::GetMinTexCoord           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The min tex coord is the uv coordinate of the top-left corner of the decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The min tex coordinate. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c94d39020125a581eebfac4ec1ba629c"></a><!-- doxytag: member="iDecalTemplate::GetMixMode" ref="c94d39020125a581eebfac4ec1ba629c" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> iDecalTemplate::GetMixMode           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The mixmode of the decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The mixmode. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f4f581c09ddc9807e9e83a8c07ea4d5d"></a><!-- doxytag: member="iDecalTemplate::GetPerpendicularFaceOffset" ref="f4f581c09ddc9807e9e83a8c07ea4d5d" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetPerpendicularFaceOffset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The perpendicular face offset specifies how much perpendicular faces in the decal will taper out. 
<p>
The bottom of the perpendicular face will taper out by the amount given, but the top of the perpendicular face will not taper at all. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The perpendicular face offset. </dd></dl>

</div>
</div><p>
<a class="anchor" name="47de41686d028d8cd7a9f379e4d52527"></a><!-- doxytag: member="iDecalTemplate::GetPerpendicularFaceThreshold" ref="47de41686d028d8cd7a9f379e4d52527" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetPerpendicularFaceThreshold           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The perpendicular face threshold specifies which faces are considered to be perpendicular in the decal. 
<p>
Perpendicular faces will be tapered outwards by an amount relative to the perpendicular face offset. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The perpendicular face threshold. </dd></dl>

</div>
</div><p>
<a class="anchor" name="afd94faaf1f3d078aef59fd3088cf753"></a><!-- doxytag: member="iDecalTemplate::GetPolygonNormalThreshold" ref="afd94faaf1f3d078aef59fd3088cf753" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetPolygonNormalThreshold           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves the polygon normal threshold for this decal. 
<p>
Values close to 1 will exclude polygons that don't match the decal's normal closely, and values closer to 0 will be more accepting and allow polygons with a very different normal from the decal's normal.<p>
Values between -1 and 0 are acceptable, but will allow polygons that are facing in the opposite direction from the decal to be included.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the polygon threshold. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8abe3039515a0a932082c34b2acdc54a"></a><!-- doxytag: member="iDecalTemplate::GetRenderPriority" ref="8abe3039515a0a932082c34b2acdc54a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual long iDecalTemplate::GetRenderPriority           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves the rendering priority for this decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the rendering priority. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ae309708e9ad479d84fb54b084399c21"></a><!-- doxytag: member="iDecalTemplate::GetTimeToLive" ref="ae309708e9ad479d84fb54b084399c21" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetTimeToLive           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves the time the decal will have to live in seconds before it is killed. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The time to live in seconds. </dd></dl>

</div>
</div><p>
<a class="anchor" name="988f1cf27a56a9acc998a552ebb8835d"></a><!-- doxytag: member="iDecalTemplate::GetTopClippingScale" ref="988f1cf27a56a9acc998a552ebb8835d" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float iDecalTemplate::GetTopClippingScale           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the distance between the decal position and the top clipping plane as a multiple of decal size. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The top clipping plane scale. </dd></dl>

</div>
</div><p>
<a class="anchor" name="51cdfedac52f440473f4b291b7c28247"></a><!-- doxytag: member="iDecalTemplate::GetTopColor" ref="51cdfedac52f440473f4b291b7c28247" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classcsColor4.html">csColor4</a>&amp; iDecalTemplate::GetTopColor           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The color to give vertices close to the top of the decal. 
<p>
The color of a vertex between the decal position and the top plane will be interpolated between this color and the main color based on distance from the top plane. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The top color of the decal. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4b49ae883d755884110c0aee92db0fd8"></a><!-- doxytag: member="iDecalTemplate::GetZBufMode" ref="4b49ae883d755884110c0aee92db0fd8" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__gfx3d.html#g79fdaed7abd7a72af33d0f0c5dc99055">csZBufMode</a> iDecalTemplate::GetZBufMode           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves the z-buffer mode for this decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the z-buffer mode. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a3c7a9390400d14b10097212c5cabdb2"></a><!-- doxytag: member="iDecalTemplate::HasBottomClipping" ref="a3c7a9390400d14b10097212c5cabdb2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool iDecalTemplate::HasBottomClipping           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether or not this type of decal will have its geometry clipped against a plane below the decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if bottom clipping is enabled. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9c72e2c366e6eac3a320b6f20f3846e2"></a><!-- doxytag: member="iDecalTemplate::HasTopClipping" ref="9c72e2c366e6eac3a320b6f20f3846e2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool iDecalTemplate::HasTopClipping           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether or not this type of decal will have its geometry clipped against a plane above the decal. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if top clipping is enabled. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c853fa9e8ad06163c0132357908ceb44"></a><!-- doxytag: member="iDecalTemplate::SetBottomClipping" ref="c853fa9e8ad06163c0132357908ceb44" args="(bool enabled, float bottomPlaneScale)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetBottomClipping           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>enabled</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>bottomPlaneScale</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables or disables clipping geometry below the decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>enabled</em>&nbsp;</td><td>True if bottom clipping should be enabled. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bottomPlaneScale</em>&nbsp;</td><td>The distance from the decal position to the bottom plane as a multiple of decal size. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="15e7cce34867393405cddf3f29506b50"></a><!-- doxytag: member="iDecalTemplate::SetBottomColor" ref="15e7cce34867393405cddf3f29506b50" args="(const csColor4 &amp;color)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetBottomColor           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>color</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The color to give vertices close to the bottom of the decal. 
<p>
The color of a vertex between the decal position and the bottom plane will be interpolated between this color and the main color based on distance from the bottom plane. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>The top color of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="8788b204153017a7f10f392765d98776"></a><!-- doxytag: member="iDecalTemplate::SetDecalOffset" ref="8788b204153017a7f10f392765d98776" args="(float decalOffset)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetDecalOffset           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>decalOffset</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A decal will be offset a bit from the geometry it wraps around in order to avoid z-buffer fighting issues. 
<p>
The greater this offset is, the less chance there is of z fighting, but if this is too high then the decal will appear to be floating.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>decalOffset</em>&nbsp;</td><td>The distance between decal and the geometry. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="efce844059f2a0162a47104da33abafe"></a><!-- doxytag: member="iDecalTemplate::SetMainColor" ref="efce844059f2a0162a47104da33abafe" args="(const csColor4 &amp;color)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetMainColor           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>color</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The main color of the decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>The main color of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="26562dddbb7964ecb086e4e73a10bf17"></a><!-- doxytag: member="iDecalTemplate::SetMaterialWrapper" ref="26562dddbb7964ecb086e4e73a10bf17" args="(iMaterialWrapper *material)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetMaterialWrapper           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structiMaterialWrapper.html">iMaterialWrapper</a> *&nbsp;</td>
          <td class="paramname"> <em>material</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the material wrapper to use for this decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>material</em>&nbsp;</td><td>The material wrapper of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="aca2bcdc25d90edc6a4d7f85c0cacc18"></a><!-- doxytag: member="iDecalTemplate::SetMixMode" ref="aca2bcdc25d90edc6a4d7f85c0cacc18" args="(uint mixMode)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetMixMode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&nbsp;</td>
          <td class="paramname"> <em>mixMode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The mixmode of the decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mixMode</em>&nbsp;</td><td>The mixmode of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="ae925f64c582ee464a257c897fe8f38e"></a><!-- doxytag: member="iDecalTemplate::SetPerpendicularFaceOffset" ref="ae925f64c582ee464a257c897fe8f38e" args="(float offset)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetPerpendicularFaceOffset           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>offset</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The perpendicular face offset specifies how much perpendicular faces in the decal will taper out. 
<p>
The bottom of the perpendicular face will taper out by the amount given, but the top of the perpendicular face will not taper at all. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The new perpendicular face offset. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="f7e029de2035f5974cbe02df8061f42f"></a><!-- doxytag: member="iDecalTemplate::SetPerpendicularFaceThreshold" ref="f7e029de2035f5974cbe02df8061f42f" args="(float threshold)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetPerpendicularFaceThreshold           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>threshold</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The perpendicular face threshold specifies which faces are considered to be perpendicular in the decal. 
<p>
Perpendicular faces will be tapered outwards by an amount relative to the perpendicular face offset. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>threshold</em>&nbsp;</td><td>The new perpendicular face threshold. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="71956588d7f9283ef95b9fe2007044f1"></a><!-- doxytag: member="iDecalTemplate::SetPolygonNormalThreshold" ref="71956588d7f9283ef95b9fe2007044f1" args="(float polygonNormalThreshold)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetPolygonNormalThreshold           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>polygonNormalThreshold</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the polygon normal threshold for this decal. 
<p>
Values close to 1 will exclude polygons that don't match the decal's normal closely, and values closer to 0 will be more accepting and allow polygons with a very different normal from the decal's normal.<p>
Values between -1 and 0 are acceptable, but will allow polygons that are facing in the opposite direction from the decal to be included.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>polygonNormalThreshold</em>&nbsp;</td><td>The polygon normal threshold. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="5353eceebdba69e568774ffb600cd285"></a><!-- doxytag: member="iDecalTemplate::SetRenderPriority" ref="5353eceebdba69e568774ffb600cd285" args="(long renderPriority)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetRenderPriority           </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>renderPriority</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the rendering priority for this decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>renderPriority</em>&nbsp;</td><td>The render priority of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="8558e86e116533a412069afeebcdc4ed"></a><!-- doxytag: member="iDecalTemplate::SetTexCoords" ref="8558e86e116533a412069afeebcdc4ed" args="(const csVector2 &amp;min, const csVector2 &amp;max)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetTexCoords           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsVector2.html">csVector2</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classcsVector2.html">csVector2</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>max</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The tex coords are the uv coordinate of the top-left and bottom-right corner of the decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>min</em>&nbsp;</td><td>The top-left corner of the decal. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>max</em>&nbsp;</td><td>The bottom-right corner of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="4276196bf16e2b807b12197d6bc252a1"></a><!-- doxytag: member="iDecalTemplate::SetTimeToLive" ref="4276196bf16e2b807b12197d6bc252a1" args="(float timeToLive)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetTimeToLive           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>timeToLive</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the time the decal will have to live in seconds before it is killed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeToLive</em>&nbsp;</td><td>The time to live in seconds. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="b41052604622057f8bad757950281f45"></a><!-- doxytag: member="iDecalTemplate::SetTopClipping" ref="b41052604622057f8bad757950281f45" args="(bool enabled, float topPlaneScale=0.0f)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetTopClipping           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>enabled</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>topPlaneScale</em> = <code>0.0f</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Enables or disables clipping geometry above the decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>enabled</em>&nbsp;</td><td>True if top clipping should be enabled. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>topPlaneScale</em>&nbsp;</td><td>The distance from the decal position to the top plane as a multiple of decal size. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="d94901bc1f05cbe75f0339cad88bbceb"></a><!-- doxytag: member="iDecalTemplate::SetTopColor" ref="d94901bc1f05cbe75f0339cad88bbceb" args="(const csColor4 &amp;color)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetTopColor           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcsColor4.html">csColor4</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>color</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The color to give vertices close to the top of the decal. 
<p>
The color of a vertex between the decal position and the top plane will be interpolated between this color and the main color based on distance from the top plane. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>color</em>&nbsp;</td><td>The top color of the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="8d98b5e81171171eb854eae5d86c68cf"></a><!-- doxytag: member="iDecalTemplate::SetZBufMode" ref="8d98b5e81171171eb854eae5d86c68cf" args="(csZBufMode mode)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void iDecalTemplate::SetZBufMode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gfx3d.html#g79fdaed7abd7a72af33d0f0c5dc99055">csZBufMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the z-buffer mode for this decal. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>The z-buffer mode for the decal. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>ivaria/<a class="el" href="decal_8h-source.html">decal.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>