aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CLight.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CLight.html1657
1 files changed, 1657 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CLight.html b/docs/doxygen/nel/classNL3D_1_1CLight.html
new file mode 100644
index 00000000..5b4736f3
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CLight.html
@@ -0,0 +1,1657 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NL3D::CLight Class Reference</h1>Light class to work with driver.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="light_8h-source.html">light.h</a>&gt;</code>
+<p>
+<a href="classNL3D_1_1CLight-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a> { <a class="el" href="classNL3D_1_1CLight.html#s3s0">DirectionalLight</a>,
+<a class="el" href="classNL3D_1_1CLight.html#s3s1">PointLight</a>,
+<a class="el" href="classNL3D_1_1CLight.html#s3s2">SpotLight</a>
+ }</td></tr>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Quick setup.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z514_0">setupDirectional</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;ambiant, const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;diffuse, const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;specular, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;direction, float constant=1, float linear=0, float quadratic=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Quick setup a directional light.</em> <a href="#z514_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z514_1">setupPointLight</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;ambiant, const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;diffuse, const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;specular, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;position, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;direction, float constant=1, float linear=0, float quadratic=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Quick setup a point light.</em> <a href="#z514_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z514_2">setupSpotLight</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;ambiant, const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;diffuse, const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;specular, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;position, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;direction, float exponent, float cutoff, float constant=1, float linear=0, float quadratic=0)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Quick setup a spotlight.</em> <a href="#z514_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z514_3">setupAttenuation</a> (float farAttenuationBegin, float farAttenuationEnd)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup attenuation with begin and end attenuation distance.</em> <a href="#z514_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z514_4">setNoAttenuation</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set no attenuation.</em> <a href="#z514_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z514_5">setupSpotExponent</a> (float hotSpotAngle)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Setup spot exponent with angle of the hotspot.</em> <a href="#z514_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Set methods.</div></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_0">setMode</a> (<a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a> mode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the light mode.</em> <a href="#z515_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_1">setAmbiant</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;ambiant)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the ambiant color of the light.</em> <a href="#z515_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_2">setDiffuse</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;diffuse)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the diffuse color of the light.</em> <a href="#z515_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_3">setSpecular</a> (const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;specular)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the specular color of the light.</em> <a href="#z515_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_4">setPosition</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;position)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the position of the light.</em> <a href="#z515_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_5">setDirection</a> (const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;direction)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the direction of the light.</em> <a href="#z515_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_6">setExponent</a> (float exponent)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the Intensity distribution of the light.</em> <a href="#z515_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_7">setCutoff</a> (float cutoff)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the cutoff of the light in radian.</em> <a href="#z515_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_8">setConstantAttenuation</a> (float constant)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set constant attenuation.</em> <a href="#z515_8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_9">setLinearAttenuation</a> (float linear)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set linear attenuation.</em> <a href="#z515_9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z515_10">setQuadraticAttenuation</a> (float quadratic)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set quadratic attenuation.</em> <a href="#z515_10">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Get methods.</div></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_0">getMode</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the light mode.</em> <a href="#z516_0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_1">getAmbiant</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the ambiant color of the light.</em> <a href="#z516_1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_2">getDiffuse</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the diffuse color of the light.</em> <a href="#z516_2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_3">getSpecular</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the specular color of the light.</em> <a href="#z516_3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_4">getPosition</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the position of the light.</em> <a href="#z516_4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_5">getDirection</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the direction of the light.</em> <a href="#z516_5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_6">getExponent</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the exponent of the light.</em> <a href="#z516_6">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_7">getCutoff</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the cutoff of the light in radian.</em> <a href="#z516_7">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_8">getConstantAttenuation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get constant attenuation.</em> <a href="#z516_8">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_9">getLinearAttenuation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get linear attenuation.</em> <a href="#z516_9">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#z516_10">getQuadraticAttenuation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get quadratic attenuation.</em> <a href="#z516_10">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o0">_Mode</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o1">_Ambiant</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o2">_Diffuse</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o3">_Specular</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o4">_Position</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o5">_Direction</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o6">_Exponent</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o7">_Cutoff</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o8">_ConstantAttenuation</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o9">_LinearAttenuation</a></td></tr>
+<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLight.html#o10">_QuadraticAttenuation</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Light class to work with driver.
+<p>
+Warning: nothing is initialized by default.
+<p>
+To use this light you must initialize the MODE (setMode), the COLORS and the 3 ATTENUATION FACTORS. If the mode is spotlight or pointlight, you must initialize the POSITION. If the mode is spotlight or directionallight, you must initialize the DIRECTION. If the mode is spotlight, you must intialize the EXPONENT and the CUTOFF.
+<p>
+To do so, you can use one of the three methods: setupDirectional, setupPointLight, setupSpotLight or use the specifics methods.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Cyril 'Hulud' Corvazier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00055">55</a> of file <a class="el" href="light_8h-source.html">light.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s3" doxytag="NL3D::CLight::TLightMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum NL3D::CLight::TLightMode
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="s3s0" doxytag="DirectionalLight"></a><em>DirectionalLight</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s3s1" doxytag="PointLight"></a><em>PointLight</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="s3s2" doxytag="SpotLight"></a><em>SpotLight</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00059">59</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00224">getMode</a>, and <a class="el" href="light_8h-source.html#l00119">setMode</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="z516_1" doxytag="NL3D::CLight::getAmbiant"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CLight::getAmbiant </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 ambiant color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00232">232</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00327">_Ambiant</a>. </td>
+ </tr>
+</table>
+<a name="z516_8" doxytag="NL3D::CLight::getConstantAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::getConstantAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 constant attenuation.
+<p>
+The intensity of the light is attenuated this way: light_intensity = light_intensity / ( CONSTANT_ATTENUATION + vertex_light_distance * LINEAR_ATTENUATION + vertex_light_distance * vertex_light_distance * QUADRATIC_ATTENUATION );
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00292">292</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00340">_ConstantAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="z516_7" doxytag="NL3D::CLight::getCutoff"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::getCutoff </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 cutoff of the light in radian.
+<p>
+Should be between [0, Pi/2]. Used only for SpotLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00280">280</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00337">_Cutoff</a>. </td>
+ </tr>
+</table>
+<a name="z516_2" doxytag="NL3D::CLight::getDiffuse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CLight::getDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 diffuse color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00240">240</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00328">_Diffuse</a>. </td>
+ </tr>
+</table>
+<a name="z516_5" doxytag="NL3D::CLight::getDirection"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NL3D::CLight::getDirection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 direction of the light.
+<p>
+Used only for DirectionalLight and SpotLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00264">264</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00333">_Direction</a>. </td>
+ </tr>
+</table>
+<a name="z516_6" doxytag="NL3D::CLight::getExponent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::getExponent </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 exponent of the light.
+<p>
+Used only for SpotLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00272">272</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00336">_Exponent</a>. </td>
+ </tr>
+</table>
+<a name="z516_9" doxytag="NL3D::CLight::getLinearAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::getLinearAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 linear attenuation.
+<p>
+The intensity of the light is attenuated this way: light_intensity = light_intensity / ( CONSTANT_ATTENUATION + vertex_light_distance * LINEAR_ATTENUATION + vertex_light_distance * vertex_light_distance * QUADRATIC_ATTENUATION );
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00304">304</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00341">_LinearAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="z516_0" doxytag="NL3D::CLight::getMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a> NL3D::CLight::getMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 light mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00224">224</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00324">_Mode</a>, and <a class="el" href="light_8h-source.html#l00059">TLightMode</a>. </td>
+ </tr>
+</table>
+<a name="z516_4" doxytag="NL3D::CLight::getPosition"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NL3D::CLight::getPosition </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 position of the light.
+<p>
+Used only for SpotLight and PointLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00256">256</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00332">_Position</a>. </td>
+ </tr>
+</table>
+<a name="z516_10" doxytag="NL3D::CLight::getQuadraticAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::getQuadraticAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 quadratic attenuation.
+<p>
+The intensity of the light is attenuated this way: light_intensity = light_intensity / ( CONSTANT_ATTENUATION + vertex_light_distance * LINEAR_ATTENUATION + vertex_light_distance * vertex_light_distance * QUADRATIC_ATTENUATION );
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00316">316</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00342">_QuadraticAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="z516_3" doxytag="NL3D::CLight::getSpecular"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CLight::getSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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 specular color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00248">248</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00329">_Specular</a>. </td>
+ </tr>
+</table>
+<a name="z515_1" doxytag="NL3D::CLight::setAmbiant"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setAmbiant </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ambiant</em> </td>
+ <td class="md" valign="top">)&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 ambiant color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00127">127</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00327">_Ambiant</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_8" doxytag="NL3D::CLight::setConstantAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setConstantAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>constant</em> </td>
+ <td class="md" valign="top">)&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 constant attenuation.
+<p>
+The intensity of the light is attenuated this way: light_intensity = light_intensity / ( CONSTANT_ATTENUATION + vertex_light_distance * LINEAR_ATTENUATION + vertex_light_distance * vertex_light_distance * QUADRATIC_ATTENUATION );
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00187">187</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00340">_ConstantAttenuation</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_7" doxytag="NL3D::CLight::setCutoff"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setCutoff </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>cutoff</em> </td>
+ <td class="md" valign="top">)&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 cutoff of the light in radian.
+<p>
+Should be between [0, Pi/2]. Used only for SpotLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00175">175</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00337">_Cutoff</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_2" doxytag="NL3D::CLight::setDiffuse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setDiffuse </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>diffuse</em> </td>
+ <td class="md" valign="top">)&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 diffuse color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00135">135</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00328">_Diffuse</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_5" doxytag="NL3D::CLight::setDirection"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setDirection </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>direction</em> </td>
+ <td class="md" valign="top">)&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 direction of the light.
+<p>
+Used only for DirectionalLight and SpotLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00159">159</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00333">_Direction</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_6" doxytag="NL3D::CLight::setExponent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setExponent </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>exponent</em> </td>
+ <td class="md" valign="top">)&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 Intensity distribution of the light.
+<p>
+Should be between [0, 1]. Used only for SpotLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00167">167</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00336">_Exponent</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00150">setupSpotExponent</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_9" doxytag="NL3D::CLight::setLinearAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setLinearAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>linear</em> </td>
+ <td class="md" valign="top">)&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 linear attenuation.
+<p>
+The intensity of the light is attenuated this way: light_intensity = light_intensity / ( CONSTANT_ATTENUATION + vertex_light_distance * LINEAR_ATTENUATION + vertex_light_distance * vertex_light_distance * QUADRATIC_ATTENUATION );
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00199">199</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00341">_LinearAttenuation</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_0" doxytag="NL3D::CLight::setMode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>mode</em> </td>
+ <td class="md" valign="top">)&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 light mode.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00119">119</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00324">_Mode</a>, and <a class="el" href="light_8h-source.html#l00059">TLightMode</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z514_4" doxytag="NL3D::CLight::setNoAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setNoAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+Set no attenuation.
+<p>
+The light will not use attenuation.
+<p>
+Definition at line <a class="el" href="light_8cpp-source.html#l00160">160</a> of file <a class="el" href="light_8cpp-source.html">light.cpp</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00340">_ConstantAttenuation</a>, <a class="el" href="light_8h-source.html#l00341">_LinearAttenuation</a>, and <a class="el" href="light_8h-source.html#l00342">_QuadraticAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="z515_4" doxytag="NL3D::CLight::setPosition"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setPosition </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>position</em> </td>
+ <td class="md" valign="top">)&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 position of the light.
+<p>
+Used only for SpotLight and PointLight.
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00151">151</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00332">_Position</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_10" doxytag="NL3D::CLight::setQuadraticAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setQuadraticAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>quadratic</em> </td>
+ <td class="md" valign="top">)&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 quadratic attenuation.
+<p>
+The intensity of the light is attenuated this way: light_intensity = light_intensity / ( CONSTANT_ATTENUATION + vertex_light_distance * LINEAR_ATTENUATION + vertex_light_distance * vertex_light_distance * QUADRATIC_ATTENUATION );
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00211">211</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00342">_QuadraticAttenuation</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z515_3" doxytag="NL3D::CLight::setSpecular"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setSpecular </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>specular</em> </td>
+ <td class="md" valign="top">)&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 specular color of the light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8h-source.html#l00143">143</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00329">_Specular</a>.
+<p>
+Referenced by <a class="el" href="light_8cpp-source.html#l00037">setupDirectional</a>, <a class="el" href="light_8cpp-source.html#l00059">setupPointLight</a>, and <a class="el" href="light_8cpp-source.html#l00082">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<a name="z514_3" doxytag="NL3D::CLight::setupAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setupAttenuation </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>farAttenuationBegin</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>farAttenuationEnd</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>
+Setup attenuation with begin and end attenuation distance.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>farAttenuationBegin</em>&nbsp;</td><td>
+is the distance of the begin of the attenuation (attenuation == 0.9f) </td></tr>
+<tr><td valign=top><em>farAttenuationEnd</em>&nbsp;</td><td>
+is the distance of the end of the attenuation (attenuation == 0.1f) </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="light_8cpp-source.html#l00109">109</a> of file <a class="el" href="light_8cpp-source.html">light.cpp</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00340">_ConstantAttenuation</a>, <a class="el" href="light_8h-source.html#l00341">_LinearAttenuation</a>, and <a class="el" href="light_8h-source.html#l00342">_QuadraticAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="z514_0" doxytag="NL3D::CLight::setupDirectional"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setupDirectional </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ambiant</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>diffuse</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>specular</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>direction</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>constant</em> = 1, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>linear</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>quadratic</em> = 0</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>
+Quick setup a directional light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8cpp-source.html#l00037">37</a> of file <a class="el" href="light_8cpp-source.html">light.cpp</a>.
+<p>
+References <a class="el" href="classNL3D_1_1CLight.html#s3s0">DirectionalLight</a>, <a class="el" href="light_8h-source.html#l00127">setAmbiant</a>, <a class="el" href="light_8h-source.html#l00187">setConstantAttenuation</a>, <a class="el" href="light_8h-source.html#l00135">setDiffuse</a>, <a class="el" href="light_8h-source.html#l00159">setDirection</a>, <a class="el" href="light_8h-source.html#l00199">setLinearAttenuation</a>, <a class="el" href="light_8h-source.html#l00119">setMode</a>, <a class="el" href="light_8h-source.html#l00211">setQuadraticAttenuation</a>, and <a class="el" href="light_8h-source.html#l00143">setSpecular</a>. </td>
+ </tr>
+</table>
+<a name="z514_1" doxytag="NL3D::CLight::setupPointLight"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setupPointLight </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ambiant</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>diffuse</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>specular</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>position</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>direction</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>constant</em> = 1, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>linear</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>quadratic</em> = 0</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>
+Quick setup a point light.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8cpp-source.html#l00059">59</a> of file <a class="el" href="light_8cpp-source.html">light.cpp</a>.
+<p>
+References <a class="el" href="classNL3D_1_1CLight.html#s3s1">PointLight</a>, <a class="el" href="light_8h-source.html#l00127">setAmbiant</a>, <a class="el" href="light_8h-source.html#l00187">setConstantAttenuation</a>, <a class="el" href="light_8h-source.html#l00135">setDiffuse</a>, <a class="el" href="light_8h-source.html#l00159">setDirection</a>, <a class="el" href="light_8h-source.html#l00199">setLinearAttenuation</a>, <a class="el" href="light_8h-source.html#l00119">setMode</a>, <a class="el" href="light_8h-source.html#l00151">setPosition</a>, <a class="el" href="light_8h-source.html#l00211">setQuadraticAttenuation</a>, and <a class="el" href="light_8h-source.html#l00143">setSpecular</a>. </td>
+ </tr>
+</table>
+<a name="z514_5" doxytag="NL3D::CLight::setupSpotExponent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setupSpotExponent </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>hotSpotAngle</em> </td>
+ <td class="md" valign="top">)&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>
+Setup spot exponent with angle of the hotspot.
+<p>
+<dl compact><dt><b>
+Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>hotSpotAngle</em>&nbsp;</td><td>
+is the angle in radian between the axis of the spot and the vector from light where attenuation is == 0.9. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="light_8cpp-source.html#l00150">150</a> of file <a class="el" href="light_8cpp-source.html">light.cpp</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00167">setExponent</a>. </td>
+ </tr>
+</table>
+<a name="z514_2" doxytag="NL3D::CLight::setupSpotLight"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CLight::setupSpotLight </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>ambiant</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>diffuse</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>specular</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>position</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>direction</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>exponent</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>cutoff</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>constant</em> = 1, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>linear</em> = 0, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>float&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>quadratic</em> = 0</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>
+Quick setup a spotlight.
+<p>
+
+<p>
+Definition at line <a class="el" href="light_8cpp-source.html#l00082">82</a> of file <a class="el" href="light_8cpp-source.html">light.cpp</a>.
+<p>
+References <a class="el" href="light_8h-source.html#l00127">setAmbiant</a>, <a class="el" href="light_8h-source.html#l00187">setConstantAttenuation</a>, <a class="el" href="light_8h-source.html#l00175">setCutoff</a>, <a class="el" href="light_8h-source.html#l00135">setDiffuse</a>, <a class="el" href="light_8h-source.html#l00159">setDirection</a>, <a class="el" href="light_8h-source.html#l00167">setExponent</a>, <a class="el" href="light_8h-source.html#l00199">setLinearAttenuation</a>, <a class="el" href="light_8h-source.html#l00119">setMode</a>, <a class="el" href="light_8h-source.html#l00151">setPosition</a>, <a class="el" href="light_8h-source.html#l00211">setQuadraticAttenuation</a>, <a class="el" href="light_8h-source.html#l00143">setSpecular</a>, and <a class="el" href="classNL3D_1_1CLight.html#s3s2">SpotLight</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o1" doxytag="NL3D::CLight::_Ambiant"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CLight::_Ambiant<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="light_8h-source.html#l00327">327</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00232">getAmbiant</a>, and <a class="el" href="light_8h-source.html#l00127">setAmbiant</a>. </td>
+ </tr>
+</table>
+<a name="o8" doxytag="NL3D::CLight::_ConstantAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::_ConstantAttenuation<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="light_8h-source.html#l00340">340</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00292">getConstantAttenuation</a>, <a class="el" href="light_8h-source.html#l00187">setConstantAttenuation</a>, <a class="el" href="light_8cpp-source.html#l00160">setNoAttenuation</a>, and <a class="el" href="light_8cpp-source.html#l00109">setupAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="o7" doxytag="NL3D::CLight::_Cutoff"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::_Cutoff<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="light_8h-source.html#l00337">337</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00280">getCutoff</a>, and <a class="el" href="light_8h-source.html#l00175">setCutoff</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NL3D::CLight::_Diffuse"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CLight::_Diffuse<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="light_8h-source.html#l00328">328</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00240">getDiffuse</a>, and <a class="el" href="light_8h-source.html#l00135">setDiffuse</a>. </td>
+ </tr>
+</table>
+<a name="o5" doxytag="NL3D::CLight::_Direction"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NL3D::CLight::_Direction<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="light_8h-source.html#l00333">333</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00264">getDirection</a>, and <a class="el" href="light_8h-source.html#l00159">setDirection</a>. </td>
+ </tr>
+</table>
+<a name="o6" doxytag="NL3D::CLight::_Exponent"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::_Exponent<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="light_8h-source.html#l00336">336</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00272">getExponent</a>, and <a class="el" href="light_8h-source.html#l00167">setExponent</a>. </td>
+ </tr>
+</table>
+<a name="o9" doxytag="NL3D::CLight::_LinearAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::_LinearAttenuation<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="light_8h-source.html#l00341">341</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00304">getLinearAttenuation</a>, <a class="el" href="light_8h-source.html#l00199">setLinearAttenuation</a>, <a class="el" href="light_8cpp-source.html#l00160">setNoAttenuation</a>, and <a class="el" href="light_8cpp-source.html#l00109">setupAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CLight::_Mode"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CLight.html#s3">TLightMode</a> NL3D::CLight::_Mode<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="light_8h-source.html#l00324">324</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00224">getMode</a>, and <a class="el" href="light_8h-source.html#l00119">setMode</a>. </td>
+ </tr>
+</table>
+<a name="o4" doxytag="NL3D::CLight::_Position"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> NL3D::CLight::_Position<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="light_8h-source.html#l00332">332</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00256">getPosition</a>, and <a class="el" href="light_8h-source.html#l00151">setPosition</a>. </td>
+ </tr>
+</table>
+<a name="o10" doxytag="NL3D::CLight::_QuadraticAttenuation"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> float NL3D::CLight::_QuadraticAttenuation<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="light_8h-source.html#l00342">342</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00316">getQuadraticAttenuation</a>, <a class="el" href="light_8cpp-source.html#l00160">setNoAttenuation</a>, <a class="el" href="light_8h-source.html#l00211">setQuadraticAttenuation</a>, and <a class="el" href="light_8cpp-source.html#l00109">setupAttenuation</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NL3D::CLight::_Specular"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> NL3D::CLight::_Specular<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="light_8h-source.html#l00329">329</a> of file <a class="el" href="light_8h-source.html">light.h</a>.
+<p>
+Referenced by <a class="el" href="light_8h-source.html#l00248">getSpecular</a>, and <a class="el" href="light_8h-source.html#l00143">setSpecular</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="light_8h-source.html">light.h</a><li><a class="el" href="light_8cpp-source.html">light.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>