aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CLightUser.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/classNL3D_1_1CLightUser.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CLightUser.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CLightUser.html1404
1 files changed, 1404 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CLightUser.html b/docs/doxygen/nel/classNL3D_1_1CLightUser.html
new file mode 100644
index 00000000..957178a5
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CLightUser.html
@@ -0,0 +1,1404 @@
+<!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::CLightUser Class Reference</h1><a class="el" href="classNL3D_1_1ULight.html">ULight</a> implementation.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="light__user_8h-source.html">light_user.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CLightUser:
+<p><center><img src="classNL3D_1_1CLightUser.gif" usemap="#NL3D::CLightUser_map" border="0"></center>
+<map name="NL3D::CLightUser_map">
+<area href="classNL3D_1_1ULight.html" alt="NL3D::ULight" shape="rect" coords="0,0,112,24">
+</map>
+<a href="classNL3D_1_1CLightUser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td 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_1CLightUser.html#z520_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="#z520_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_1CLightUser.html#z520_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="#z520_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_1CLightUser.html#z520_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="#z520_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_1CLightUser.html#z520_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="#z520_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_1CLightUser.html#z520_4">setNoAttenuation</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set no attenuation.</em> <a href="#z520_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_1CLightUser.html#z520_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="#z520_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_1CLightUser.html#z521_0">setMode</a> (<a class="el" href="classNL3D_1_1ULight.html#s3">ULight::TLightMode</a> mode)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the light mode.</em> <a href="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_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="#z521_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_1CLightUser.html#z521_8">setConstantAttenuation</a> (float constant)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set constant attenuation.</em> <a href="#z521_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_1CLightUser.html#z521_9">setLinearAttenuation</a> (float linear)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set linear attenuation.</em> <a href="#z521_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_1CLightUser.html#z521_10">setQuadraticAttenuation</a> (float quadratic)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set quadratic attenuation.</em> <a href="#z521_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_1ULight.html#s3">ULight::TLightMode</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightUser.html#z522_0">getMode</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the light mode.</em> <a href="#z522_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_1CLightUser.html#z522_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="#z522_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_1CLightUser.html#z522_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="#z522_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_1CLightUser.html#z522_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="#z522_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_1CLightUser.html#z522_4">getPosition</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the position of the light.</em> <a href="#z522_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_1CLightUser.html#z522_5">getDirection</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the direction of the light.</em> <a href="#z522_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_1CLightUser.html#z522_6">getExponent</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get the exponent of the light.</em> <a href="#z522_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_1CLightUser.html#z522_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="#z522_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_1CLightUser.html#z522_8">getConstantAttenuation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get constant attenuation.</em> <a href="#z522_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_1CLightUser.html#z522_9">getLinearAttenuation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get linear attenuation.</em> <a href="#z522_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_1CLightUser.html#z522_10">getQuadraticAttenuation</a> () const</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Get quadratic attenuation.</em> <a href="#z522_10">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CLight.html">CLight</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightUser.html#n0">_Light</a></td></tr>
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td nowrap align=right valign=top>class&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CLightUser.html#l0">CDriverUser</a></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="classNL3D_1_1ULight.html">ULight</a> implementation.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00048">48</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.<hr><h2>Member Function Documentation</h2>
+<a name="z522_1" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_1">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00253">253</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_8" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_8">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00320">320</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_7" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_7">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00307">307</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_2" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_2">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00262">262</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_5" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_5">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00289">289</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_6" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_6">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00298">298</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_9" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_9">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00333">333</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_0" doxytag="NL3D::CLightUser::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_1ULight.html#s3">ULight::TLightMode</a> NL3D::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_0">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00244">244</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_4" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_4">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00280">280</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_10" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_10">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00346">346</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z522_3" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z53_3">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00271">271</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_1" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_1">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00137">137</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_8" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_8">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00204">204</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_7" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_7">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00191">191</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_2" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_2">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00146">146</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_5" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_5">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00173">173</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_6" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_6">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00182">182</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_9" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_9">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00217">217</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_0" doxytag="NL3D::CLightUser::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::CLightUser::setMode </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1ULight.html#s3">ULight::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_0">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00128">128</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z520_4" doxytag="NL3D::CLightUser::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::CLightUser::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><code> [inline, virtual]</code></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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z51_4">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00101">101</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_4" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_4">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00164">164</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_10" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_10">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00230">230</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z521_3" doxytag="NL3D::CLightUser::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::CLightUser::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, virtual]</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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z52_3">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00155">155</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z520_3" doxytag="NL3D::CLightUser::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::CLightUser::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"><code> [inline, virtual]</code></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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z51_3">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00089">89</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z520_0" doxytag="NL3D::CLightUser::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::CLightUser::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"><code> [inline, virtual]</code></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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z51_0">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00060">60</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z520_1" doxytag="NL3D::CLightUser::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::CLightUser::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"><code> [inline, virtual]</code></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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z51_1">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00068">68</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z520_5" doxytag="NL3D::CLightUser::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::CLightUser::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><code> [inline, virtual]</code></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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z51_5">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00113">113</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<a name="z520_2" doxytag="NL3D::CLightUser::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::CLightUser::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"><code> [inline, virtual]</code></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>
+Implements <a class="el" href="classNL3D_1_1ULight.html#z51_2">NL3D::ULight</a>.
+<p>
+Definition at line <a class="el" href="light__user_8h-source.html#l00076">76</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+References <a class="el" href="light__user_8h-source.html#l00051">_Light</a>, and <a class="el" href="light__user_8h-source.html#l00033">NL3D_MEM_LIGHT</a>. </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a name="l0" doxytag="NL3D::CLightUser::CDriverUser"></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"> friend class CDriverUser<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="light__user_8h-source.html#l00052">52</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="n0" doxytag="NL3D::CLightUser::_Light"></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">CLight</a> NL3D::CLightUser::_Light<code> [protected]</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__user_8h-source.html#l00051">51</a> of file <a class="el" href="light__user_8h-source.html">light_user.h</a>.
+<p>
+Referenced by <a class="el" href="light__user_8h-source.html#l00253">getAmbiant</a>, <a class="el" href="light__user_8h-source.html#l00320">getConstantAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00307">getCutoff</a>, <a class="el" href="light__user_8h-source.html#l00262">getDiffuse</a>, <a class="el" href="light__user_8h-source.html#l00289">getDirection</a>, <a class="el" href="light__user_8h-source.html#l00298">getExponent</a>, <a class="el" href="light__user_8h-source.html#l00333">getLinearAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00244">getMode</a>, <a class="el" href="light__user_8h-source.html#l00280">getPosition</a>, <a class="el" href="light__user_8h-source.html#l00346">getQuadraticAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00271">getSpecular</a>, <a class="el" href="light__user_8h-source.html#l00137">setAmbiant</a>, <a class="el" href="light__user_8h-source.html#l00204">setConstantAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00191">setCutoff</a>, <a class="el" href="light__user_8h-source.html#l00146">setDiffuse</a>, <a class="el" href="light__user_8h-source.html#l00173">setDirection</a>, <a class="el" href="light__user_8h-source.html#l00182">setExponent</a>, <a class="el" href="light__user_8h-source.html#l00217">setLinearAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00128">setMode</a>, <a class="el" href="light__user_8h-source.html#l00101">setNoAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00164">setPosition</a>, <a class="el" href="light__user_8h-source.html#l00230">setQuadraticAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00155">setSpecular</a>, <a class="el" href="light__user_8h-source.html#l00089">setupAttenuation</a>, <a class="el" href="light__user_8h-source.html#l00060">setupDirectional</a>, <a class="el" href="light__user_8h-source.html#l00068">setupPointLight</a>, <a class="el" href="light__user_8h-source.html#l00113">setupSpotExponent</a>, and <a class="el" href="light__user_8h-source.html#l00076">setupSpotLight</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="light__user_8h-source.html">light_user.h</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>