aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03094.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03094.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03094.html')
-rw-r--r--docs/doxygen/nel/a03094.html2218
1 files changed, 2218 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03094.html b/docs/doxygen/nel/a03094.html
new file mode 100644
index 00000000..aaa112a5
--- /dev/null
+++ b/docs/doxygen/nel/a03094.html
@@ -0,0 +1,2218 @@
+<!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::CPointLightNamed 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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CPointLightNamed Class Reference</h1><code>#include &lt;<a class="el" href="a06185.html">point_light_named.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CPointLightNamed:
+<p><center><img src="a03094.png" usemap="#NL3D::CPointLightNamed_map" border="0" alt=""></center>
+<map name="NL3D::CPointLightNamed_map">
+<area href="a03091.html" alt="NL3D::CPointLight" shape="rect" coords="0,0,153,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A pointLight with a name, and a default color setup. The current setup is the setup in <a class="el" href="a03091.html">CPointLight</a>. A <a class="el" href="a03094.html">CPointLightNamed</a> influence can also be interpolated with a <a class="el" href="a02745.html">CLightInfluenceInterpolator</a>. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <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="a06185.html#l00048">48</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef TTransformList::iterator&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a03445.html">NLMISC::CSTLBlockList</a>&lt;<br>
+ <a class="el" href="a02316.html">CTransform</a> * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw4">TTransformList</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The list of model this light influence. <a href="#NL3D_1_1CPointLightNamedw4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5">TType</a> { <a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw2">PointLight</a> = 0,
+<a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw3">SpotLight</a>,
+<a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw0">AmbientLight</a>
+ }</td></tr>
+
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda0">CPointLightNamed</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CPointLightNameda0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda1">getDefaultAmbient</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the Default ambient color of the light. <a href="#NL3D_1_1CPointLightNameda1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda2">getDefaultDiffuse</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the Default diffuse color of the light. <a href="#NL3D_1_1CPointLightNameda2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda3">getDefaultSpecular</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the Default specular color of the light. <a href="#NL3D_1_1CPointLightNameda3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda4">getUnAnimatedDiffuse</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the unanimated diffuse (used for Landscape) <a href="#NL3D_1_1CPointLightNameda4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda5">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the ambient color of the light. <a href="#NL3D_1_1CPointLightNameda5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda6">setDefaultAmbient</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> ambient)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Default ambient color of the light. Default to Black. <a href="#NL3D_1_1CPointLightNameda6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda7">setDefaultDiffuse</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> diffuse)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Default diffuse color of the light. Default to White. <a href="#NL3D_1_1CPointLightNameda7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda8">setDefaultSpecular</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> specular)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the Default specular color of the light. Default to White. <a href="#NL3D_1_1CPointLightNameda8"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda9">setLightFactor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> nAnimatedFactor, <a class="el" href="a03337.html">NLMISC::CRGBA</a> nUnAnimatedFactor)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNameda10">setLightFactor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> nFactor)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Render tools.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_0">appendLightedModel</a> (<a class="el" href="a02316.html">CTransform</a> *model)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">append a model to the list. called by <a class="el" href="a02747.html">CLightingManager</a>. <a href="#NL3D_1_1CPointLightNamedz695_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_1">computeLinearAttenuation</a> (const <a class="el" href="a03128.html">CVector</a> &amp;pos, float precomputedDist, float modelRadius=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_2">computeLinearAttenuation</a> (const <a class="el" href="a03128.html">CVector</a> &amp;pos) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute a linear attenuation from a point according to attenuation and spot setup. Return [0,1]. <a href="#NL3D_1_1CPointLightNamedz695_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_3">removeLightedModel</a> (<a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a> it)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove a model from the list. called by <a class="el" href="a02316.html">CTransform</a>. <a href="#NL3D_1_1CPointLightNamedz695_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_4">resetLightedModels</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dirt all models this light influence. <a href="#NL3D_1_1CPointLightNamedz695_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_5">setupDriverLight</a> (<a class="el" href="a02743.html">CLight</a> &amp;light, <a class="el" href="a04558.html#a7">uint8</a> factor)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the <a class="el" href="a02743.html">CLight</a> with current pointLight state. factor is used to modulate the colors. <a href="#NL3D_1_1CPointLightNamedz695_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_6">setupDriverLightUserAttenuation</a> (<a class="el" href="a02743.html">CLight</a> &amp;light, <a class="el" href="a04558.html#a7">uint8</a> factor)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Render tools.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_0">appendLightedModel</a> (<a class="el" href="a02316.html">CTransform</a> *model)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">append a model to the list. called by <a class="el" href="a02747.html">CLightingManager</a>. <a href="#NL3D_1_1CPointLightNamedz695_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_1">computeLinearAttenuation</a> (const <a class="el" href="a03128.html">CVector</a> &amp;pos, float precomputedDist, float modelRadius=0) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_2">computeLinearAttenuation</a> (const <a class="el" href="a03128.html">CVector</a> &amp;pos) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute a linear attenuation from a point according to attenuation and spot setup. Return [0,1]. <a href="#NL3D_1_1CPointLightNamedz695_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_3">removeLightedModel</a> (<a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a> it)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove a model from the list. called by <a class="el" href="a02316.html">CTransform</a>. <a href="#NL3D_1_1CPointLightNamedz695_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_4">resetLightedModels</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dirt all models this light influence. <a href="#NL3D_1_1CPointLightNamedz695_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_5">setupDriverLight</a> (<a class="el" href="a02743.html">CLight</a> &amp;light, <a class="el" href="a04558.html#a7">uint8</a> factor)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">setup the <a class="el" href="a02743.html">CLight</a> with current pointLight state. factor is used to modulate the colors. <a href="#NL3D_1_1CPointLightNamedz695_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz695_6">setupDriverLightUserAttenuation</a> (<a class="el" href="a02743.html">CLight</a> &amp;light, <a class="el" href="a04558.html#a7">uint8</a> factor)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Light setup</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_0">getAmbient</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the ambient color of the light. <a href="#NL3D_1_1CPointLightNamedz693_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_1">getAttenuationBegin</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the begin radius of the attenuation. <a href="#NL3D_1_1CPointLightNamedz693_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_2">getAttenuationEnd</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the end radius of the attenuation. <a href="#NL3D_1_1CPointLightNamedz693_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_3">getDiffuse</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the diffuse color of the light. <a href="#NL3D_1_1CPointLightNamedz693_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_4">getPosition</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the position in WorldSpace. <a href="#NL3D_1_1CPointLightNamedz693_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_5">getSpecular</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the specular color of the light. <a href="#NL3D_1_1CPointLightNamedz693_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_6">getSpotAngleBegin</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the begin radius of the SpotAngles. <a href="#NL3D_1_1CPointLightNamedz693_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_7">getSpotAngleEnd</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the end radius of the SpotAngles. <a href="#NL3D_1_1CPointLightNamedz693_7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_8">getSpotDirection</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the spot Direction <a href="#NL3D_1_1CPointLightNamedz693_8"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5">TType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_9">getType</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the ambient color of the light. <a href="#NL3D_1_1CPointLightNamedz693_9"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_10">setAmbient</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> ambient)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the ambient color of the light. Default to Black. <a href="#NL3D_1_1CPointLightNamedz693_10"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_11">setColor</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> color)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the diffuse and specular color of the light to the same value. don't modify _Ambient. <a href="#NL3D_1_1CPointLightNamedz693_11"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_12">setDiffuse</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> diffuse)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the diffuse color of the light. Default to White. <a href="#NL3D_1_1CPointLightNamedz693_12"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_13">setPosition</a> (const <a class="el" href="a03128.html">CVector</a> &amp;<a class="el" href="a04223.html#a576">v</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the position in WorldSpace. <a href="#NL3D_1_1CPointLightNamedz693_13"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_14">setSpecular</a> (<a class="el" href="a03337.html">NLMISC::CRGBA</a> specular)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the specular color of the light. Default to White. <a href="#NL3D_1_1CPointLightNamedz693_14"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_15">setType</a> (<a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5">TType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set/get the type of the light. <a href="#NL3D_1_1CPointLightNamedz693_15"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_16">setupAttenuation</a> (float attenuationBegin, float attenuationEnd)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_17">setupSpotAngle</a> (float spotAngleBegin, float spotAngleEnd)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_18">setupSpotDirection</a> (const <a class="el" href="a03128.html">CVector</a> &amp;dir)</td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03091.html#NL3D_1_1CPointLightNamede0">purge</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedo0">AnimatedLight</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Animation used by this light. <a href="#NL3D_1_1CPointLightNamedo0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedo1">LightGroup</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Group of the light. <a href="#NL3D_1_1CPointLightNamedo1"></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="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr0">_DefaultAmbient</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr1">_DefaultDiffuse</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr2">_DefaultSpecular</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr3">_IdInInfluenceList</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr4">_UnAnimatedDiffuse</a></td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03094.html#NL3D_1_1CPointLightNamedn0">CLightInfluenceInterpolator</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPointLightNamedw1" doxytag="NL3D::CPointLightNamed::ItTransformList" ></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"> typedef TTransformList::iterator <a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">NL3D::CPointLight::ItTransformList</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00074">74</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06179.html#l00409">NL3D::CPointLight::appendLightedModel()</a>, and <a class="el" href="a06179.html#l00418">NL3D::CPointLight::removeLightedModel()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedw4" doxytag="NL3D::CPointLightNamed::TTransformList" ></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"> typedef <a class="el" href="a03445.html">NLMISC::CSTLBlockList</a>&lt;<a class="el" href="a02316.html">CTransform</a>*&gt; <a class="el" href="a03445.html">NL3D::CPointLight::TTransformList</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The list of model this light influence.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00073">73</a> of file <a class="el" href="a06180.html">point_light.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPointLightNamedw5" doxytag="NL3D::CPointLightNamed::TType" ></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="a03091.html#NL3D_1_1CPointLightNamedw5">NL3D::CPointLight::TType</a><code> [inherited]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<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_1CPointLightNamedw5NL3D_1_1CPointLightNamedw2" doxytag="PointLight" ></a>PointLight</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw3" doxytag="SpotLight" ></a>SpotLight</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw0" doxytag="AmbientLight" ></a>AmbientLight</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00076">76</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+<div class="fragment"><pre>00077 {
+00078 <span class="comment">// The light is a point.</span>
+00079 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw2">PointLight</a>= 0,
+00080
+00081 <span class="comment">// The light is a spotlight with a cone.</span>
+00082 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw3">SpotLight</a>,
+00083
+00084 <span class="comment">// The light is an Ambient PointLight in an Ig.</span>
+00085 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw0">AmbientLight</a>
+00086 };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPointLightNameda0" doxytag="NL3D::CPointLightNamed::CPointLightNamed" ></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::CPointLightNamed::CPointLightNamed </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06184.html#l00035">35</a> of file <a class="el" href="a06184.html">point_light_named.cpp</a>.
+<p>
+References <a class="el" href="a06185.html#l00102">_DefaultAmbient</a>, <a class="el" href="a06185.html#l00103">_DefaultDiffuse</a>, <a class="el" href="a06185.html#l00104">_DefaultSpecular</a>, <a class="el" href="a06185.html#l00107">_UnAnimatedDiffuse</a>, <a class="el" href="a06180.html#l00129">NL3D::CPointLight::getAmbient()</a>, <a class="el" href="a06180.html#l00131">NL3D::CPointLight::getDiffuse()</a>, and <a class="el" href="a06180.html#l00133">NL3D::CPointLight::getSpecular()</a>.
+<p>
+<div class="fragment"><pre>00036 {
+00037 <span class="comment">// copy setup from current</span>
+00038 <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr0">_DefaultAmbient</a>= <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_0">getAmbient</a>();
+00039 <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr1">_DefaultDiffuse</a>= <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_3">getDiffuse</a>();
+00040 <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr2">_DefaultSpecular</a>= <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_5">getSpecular</a>();
+00041 <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr4">_UnAnimatedDiffuse</a>= <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_3">getDiffuse</a>();
+00042 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_0" doxytag="NL3D::CPointLightNamed::appendLightedModel" ></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="a03091.html#NL3D_1_1CPointLightNamedw1">CPointLight::ItTransformList</a> NL3D::CPointLight::appendLightedModel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02316.html">CTransform</a> *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>model</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+append a model to the list. called by <a class="el" href="a02747.html">CLightingManager</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00409">409</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00241">NL3D::CPointLight::_LightedModels</a>, and <a class="el" href="a06180.html#l00074">NL3D::CPointLight::ItTransformList</a>.
+<p>
+Referenced by <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>.
+<p>
+<div class="fragment"><pre>00410 {
+00411 <span class="comment">// append the entry in the list</span>
+00412 _LightedModels.push_back(model);
+00413 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a> it= _LightedModels.end();
+00414 it--;
+00415 <span class="keywordflow">return</span> it;
+00416 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_1" doxytag="NL3D::CPointLightNamed::computeLinearAttenuation" ></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"> float NL3D::CPointLight::computeLinearAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pos</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>precomputedDist</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>modelRadius</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const<code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Compute a linear attenuation from a point and precomputed distance according to attenuation and spot setup. Return [0,1] <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>modelRadius</em>&nbsp;</td><td>if !0, suppose the point is a sphere, and compute the approximate Max attenuation from every point on this sphere</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00273">273</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00222">NL3D::CPointLight::_AttenuationBegin</a>, <a class="el" href="a06180.html#l00222">NL3D::CPointLight::_AttenuationEnd</a>, <a class="el" href="a06180.html#l00232">NL3D::CPointLight::_CosSpotAngleEnd</a>, <a class="el" href="a06180.html#l00234">NL3D::CPointLight::_OOCosSpotAngleDelta</a>, <a class="el" href="a06180.html#l00223">NL3D::CPointLight::_OODeltaAttenuation</a>, <a class="el" href="a06180.html#l00229">NL3D::CPointLight::_SpotDirection</a>, <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, and <a class="el" href="a05587.html#l00107">NLMISC::sqr()</a>.
+<p>
+<div class="fragment"><pre>00274 {
+00275 <span class="keywordtype">float</span> gAtt;
+00276
+00277 <span class="comment">// Attenuation Distance</span>
+00278 <span class="keywordflow">if</span>(_AttenuationEnd==0)
+00279 gAtt= 1;
+00280 <span class="keywordflow">else</span>
+00281 {
+00282 <span class="keywordtype">float</span> distMinusRadius= dist - modelRadius;
+00283 <span class="keywordflow">if</span>(distMinusRadius&lt;_AttenuationBegin)
+00284 gAtt= 1;
+00285 <span class="keywordflow">else</span> <span class="keywordflow">if</span>(distMinusRadius&lt;_AttenuationEnd)
+00286 {
+00287 gAtt= (_AttenuationEnd - distMinusRadius) * _OODeltaAttenuation;
+00288 }
+00289 <span class="keywordflow">else</span>
+00290 gAtt= 0;
+00291 }
+00292
+00293 <span class="comment">// Spot Attenuation</span>
+00294 <span class="keywordflow">if</span>(_Type== <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw3">SpotLight</a>)
+00295 {
+00296 <span class="keywordtype">float</span> spotAtt;
+00297
+00298 <span class="comment">// Compute unnormalized direction</span>
+00299 CVector dir= pos - _Position;
+00300 <span class="comment">// get cosAngle(dir, SpotDirection):</span>
+00301 <span class="keywordtype">float</span> cosAngleDirSpot= (dir*_SpotDirection) / dist;
+00302
+00303 <span class="comment">// Modify with modelRadius. NB: made Only for big models.</span>
+00304 <span class="keywordflow">if</span>(modelRadius&gt;0)
+00305 {
+00306 <span class="comment">// If the pointLight is in the model, consider no spotAtt</span>
+00307 <span class="keywordflow">if</span>(modelRadius &gt; dist)
+00308 spotAtt= 1;
+00309 <span class="keywordflow">else</span>
+00310 {
+00311 <span class="comment">// compute the angle of the cone made by the model sphere and the pointLightCenter.</span>
+00312 <span class="keywordtype">float</span> cosAngleSphere= modelRadius / sqrtf( <a class="code" href="a05378.html#a373">sqr</a>(dist) + <a class="code" href="a05378.html#a373">sqr</a>(modelRadius) );
+00313 <span class="comment">/* If this one is smaller than cosAngleDirSpot, it's mean that the angle of this cone is greater than the </span>
+00314 <span class="comment"> angleDirSpot, hence a part of the sphere "ps" exist such that _SportDirection*(ps-_Position).normed() == 1</span>
+00315 <span class="comment"> =&gt; no spotAttenuation</span>
+00316 <span class="comment"> */</span>
+00317 <span class="keywordflow">if</span>(cosAngleSphere &lt; cosAngleDirSpot)
+00318 spotAtt= 1;
+00319 <span class="keywordflow">else</span>
+00320 {
+00321 <span class="comment">// Must compute cos( AngleDirSpot-AngleSphere )</span>
+00322 <span class="keywordtype">float</span> sinAngleSphere= sqrtf(1 - <a class="code" href="a05378.html#a373">sqr</a>(cosAngleSphere));
+00323 <span class="keywordtype">float</span> sinAngleDirSpot= sqrtf(1 - <a class="code" href="a05378.html#a373">sqr</a>(cosAngleDirSpot));
+00324 <span class="keywordtype">float</span> cosDelta= cosAngleSphere * cosAngleDirSpot + sinAngleSphere * sinAngleDirSpot;
+00325
+00326 <span class="comment">// spot attenuation on the exterior of the sphere</span>
+00327 spotAtt= (cosDelta - _CosSpotAngleEnd) * _OOCosSpotAngleDelta;
+00328 }
+00329 }
+00330 }
+00331 <span class="keywordflow">else</span>
+00332 {
+00333 <span class="comment">// spot attenuation</span>
+00334 spotAtt= (cosAngleDirSpot - _CosSpotAngleEnd) * _OOCosSpotAngleDelta;
+00335 }
+00336
+00337 <span class="comment">// modulate</span>
+00338 <a class="code" href="a05378.html#a374">clamp</a>(spotAtt, 0.f, 1.f);
+00339 gAtt*= spotAtt;
+00340 }
+00341
+00342 <span class="keywordflow">return</span> gAtt;
+00343 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_2" doxytag="NL3D::CPointLightNamed::computeLinearAttenuation" ></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"> float NL3D::CPointLight::computeLinearAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Compute a linear attenuation from a point according to attenuation and spot setup. Return [0,1].
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00267">267</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+Referenced by <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06162.html#l00050">NL3D::CPatch::generateTileVegetable()</a>, <a class="el" href="a06768.html#l03346">NL3D::CZoneLighter::processZonePointLightRT()</a>, <a class="el" href="a06768.html#l03139">NL3D::CZoneLighter::CPointLightRT::testRaytrace()</a>, <a class="el" href="a05824.html#l00954">NL3D::CInstanceLighter::CPointLightRT::testRaytrace()</a>, and <a class="el" href="a06568.html#l01080">NL3D::CTransform::traverseLight()</a>.
+<p>
+<div class="fragment"><pre>00268 {
+00269 <span class="keywordflow">return</span> <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz695_2">computeLinearAttenuation</a>(pos, (pos - _Position).norm() );
+00270 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_0" doxytag="NL3D::CPointLightNamed::getAmbient" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLight::getAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the ambient color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00129">129</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a05894.html#l00106">NL3D::CLightContribution::computeCurrentAmbient()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, <a class="el" href="a06188.html#l00072">NL3D::CPointLightUser::getAmbient()</a>, and <a class="el" href="a06475.html#l00062">NL3D::CSurfaceLightGrid::getStaticLightSetup()</a>.
+<p>
+<div class="fragment"><pre>00129 {<span class="keywordflow">return</span> _Ambient;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_1" doxytag="NL3D::CPointLightNamed::getAttenuationBegin" ></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"> float NL3D::CPointLight::getAttenuationBegin </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the begin radius of the attenuation.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00141">141</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+References <a class="el" href="a06180.html#l00222">NL3D::CPointLight::_AttenuationBegin</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l03179">NL3D::CZoneLighter::addStaticPointLight()</a>, <a class="el" href="a05824.html#l00999">NL3D::CInstanceLighter::addStaticPointLight()</a>, <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06188.html#l00094">NL3D::CPointLightUser::getAttenuationBegin()</a>, and <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>.
+<p>
+<div class="fragment"><pre>00141 {<span class="keywordflow">return</span> _AttenuationBegin;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_2" doxytag="NL3D::CPointLightNamed::getAttenuationEnd" ></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"> float NL3D::CPointLight::getAttenuationEnd </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the end radius of the attenuation.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00143">143</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+References <a class="el" href="a06180.html#l00222">NL3D::CPointLight::_AttenuationEnd</a>.
+<p>
+Referenced by <a class="el" href="a05901.html#l00151">NL3D::CLightingManager::addDynamicLight()</a>, <a class="el" href="a06768.html#l03179">NL3D::CZoneLighter::addStaticPointLight()</a>, <a class="el" href="a05824.html#l00999">NL3D::CInstanceLighter::addStaticPointLight()</a>, <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, <a class="el" href="a06768.html#l03202">NL3D::CZoneLighter::compilePointLightRT()</a>, <a class="el" href="a05824.html#l01023">NL3D::CInstanceLighter::compilePointLightRT()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06188.html#l00099">NL3D::CPointLightUser::getAttenuationEnd()</a>, <a class="el" href="a06768.html#l03329">NL3D::CZoneLighter::CPredPointLightToPoint::operator()()</a>, <a class="el" href="a05824.html#l01140">NL3D::CInstanceLighter::CPredPointLightToPoint::operator()()</a>, and <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>.
+<p>
+<div class="fragment"><pre>00143 {<span class="keywordflow">return</span> _AttenuationEnd;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda1" doxytag="NL3D::CPointLightNamed::getDefaultAmbient" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLightNamed::getDefaultAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the Default ambient color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00071">71</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00102">_DefaultAmbient</a>.
+<p>
+<div class="fragment"><pre>00071 {<span class="keywordflow">return</span> <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr0">_DefaultAmbient</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda2" doxytag="NL3D::CPointLightNamed::getDefaultDiffuse" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLightNamed::getDefaultDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the Default diffuse color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00073">73</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00103">_DefaultDiffuse</a>.
+<p>
+<div class="fragment"><pre>00073 {<span class="keywordflow">return</span> <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr1">_DefaultDiffuse</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda3" doxytag="NL3D::CPointLightNamed::getDefaultSpecular" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLightNamed::getDefaultSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the Default specular color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00075">75</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00104">_DefaultSpecular</a>.
+<p>
+<div class="fragment"><pre>00075 {<span class="keywordflow">return</span> <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr2">_DefaultSpecular</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_3" doxytag="NL3D::CPointLightNamed::getDiffuse" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLight::getDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the diffuse color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00131">131</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06372.html#l00626">NL3D::CShadowMapManager::computeShadowColors()</a>, <a class="el" href="a06372.html#l00595">NL3D::CShadowMapManager::computeShadowDirection()</a>, <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, <a class="el" href="a06188.html#l00077">NL3D::CPointLightUser::getDiffuse()</a>, <a class="el" href="a06393.html#l01295">NL3D::CSkeletonModel::renderCLod()</a>, <a class="el" href="a06184.html#l00073">serial()</a>, <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>, and <a class="el" href="a06148.html#l00680">NL3D::CParticleSystemModel::traverseRender()</a>.
+<p>
+<div class="fragment"><pre>00131 {<span class="keywordflow">return</span> _Diffuse;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_4" doxytag="NL3D::CPointLightNamed::getPosition" ></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 <a class="el" href="a03128.html">CVector</a>&amp; NL3D::CPointLight::getPosition </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the position in WorldSpace.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00116">116</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a05901.html#l00151">NL3D::CLightingManager::addDynamicLight()</a>, <a class="el" href="a06768.html#l03179">NL3D::CZoneLighter::addStaticPointLight()</a>, <a class="el" href="a05824.html#l00999">NL3D::CInstanceLighter::addStaticPointLight()</a>, <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, <a class="el" href="a06768.html#l03202">NL3D::CZoneLighter::compilePointLightRT()</a>, <a class="el" href="a05824.html#l01023">NL3D::CInstanceLighter::compilePointLightRT()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06372.html#l00595">NL3D::CShadowMapManager::computeShadowDirection()</a>, <a class="el" href="a06162.html#l00050">NL3D::CPatch::generateTileVegetable()</a>, <a class="el" href="a06393.html#l01295">NL3D::CSkeletonModel::renderCLod()</a>, and <a class="el" href="a06568.html#l01080">NL3D::CTransform::traverseLight()</a>.
+<p>
+<div class="fragment"><pre>00116 {<span class="keywordflow">return</span> _Position;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_5" doxytag="NL3D::CPointLightNamed::getSpecular" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLight::getSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the specular color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00133">133</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, and <a class="el" href="a06188.html#l00082">NL3D::CPointLightUser::getSpecular()</a>.
+<p>
+<div class="fragment"><pre>00133 {<span class="keywordflow">return</span> _Specular;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_6" doxytag="NL3D::CPointLightNamed::getSpotAngleBegin" ></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"> float NL3D::CPointLight::getSpotAngleBegin </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the begin radius of the SpotAngles.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00151">151</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+References <a class="el" href="a06180.html#l00230">NL3D::CPointLight::_SpotAngleBegin</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, and <a class="el" href="a06188.html#l00125">NL3D::CPointLightUser::getSpotAngleBegin()</a>.
+<p>
+<div class="fragment"><pre>00151 {<span class="keywordflow">return</span> _SpotAngleBegin;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_7" doxytag="NL3D::CPointLightNamed::getSpotAngleEnd" ></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"> float NL3D::CPointLight::getSpotAngleEnd </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the end radius of the SpotAngles.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00153">153</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+References <a class="el" href="a06180.html#l00231">NL3D::CPointLight::_SpotAngleEnd</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, and <a class="el" href="a06188.html#l00130">NL3D::CPointLightUser::getSpotAngleEnd()</a>.
+<p>
+<div class="fragment"><pre>00153 {<span class="keywordflow">return</span> _SpotAngleEnd;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_8" doxytag="NL3D::CPointLightNamed::getSpotDirection" ></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 <a class="el" href="a03128.html">CVector</a>&amp; NL3D::CPointLight::getSpotDirection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the spot Direction
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00161">161</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+References <a class="el" href="a06180.html#l00229">NL3D::CPointLight::_SpotDirection</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, and <a class="el" href="a06182.html#l00084">NL3D::CPointLightModel::traverseLight()</a>.
+<p>
+<div class="fragment"><pre>00161 {<span class="keywordflow">return</span> _SpotDirection;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_9" doxytag="NL3D::CPointLightNamed::getType" ></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="a03091.html#NL3D_1_1CPointLightNamedw5">CPointLight::TType</a> NL3D::CPointLight::getType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the ambient color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00138">138</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00052">NL3D::CPatchDLMPointLight::compile()</a>, <a class="el" href="a06768.html#l03202">NL3D::CZoneLighter::compilePointLightRT()</a>, <a class="el" href="a05824.html#l01023">NL3D::CInstanceLighter::compilePointLightRT()</a>, <a class="el" href="a05901.html#l00256">NL3D::CLightingManager::computeModelLightContributions()</a>, <a class="el" href="a06188.html#l00115">NL3D::CPointLightUser::isSpotlight()</a>, <a class="el" href="a05824.html#l01161">NL3D::CInstanceLighter::processIGPointLightRT()</a>, <a class="el" href="a06768.html#l03139">NL3D::CZoneLighter::CPointLightRT::testRaytrace()</a>, <a class="el" href="a05824.html#l00954">NL3D::CInstanceLighter::CPointLightRT::testRaytrace()</a>, and <a class="el" href="a06182.html#l00084">NL3D::CPointLightModel::traverseLight()</a>.
+<p>
+<div class="fragment"><pre>00139 {
+00140 <span class="keywordflow">return</span> _Type;
+00141 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda4" doxytag="NL3D::CPointLightNamed::getUnAnimatedDiffuse" ></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="a03337.html">NLMISC::CRGBA</a> NL3D::CPointLightNamed::getUnAnimatedDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+get the unanimated diffuse (used for Landscape)
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00078">78</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00107">_UnAnimatedDiffuse</a>.
+<p>
+Referenced by <a class="el" href="a06696.html#l00037">NL3D::CVegetableLightEx::computeCurrentColors()</a>.
+<p>
+<div class="fragment"><pre>00078 {<span class="keywordflow">return</span> <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr4">_UnAnimatedDiffuse</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamede0" doxytag="NL3D::CPointLightNamed::purge" ></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::CPointLight::purge </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00424">424</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a03091.html#NL3D_1_1CPointLightv0">NL3D::CPointLight::_LightedModelListMemory</a>, and <a class="el" href="a05490.html#l00185">NLMISC::CBlockMemory&lt; CTransform *, false &gt;::purge()</a>.
+<p>
+<div class="fragment"><pre>00425 {
+00426 _LightedModelListMemory.purge();
+00427 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_3" doxytag="NL3D::CPointLightNamed::removeLightedModel" ></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::CPointLight::removeLightedModel </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw1">ItTransformList</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>it</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+remove a model from the list. called by <a class="el" href="a02316.html">CTransform</a>.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00418">418</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00241">NL3D::CPointLight::_LightedModels</a>, and <a class="el" href="a06180.html#l00074">NL3D::CPointLight::ItTransformList</a>.
+<p>
+Referenced by <a class="el" href="a06568.html#l00988">NL3D::CTransform::resetLighting()</a>.
+<p>
+<div class="fragment"><pre>00419 {
+00420 <span class="comment">// delete the entry in the list.</span>
+00421 _LightedModels.erase(it);
+00422 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_4" doxytag="NL3D::CPointLightNamed::resetLightedModels" ></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::CPointLight::resetLightedModels </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Dirt all models this light influence.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00393">393</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00241">NL3D::CPointLight::_LightedModels</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06568.html#l00988">NL3D::CTransform::resetLighting()</a>.
+<p>
+Referenced by <a class="el" href="a06182.html#l00084">NL3D::CPointLightModel::traverseLight()</a>, and <a class="el" href="a06179.html#l00127">NL3D::CPointLight::~CPointLight()</a>.
+<p>
+<div class="fragment"><pre>00394 {
+00395 <span class="comment">// For each transform, resetLighting him.</span>
+00396 <span class="keywordflow">while</span>(_LightedModels.begin() != _LightedModels.end() )
+00397 {
+00398 CTransform *model= *_LightedModels.begin();
+00399 <span class="comment">// reset lighting</span>
+00400 model-&gt;resetLighting();
+00401
+00402 <span class="comment">// NB: the transform must erase him from this list.</span>
+00403 <a class="code" href="a04199.html#a6">nlassert</a>( _LightedModels.begin() == _LightedModels.end() || *_LightedModels.begin() != model );
+00404 }
+00405 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda5" doxytag="NL3D::CPointLightNamed::serial" ></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::CPointLightNamed::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the ambient color of the light.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a03091.html#NL3D_1_1CPointLightz693_10">NL3D::CPointLight</a>.
+<p>
+Definition at line <a class="el" href="a06184.html#l00073">73</a> of file <a class="el" href="a06184.html">point_light_named.cpp</a>.
+<p>
+References <a class="el" href="a06185.html#l00102">_DefaultAmbient</a>, <a class="el" href="a06185.html#l00103">_DefaultDiffuse</a>, <a class="el" href="a06185.html#l00104">_DefaultSpecular</a>, <a class="el" href="a06185.html#l00107">_UnAnimatedDiffuse</a>, <a class="el" href="a06180.html#l00131">NL3D::CPointLight::getDiffuse()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00074 {
+00075 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(1);
+00076
+00077 <span class="comment">// Serialize parent.</span>
+00078 CPointLight::serial(f);
+00079
+00080 <span class="comment">// Serialize my data</span>
+00081 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(AnimatedLight);
+00082 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultAmbient);
+00083 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultDiffuse);
+00084 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_DefaultSpecular);
+00085
+00086 <span class="keywordflow">if</span> (ver&gt;=1)
+00087 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(LightGroup);
+00088
+00089 <span class="comment">// read: and copy default _UnAnimatedDiffuse</span>
+00090 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00091 {
+00092 <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr4">_UnAnimatedDiffuse</a>= <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_3">getDiffuse</a>();
+00093 }
+00094 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_10" doxytag="NL3D::CPointLightNamed::setAmbient" ></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::CPointLight::setAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>ambient</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the ambient color of the light. Default to Black.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00120">120</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06188.html#l00050">NL3D::CPointLightUser::setAmbient()</a>, and <a class="el" href="a06184.html#l00053">setLightFactor()</a>.
+<p>
+<div class="fragment"><pre>00120 {_Ambient=ambient;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_11" doxytag="NL3D::CPointLightNamed::setColor" ></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::CPointLight::setColor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>color</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the diffuse and specular color of the light to the same value. don't modify _Ambient.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00126">126</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06188.html#l00065">NL3D::CPointLightUser::setColor()</a>, and <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>.
+<p>
+<div class="fragment"><pre>00126 {_Diffuse= _Specular= color;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda6" doxytag="NL3D::CPointLightNamed::setDefaultAmbient" ></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::CPointLightNamed::setDefaultAmbient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>ambient</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the Default ambient color of the light. Default to Black.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00064">64</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00102">_DefaultAmbient</a>.
+<p>
+<div class="fragment"><pre>00064 {<a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr0">_DefaultAmbient</a>=ambient;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda7" doxytag="NL3D::CPointLightNamed::setDefaultDiffuse" ></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::CPointLightNamed::setDefaultDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>diffuse</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the Default diffuse color of the light. Default to White.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00066">66</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00103">_DefaultDiffuse</a>.
+<p>
+<div class="fragment"><pre>00066 {<a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr1">_DefaultDiffuse</a>=diffuse;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda8" doxytag="NL3D::CPointLightNamed::setDefaultSpecular" ></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::CPointLightNamed::setDefaultSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>specular</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the Default specular color of the light. Default to White.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00068">68</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+References <a class="el" href="a06185.html#l00104">_DefaultSpecular</a>.
+<p>
+<div class="fragment"><pre>00068 {<a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr2">_DefaultSpecular</a>=specular;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_12" doxytag="NL3D::CPointLightNamed::setDiffuse" ></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::CPointLight::setDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>diffuse</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the diffuse color of the light. Default to White.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00122">122</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06188.html#l00055">NL3D::CPointLightUser::setDiffuse()</a>, and <a class="el" href="a06184.html#l00053">setLightFactor()</a>.
+<p>
+<div class="fragment"><pre>00122 {_Diffuse=diffuse;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda9" doxytag="NL3D::CPointLightNamed::setLightFactor" ></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::CPointLightNamed::setLightFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>nAnimatedFactor</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>nUnAnimatedFactor</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+modulate the default color setup with nFactor, and set to the current setup. give 2 params the second is the "not animated" factor. used for Landscape.
+<p>
+Definition at line <a class="el" href="a06184.html#l00053">53</a> of file <a class="el" href="a06184.html">point_light_named.cpp</a>.
+<p>
+References <a class="el" href="a06185.html#l00102">_DefaultAmbient</a>, <a class="el" href="a06185.html#l00103">_DefaultDiffuse</a>, <a class="el" href="a06185.html#l00104">_DefaultSpecular</a>, <a class="el" href="a06185.html#l00107">_UnAnimatedDiffuse</a>, <a class="el" href="a06340.html#l00133">NLMISC::CRGBA::modulateFromColor()</a>, <a class="el" href="a06180.html#l00120">NL3D::CPointLight::setAmbient()</a>, <a class="el" href="a06180.html#l00122">NL3D::CPointLight::setDiffuse()</a>, and <a class="el" href="a06180.html#l00124">NL3D::CPointLight::setSpecular()</a>.
+<p>
+<div class="fragment"><pre>00054 {
+00055 <a class="code" href="a03337.html">CRGBA</a> col;
+00056 <span class="comment">// setup current ambient.</span>
+00057 col.<a class="code" href="a03337.html#NLMISC_1_1CRGBAa8">modulateFromColor</a>(_DefaultAmbient, nAnimatedFactor);
+00058 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_10">setAmbient</a>(col);
+00059 <span class="comment">// setup current diffuse.</span>
+00060 col.<a class="code" href="a03337.html#NLMISC_1_1CRGBAa8">modulateFromColor</a>(_DefaultDiffuse, nAnimatedFactor);
+00061 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_12">setDiffuse</a>(col);
+00062 <span class="comment">// setup current specular.</span>
+00063 col.<a class="code" href="a03337.html#NLMISC_1_1CRGBAa8">modulateFromColor</a>(_DefaultSpecular, nAnimatedFactor);
+00064 <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedz693_14">setSpecular</a>(col);
+00065
+00066 <span class="comment">// special UnAnimatedDiffuse</span>
+00067 col.<a class="code" href="a03337.html#NLMISC_1_1CRGBAa8">modulateFromColor</a>(_DefaultDiffuse, nUnAnimatedFactor);
+00068 <a class="code" href="a03094.html#NL3D_1_1CPointLightNamedr4">_UnAnimatedDiffuse</a>= col;
+00069 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNameda10" doxytag="NL3D::CPointLightNamed::setLightFactor" ></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::CPointLightNamed::setLightFactor </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>nFactor</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+modulate the default color setup with nFactor, and set to the current setup. NB: <a class="el" href="a03094.html#NL3D_1_1CPointLightNameda4">getUnAnimatedDiffuse()</a> == <a class="el" href="a03091.html#NL3D_1_1CPointLightNamedz693_3">getDiffuse()</a>
+<p>
+Definition at line <a class="el" href="a06184.html#l00046">46</a> of file <a class="el" href="a06184.html">point_light_named.cpp</a>.
+<p>
+<div class="fragment"><pre>00047 {
+00048 <a class="code" href="a03094.html#NL3D_1_1CPointLightNameda10">setLightFactor</a>(nFactor, nFactor);
+00049 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_13" doxytag="NL3D::CPointLightNamed::setPosition" ></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::CPointLight::setPosition </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>v</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the position in WorldSpace.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00114">114</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00237">v</a>.
+<p>
+Referenced by <a class="el" href="a06182.html#l00084">NL3D::CPointLightModel::traverseLight()</a>.
+<p>
+<div class="fragment"><pre>00114 {_Position= <a class="code" href="a04223.html#a576">v</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_14" doxytag="NL3D::CPointLightNamed::setSpecular" ></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::CPointLight::setSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03337.html">NLMISC::CRGBA</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>specular</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the specular color of the light. Default to White.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06180.html#l00124">124</a> of file <a class="el" href="a06180.html">point_light.h</a>.
+<p>
+Referenced by <a class="el" href="a06184.html#l00053">setLightFactor()</a>, and <a class="el" href="a06188.html#l00060">NL3D::CPointLightUser::setSpecular()</a>.
+<p>
+<div class="fragment"><pre>00124 {_Specular=specular;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_15" doxytag="NL3D::CPointLightNamed::setType" ></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::CPointLight::setType </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03091.html#NL3D_1_1CPointLightNamedw5">TType</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>type</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+set/get the type of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00134">134</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00244">type</a>.
+<p>
+Referenced by <a class="el" href="a06188.html#l00107">NL3D::CPointLightUser::enableSpotlight()</a>.
+<p>
+<div class="fragment"><pre>00135 {
+00136 _Type= <a class="code" href="a04223.html#a581">type</a>;
+00137 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_16" doxytag="NL3D::CPointLightNamed::setupAttenuation" ></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::CPointLight::setupAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap> <em>attenuationBegin</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>attenuationEnd</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the attenuation of the light. if (0,0) attenuation is disabled. clamp(attenuationBegin,0 , +oo) and calmp(attenuationEnd, attenuationBegin, +oo)
+<p>
+Definition at line <a class="el" href="a06179.html#l00144">144</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00222">NL3D::CPointLight::_AttenuationBegin</a>, <a class="el" href="a06180.html#l00222">NL3D::CPointLight::_AttenuationEnd</a>, and <a class="el" href="a06179.html#l00180">NL3D::CPointLight::computeAttenuationFactors()</a>.
+<p>
+Referenced by <a class="el" href="a06188.html#l00089">NL3D::CPointLightUser::setupAttenuation()</a>, and <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>.
+<p>
+<div class="fragment"><pre>00145 {
+00146 <span class="comment">// set values.</span>
+00147 attenuationBegin= max(attenuationBegin, 0.f);
+00148 attenuationEnd= max(attenuationEnd, attenuationBegin);
+00149 _AttenuationBegin= attenuationBegin;
+00150 _AttenuationEnd= attenuationEnd;
+00151
+00152 <span class="comment">// update factors.</span>
+00153 <a class="code" href="a03091.html#NL3D_1_1CPointLightd0">computeAttenuationFactors</a>();
+00154
+00155 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_5" doxytag="NL3D::CPointLightNamed::setupDriverLight" ></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::CPointLight::setupDriverLight </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02743.html">CLight</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>light</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>factor</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the <a class="el" href="a02743.html">CLight</a> with current pointLight state. factor is used to modulate the colors.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00346">346</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00229">NL3D::CPointLight::_SpotDirection</a>, <a class="el" href="a06180.html#l00235">NL3D::CPointLight::_SpotExponent</a>, <a class="el" href="a06340.html#l00236">NLMISC::CRGBA::modulateFromuiRGBOnly()</a>, <a class="el" href="a05891.html#l00059">NL3D::CLight::setupPointLight()</a>, <a class="el" href="a05891.html#l00082">NL3D::CLight::setupSpotLight()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00347 {
+00348 <span class="comment">// expand 0..255 to 0..256, to avoid loss of precision.</span>
+00349 <a class="code" href="a04558.html#a15">uint</a> ufactor= factor + (factor&gt;&gt;7); <span class="comment">// add 0 or 1.</span>
+00350
+00351 <span class="comment">// modulate with factor</span>
+00352 <a class="code" href="a03337.html">CRGBA</a> ambient, diffuse, specular;
+00353 ambient.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(_Ambient, ufactor);
+00354 diffuse.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(_Diffuse, ufactor);
+00355 specular.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(_Specular, ufactor);
+00356
+00357 <span class="comment">// setup the pointLight</span>
+00358 <span class="keywordflow">if</span>(_Type == <a class="code" href="a03091.html#NL3D_1_1CPointLightNamedw5NL3D_1_1CPointLightNamedw3">SpotLight</a> )
+00359 {
+00360 light.setupSpotLight(ambient, diffuse, specular, _Position, _SpotDirection,
+00361 _SpotExponent, <span class="keywordtype">float</span>(NLMISC::Pi/2) ,
+00362 _ConstantAttenuation, _LinearAttenuation, _QuadraticAttenuation);
+00363 }
+00364 <span class="comment">// PointLight or AmbientLight</span>
+00365 <span class="keywordflow">else</span>
+00366 {
+00367 light.setupPointLight(ambient, diffuse, specular, _Position, CVector::Null,
+00368 _ConstantAttenuation, _LinearAttenuation, _QuadraticAttenuation);
+00369 }
+00370 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz695_6" doxytag="NL3D::CPointLightNamed::setupDriverLightUserAttenuation" ></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::CPointLight::setupDriverLightUserAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02743.html">CLight</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>light</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>factor</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the <a class="el" href="a02743.html">CLight</a> with current pointLight state. Don't use driver Attenuation and use software one setuped with an additional userAttenuation <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>factor</em>&nbsp;</td><td>is used to modulate the colors. Should also integrate light attenuation.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06179.html#l00374">374</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06340.html#l00236">NLMISC::CRGBA::modulateFromuiRGBOnly()</a>, <a class="el" href="a05891.html#l00059">NL3D::CLight::setupPointLight()</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00375 {
+00376 <span class="comment">// expand 0..255 to 0..256, to avoid loss of precision.</span>
+00377 <a class="code" href="a04558.html#a15">uint</a> ufactor= factor + (factor&gt;&gt;7); <span class="comment">// add 0 or 1.</span>
+00378
+00379 <span class="comment">// modulate with factor</span>
+00380 <a class="code" href="a03337.html">CRGBA</a> ambient, diffuse, specular;
+00381 ambient.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(_Ambient, ufactor);
+00382 diffuse.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(_Diffuse, ufactor);
+00383 specular.<a class="code" href="a03337.html#NLMISC_1_1CRGBAz2022_5">modulateFromuiRGBOnly</a>(_Specular, ufactor);
+00384
+00385 <span class="comment">// setup the pointLight, disabling attenuation. </span>
+00386 <span class="comment">// NB: setup a pointLight even if it is a SpotLight because already attenuated</span>
+00387 light.setupPointLight(ambient, diffuse, specular, _Position, CVector::Null,
+00388 1, 0, 0);
+00389 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_17" doxytag="NL3D::CPointLightNamed::setupSpotAngle" ></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::CPointLight::setupSpotAngle </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap> <em>spotAngleBegin</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap> <em>spotAngleEnd</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the spot AngleBegin and AngleEnd that define spot attenuation of the light. Usefull only if SpotLight NB: clamp(angleBegin, 0, PI); clamp(angleEnd, angleBegin, PI); Default is PI/4, PI/2
+<p>
+Definition at line <a class="el" href="a06179.html#l00159">159</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00230">NL3D::CPointLight::_SpotAngleBegin</a>, <a class="el" href="a06180.html#l00231">NL3D::CPointLight::_SpotAngleEnd</a>, <a class="el" href="a05587.html#l00115">NLMISC::clamp()</a>, <a class="el" href="a06179.html#l00210">NL3D::CPointLight::computeSpotAttenuationFactors()</a>, and <a class="el" href="a05587.html#l00079">NLMISC::Pi</a>.
+<p>
+Referenced by <a class="el" href="a06188.html#l00120">NL3D::CPointLightUser::setupSpotAngle()</a>.
+<p>
+<div class="fragment"><pre>00160 {
+00161 <a class="code" href="a05378.html#a374">clamp</a>(spotAngleBegin, 0.f, <span class="keywordtype">float</span>(Pi));
+00162 <a class="code" href="a05378.html#a374">clamp</a>(spotAngleEnd, spotAngleBegin, <span class="keywordtype">float</span>(Pi));
+00163 _SpotAngleBegin= spotAngleBegin;
+00164 _SpotAngleEnd= spotAngleEnd;
+00165
+00166 <span class="comment">// update factors.</span>
+00167 <a class="code" href="a03091.html#NL3D_1_1CPointLightd1">computeSpotAttenuationFactors</a>();
+00168 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedz693_18" doxytag="NL3D::CPointLightNamed::setupSpotDirection" ></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::CPointLight::setupSpotDirection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>dir</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+setup the spot Direction. Usefull only if SpotLight. Normalized internally Default is (0, 1, 0)
+<p>
+Definition at line <a class="el" href="a06179.html#l00172">172</a> of file <a class="el" href="a06179.html">point_light.cpp</a>.
+<p>
+References <a class="el" href="a06180.html#l00229">NL3D::CPointLight::_SpotDirection</a>, and <a class="el" href="a06682.html#l00119">NLMISC::CVector::normalize()</a>.
+<p>
+Referenced by <a class="el" href="a06182.html#l00084">NL3D::CPointLightModel::traverseLight()</a>.
+<p>
+<div class="fragment"><pre>00173 {
+00174 _SpotDirection= dir;
+00175 _SpotDirection.normalize();
+00176 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPointLightNamedn0" doxytag="NL3D::CPointLightNamed::CLightInfluenceInterpolator" ></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"> friend class <a class="el" href="a02745.html">CLightInfluenceInterpolator</a><code> [friend]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00098">98</a> of file <a class="el" href="a06185.html">point_light_named.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPointLightNamedr0" doxytag="NL3D::CPointLightNamed::_DefaultAmbient" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr0">NL3D::CPointLightNamed::_DefaultAmbient</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00102">102</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, <a class="el" href="a06185.html#l00071">getDefaultAmbient()</a>, <a class="el" href="a06184.html#l00073">serial()</a>, <a class="el" href="a06185.html#l00064">setDefaultAmbient()</a>, and <a class="el" href="a06184.html#l00053">setLightFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedr1" doxytag="NL3D::CPointLightNamed::_DefaultDiffuse" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr1">NL3D::CPointLightNamed::_DefaultDiffuse</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00103">103</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, <a class="el" href="a06185.html#l00073">getDefaultDiffuse()</a>, <a class="el" href="a06184.html#l00073">serial()</a>, <a class="el" href="a06185.html#l00066">setDefaultDiffuse()</a>, and <a class="el" href="a06184.html#l00053">setLightFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedr2" doxytag="NL3D::CPointLightNamed::_DefaultSpecular" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr2">NL3D::CPointLightNamed::_DefaultSpecular</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00104">104</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, <a class="el" href="a06185.html#l00075">getDefaultSpecular()</a>, <a class="el" href="a06184.html#l00073">serial()</a>, <a class="el" href="a06185.html#l00068">setDefaultSpecular()</a>, and <a class="el" href="a06184.html#l00053">setLightFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedr3" doxytag="NL3D::CPointLightNamed::_IdInInfluenceList" ></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> <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr3">NL3D::CPointLightNamed::_IdInInfluenceList</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00099">99</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a05895.html#l00038">NL3D::CLightInfluenceInterpolator::interpolate()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedr4" doxytag="NL3D::CPointLightNamed::_UnAnimatedDiffuse" ></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="a03337.html">NLMISC::CRGBA</a> <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedr4">NL3D::CPointLightNamed::_UnAnimatedDiffuse</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00107">107</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a06184.html#l00035">CPointLightNamed()</a>, <a class="el" href="a06185.html#l00078">getUnAnimatedDiffuse()</a>, <a class="el" href="a06184.html#l00073">serial()</a>, and <a class="el" href="a06184.html#l00053">setLightFactor()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedo0" doxytag="NL3D::CPointLightNamed::AnimatedLight" ></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 <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedo0">NL3D::CPointLightNamed::AnimatedLight</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Animation used by this light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00052">52</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a06186.html#l00051">NL3D::CPointLightNamedSort::operator&lt;()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPointLightNamedo1" doxytag="NL3D::CPointLightNamed::LightGroup" ></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> <a class="el" href="a03094.html#NL3D_1_1CPointLightNamedo1">NL3D::CPointLightNamed::LightGroup</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Group of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06185.html#l00055">55</a> of file <a class="el" href="a06185.html">point_light_named.h</a>.
+<p>
+Referenced by <a class="el" href="a06186.html#l00051">NL3D::CPointLightNamedSort::operator&lt;()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06185.html">point_light_named.h</a><li><a class="el" href="a06184.html">point_light_named.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:02:30 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>