diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNL3D_1_1CPointLight.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CPointLight.html | 1925 |
1 files changed, 1925 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CPointLight.html b/docs/doxygen/nel/classNL3D_1_1CPointLight.html new file mode 100644 index 00000000..63ce3c7d --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPointLight.html @@ -0,0 +1,1925 @@ +<!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> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </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> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </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> + + +<!-- 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> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <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> </center> +<hr><h1>NL3D::CPointLight Class Reference</h1>Description of a light. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="point__light_8h-source.html">point_light.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPointLight: +<p><center><img src="classNL3D_1_1CPointLight.gif" usemap="#NL3D::CPointLight_map" border="0"></center> +<map name="NL3D::CPointLight_map"> +<area href="classNL3D_1_1CPointLightNamed.html" alt="NL3D::CPointLightNamed" shape="rect" coords="0,56,153,80"> +</map> +<a href="classNL3D_1_1CPointLight-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>typedef <a class="el" href="classNLMISC_1_1CSTLBlockList.html">NLMISC::CSTLBlockList</a><<br> + <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> * > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#s0">TTransformList</a></td></tr> +<tr><td> </td><td><font size=-1><em>The list of model this light influence.</em> <a href="#s0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>typedef TTransformList::iterator </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#s1">ItTransformList</a></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#s5">TType</a> { <a class="el" href="classNL3D_1_1CPointLight.html#s5s2">PointLight</a> = 0, +<a class="el" href="classNL3D_1_1CPointLight.html#s5s3">SpotLight</a>, +<a class="el" href="classNL3D_1_1CPointLight.html#s5s4">AmbientLight</a> + }</td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#a0">CPointLight</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor Default type is PointLight.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#a1">~CPointLight</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>call resetLightModels.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Light setup</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_0">setType</a> (<a class="el" href="classNL3D_1_1CPointLight.html#s5">TType</a> <a class="el" href="driver__opengl__extension__def_8h.html#a373">type</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>set/get the type of the light.</em> <a href="#z697_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPointLight.html#s5">TType</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_1">getType</a> () const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_2">setPosition</a> (const CVector &<a class="el" href="driver__opengl__extension__def_8h.html#a368">v</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the position in WorldSpace.</em> <a href="#z697_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CVector & </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_3">getPosition</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the position in WorldSpace.</em> <a href="#z697_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_4">setAmbient</a> (<a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> ambient)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the ambient color of the light. Default to Black.</em> <a href="#z697_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_5">setDiffuse</a> (<a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> diffuse)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the diffuse color of the light. Default to White.</em> <a href="#z697_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_6">setSpecular</a> (<a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> specular)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the specular color of the light. Default to White.</em> <a href="#z697_6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_7">setColor</a> (<a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> color)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the diffuse and specular color of the light to the same value. don't modify _Ambient.</em> <a href="#z697_7">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_8">getAmbient</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the ambient color of the light.</em> <a href="#z697_8">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_9">getDiffuse</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the diffuse color of the light.</em> <a href="#z697_9">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_10">getSpecular</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the specular color of the light.</em> <a href="#z697_10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_11">setupAttenuation</a> (float attenuationBegin, float attenuationEnd)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the attenuation of the light.</em> <a href="#z697_11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_12">getAttenuationBegin</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the begin radius of the attenuation.</em> <a href="#z697_12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_13">getAttenuationEnd</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the end radius of the attenuation.</em> <a href="#z697_13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_14">setupSpotAngle</a> (float spotAngleBegin, float spotAngleEnd)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the spot AngleBegin and AngleEnd that define spot attenuation of the light.</em> <a href="#z697_14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_15">getSpotAngleBegin</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the begin radius of the SpotAngles.</em> <a href="#z697_15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_16">getSpotAngleEnd</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the end radius of the SpotAngles.</em> <a href="#z697_16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_17">setupSpotDirection</a> (const CVector &dir)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the spot Direction.</em> <a href="#z697_17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CVector & </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_18">getSpotDirection</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>get the spot Direction.</em> <a href="#z697_18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z697_19">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f)</td></tr> +<tr><td colspan="2"><div class="groupHeader">Render tools.</div></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_0">computeLinearAttenuation</a> (const CVector &pos) const</td></tr> +<tr><td> </td><td><font size=-1><em>Compute a linear attenuation from a point according to attenuation and spot setup. Return [0,1].</em> <a href="#z698_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_1">computeLinearAttenuation</a> (const CVector &pos, float precomputedDist, float modelRadius=0) const</td></tr> +<tr><td> </td><td><font size=-1><em>Compute a linear attenuation from a point and precomputed distance according to attenuation and spot setup.</em> <a href="#z698_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_2">setupDriverLight</a> (<a class="el" href="classNL3D_1_1CLight.html">CLight</a> &light, <a class="el" href="memory__common_8h.html#a7">uint8</a> factor)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the <a class="el" href="classNL3D_1_1CLight.html">CLight</a> with current pointLight state. factor is used to modulate the colors.</em> <a href="#z698_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_3">setupDriverLightUserAttenuation</a> (<a class="el" href="classNL3D_1_1CLight.html">CLight</a> &light, <a class="el" href="memory__common_8h.html#a7">uint8</a> factor)</td></tr> +<tr><td> </td><td><font size=-1><em>setup the <a class="el" href="classNL3D_1_1CLight.html">CLight</a> with current pointLight state.</em> <a href="#z698_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_4">resetLightedModels</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Dirt all models this light influence.</em> <a href="#z698_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPointLight.html#s1">ItTransformList</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_5">appendLightedModel</a> (<a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *model)</td></tr> +<tr><td> </td><td><font size=-1><em>append a model to the list. called by <a class="el" href="classNL3D_1_1CLightingManager.html">CLightingManager</a>.</em> <a href="#z698_5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#z698_6">removeLightedModel</a> (<a class="el" href="classNL3D_1_1CPointLight.html#s1">ItTransformList</a> it)</td></tr> +<tr><td> </td><td><font size=-1><em>remove a model from the list. called by <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a>.</em> <a href="#z698_6">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#c0">computeAttenuationFactors</a> ()</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#c1">computeSpotAttenuationFactors</a> ()</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_1CPointLight.html#s5">TType</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o0">_Type</a></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o1">_Position</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o2">_Ambient</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o3">_Diffuse</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o4">_Specular</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o5">_AttenuationBegin</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o6">_AttenuationEnd</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o7">_OODeltaAttenuation</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o8">_ConstantAttenuation</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o9">_LinearAttenuation</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o10">_QuadraticAttenuation</a></td></tr> +<tr><td nowrap align=right valign=top>CVector </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o11">_SpotDirection</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o12">_SpotAngleBegin</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o13">_SpotAngleEnd</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o14">_CosSpotAngleEnd</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o15">_OOCosSpotAngleDelta</a></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o16">_SpotExponent</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CPointLight.html#s0">TTransformList</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#o17">_LightedModels</a></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CBlockMemory.html">NLMISC::CBlockMemory</a>< <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *,<br> + false > </td><td valign=bottom><a class="el" href="classNL3D_1_1CPointLight.html#r0">_LightedModelListMemory</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Description of a light. +<p> +Owned by an IG, or a <a class="el" href="classNL3D_1_1CPointLightModel.html">CPointLightModel</a>. With the special sunLight, this is the only light which can interact with <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> models in the standard lighting system. +<p> +Only Positionnal with or without attenuation are supported. no directionnal. This restriction is for faster rendering, especially if VertexProgram is used. New: Spot are managed but VertexProgrammed meshes won't use localAttenuation. Special Ambiant are provided too but they are considered like PointLight for dynamic light. They are used in a special way for static light in Igs. +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CLightingManager.html">CLightingManager</a> </dl> +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00069">69</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>.<hr><h2>Member Typedef Documentation</h2> +<a name="s1" doxytag="NL3D::CPointLight::ItTransformList"></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"> typedef TTransformList::iterator NL3D::CPointLight::ItTransformList + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00074">74</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00374">appendLightedModel</a>. </td> + </tr> +</table> +<a name="s0" doxytag="NL3D::CPointLight::TTransformList"></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"> typedef <a class="el" href="classNLMISC_1_1CSTLBlockList.html">NLMISC::CSTLBlockList</a><<a class="el" href="classNL3D_1_1CTransform.html">CTransform</a>*> NL3D::CPointLight::TTransformList + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The list of model this light influence. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00073">73</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. </td> + </tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a name="s5" doxytag="NL3D::CPointLight::TType"></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::CPointLight::TType + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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="s5s2" doxytag="PointLight"></a><em>PointLight</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s5s3" doxytag="SpotLight"></a><em>SpotLight</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s5s4" doxytag="AmbientLight"></a><em>AmbientLight</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00076">76</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CPointLight::CPointLight"></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"> NL3D::CPointLight::CPointLight </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor Default type is PointLight. +<p> +Default ambient is Black, Diffuse and Specular are white. Position is CVector::Null. Attenuation is 10-30. +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00046">46</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00210">_Ambient</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationBegin</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationEnd</a>, <a class="el" href="point__light_8h-source.html#l00217">_ConstantAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00225">_CosSpotAngleEnd</a>, <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>, <a class="el" href="point__light_8h-source.html#l00218">_LinearAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00227">_OOCosSpotAngleDelta</a>, <a class="el" href="point__light_8h-source.html#l00207">_Position</a>, <a class="el" href="point__light_8h-source.html#l00219">_QuadraticAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>, <a class="el" href="point__light_8h-source.html#l00223">_SpotAngleBegin</a>, <a class="el" href="point__light_8h-source.html#l00224">_SpotAngleEnd</a>, <a class="el" href="point__light_8h-source.html#l00222">_SpotDirection</a>, <a class="el" href="point__light_8h-source.html#l00228">_SpotExponent</a>, <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, and <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CPointLight::~CPointLight"></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"> NL3D::CPointLight::~CPointLight </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +call resetLightModels. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00092">92</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8cpp-source.html#l00358">resetLightedModels</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z698_5" doxytag="NL3D::CPointLight::appendLightedModel"></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_1CPointLight.html#s1">CPointLight::ItTransformList</a> NL3D::CPointLight::appendLightedModel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>model</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +append a model to the list. called by <a class="el" href="classNL3D_1_1CLightingManager.html">CLightingManager</a>. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00374">374</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00234">_LightedModels</a>, and <a class="el" href="point__light_8h-source.html#l00074">ItTransformList</a>. </td> + </tr> +</table> +<a name="c0" doxytag="NL3D::CPointLight::computeAttenuationFactors"></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::CPointLight::computeAttenuationFactors </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00145">145</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00215">_AttenuationBegin</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationEnd</a>, <a class="el" href="point__light_8h-source.html#l00217">_ConstantAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00218">_LinearAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00216">_OODeltaAttenuation</a>, and <a class="el" href="point__light_8h-source.html#l00219">_QuadraticAttenuation</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, and <a class="el" href="point__light_8cpp-source.html#l00109">setupAttenuation</a>. </td> + </tr> +</table> +<a name="z698_1" doxytag="NL3D::CPointLight::computeLinearAttenuation"></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::CPointLight::computeLinearAttenuation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname" nowrap> <em>pos</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>precomputedDist</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>modelRadius</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a linear attenuation from a point and precomputed distance according to attenuation and spot setup. +<p> +Return [0,1] <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>modelRadius</em> </td><td> +if !0, suppose the point is a sphere, and compute the approximate Max attenuation from every point on this sphere </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00238">238</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00215">_AttenuationBegin</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationEnd</a>, <a class="el" href="point__light_8h-source.html#l00225">_CosSpotAngleEnd</a>, <a class="el" href="point__light_8h-source.html#l00227">_OOCosSpotAngleDelta</a>, <a class="el" href="point__light_8h-source.html#l00216">_OODeltaAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00207">_Position</a>, <a class="el" href="point__light_8h-source.html#l00222">_SpotDirection</a>, <a class="el" href="point__light_8h-source.html#l00204">_Type</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="classNL3D_1_1CPointLight.html#s5s3">SpotLight</a>, and <a class="el" href="common_8h-source.html#l00143">NLMISC::sqr</a>. </td> + </tr> +</table> +<a name="z698_0" doxytag="NL3D::CPointLight::computeLinearAttenuation"></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::CPointLight::computeLinearAttenuation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname1" valign="top" nowrap> <em>pos</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a linear attenuation from a point according to attenuation and spot setup. Return [0,1]. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00232">232</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00207">_Position</a>. </td> + </tr> +</table> +<a name="c1" doxytag="NL3D::CPointLight::computeSpotAttenuationFactors"></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::CPointLight::computeSpotAttenuationFactors </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00175">175</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00225">_CosSpotAngleEnd</a>, <a class="el" href="point__light_8h-source.html#l00227">_OOCosSpotAngleDelta</a>, <a class="el" href="point__light_8h-source.html#l00223">_SpotAngleBegin</a>, <a class="el" href="point__light_8h-source.html#l00224">_SpotAngleEnd</a>, and <a class="el" href="point__light_8h-source.html#l00228">_SpotExponent</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, and <a class="el" href="point__light_8cpp-source.html#l00124">setupSpotAngle</a>. </td> + </tr> +</table> +<a name="z697_8" doxytag="NL3D::CPointLight::getAmbient"></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::CPointLight::getAmbient </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the ambient color of the light. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00125">125</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00210">_Ambient</a>. +<p> +Referenced by <a class="el" href="point__light__named_8cpp-source.html#l00035">NL3D::CPointLightNamed::CPointLightNamed</a>. </td> + </tr> +</table> +<a name="z697_12" doxytag="NL3D::CPointLight::getAttenuationBegin"></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::CPointLight::getAttenuationBegin </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the begin radius of the attenuation. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00137">137</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00215">_AttenuationBegin</a>. </td> + </tr> +</table> +<a name="z697_13" doxytag="NL3D::CPointLight::getAttenuationEnd"></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::CPointLight::getAttenuationEnd </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the end radius of the attenuation. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00139">139</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00215">_AttenuationEnd</a>. </td> + </tr> +</table> +<a name="z697_9" doxytag="NL3D::CPointLight::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::CPointLight::getDiffuse </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the diffuse color of the light. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00127">127</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>. +<p> +Referenced by <a class="el" href="point__light__named_8cpp-source.html#l00035">NL3D::CPointLightNamed::CPointLightNamed</a>. </td> + </tr> +</table> +<a name="z697_3" doxytag="NL3D::CPointLight::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"> const CVector& NL3D::CPointLight::getPosition </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the position in WorldSpace. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00112">112</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00207">_Position</a>. </td> + </tr> +</table> +<a name="z697_10" doxytag="NL3D::CPointLight::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::CPointLight::getSpecular </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the specular color of the light. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00129">129</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>. +<p> +Referenced by <a class="el" href="point__light__named_8cpp-source.html#l00035">NL3D::CPointLightNamed::CPointLightNamed</a>. </td> + </tr> +</table> +<a name="z697_15" doxytag="NL3D::CPointLight::getSpotAngleBegin"></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::CPointLight::getSpotAngleBegin </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the begin radius of the SpotAngles. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00147">147</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00223">_SpotAngleBegin</a>. </td> + </tr> +</table> +<a name="z697_16" doxytag="NL3D::CPointLight::getSpotAngleEnd"></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::CPointLight::getSpotAngleEnd </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the end radius of the SpotAngles. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00149">149</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00224">_SpotAngleEnd</a>. </td> + </tr> +</table> +<a name="z697_18" doxytag="NL3D::CPointLight::getSpotDirection"></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"> const CVector& NL3D::CPointLight::getSpotDirection </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the spot Direction. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00157">157</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00222">_SpotDirection</a>. </td> + </tr> +</table> +<a name="z697_1" doxytag="NL3D::CPointLight::getType"></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_1CPointLight.html#s5">CPointLight::TType</a> NL3D::CPointLight::getType </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00103">103</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00204">_Type</a>. </td> + </tr> +</table> +<a name="z698_6" doxytag="NL3D::CPointLight::removeLightedModel"></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::CPointLight::removeLightedModel </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPointLight.html#s1">ItTransformList</a> </td> + <td class="mdname1" valign="top" nowrap> <em>it</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove a model from the list. called by <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a>. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00383">383</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00234">_LightedModels</a>. </td> + </tr> +</table> +<a name="z698_4" doxytag="NL3D::CPointLight::resetLightedModels"></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::CPointLight::resetLightedModels </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Dirt all models this light influence. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00358">358</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00234">_LightedModels</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00092">~CPointLight</a>. </td> + </tr> +</table> +<a name="z697_19" doxytag="NL3D::CPointLight::serial"></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::CPointLight::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="classNL3D_1_1CPointLightNamed.html#a8">NL3D::CPointLightNamed</a>. +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00195">195</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00210">_Ambient</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationBegin</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationEnd</a>, <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>, <a class="el" href="point__light_8h-source.html#l00207">_Position</a>, <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>, <a class="el" href="point__light_8h-source.html#l00223">_SpotAngleBegin</a>, <a class="el" href="point__light_8h-source.html#l00224">_SpotAngleEnd</a>, <a class="el" href="point__light_8h-source.html#l00222">_SpotDirection</a>, <a class="el" href="point__light_8h-source.html#l00204">_Type</a>, <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, <a class="el" href="stream__inline_8h-source.html#l00062">NLMISC::IStream::isReading</a>, <a class="el" href="classNL3D_1_1CPointLight.html#s5s2">PointLight</a>, <a class="el" href="stream_8h-source.html#l00222">NLMISC::IStream::serial</a>, <a class="el" href="stream_8h-source.html#l00251">NLMISC::IStream::serialEnum</a>, and <a class="el" href="stream_8cpp-source.html#l00253">NLMISC::IStream::serialVersion</a>. </td> + </tr> +</table> +<a name="z697_4" doxytag="NL3D::CPointLight::setAmbient"></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::CPointLight::setAmbient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>ambient</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the ambient color of the light. Default to Black. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00116">116</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00210">_Ambient</a>. +<p> +Referenced by <a class="el" href="point__light__named_8cpp-source.html#l00045">NL3D::CPointLightNamed::setLightFactor</a>. </td> + </tr> +</table> +<a name="z697_7" doxytag="NL3D::CPointLight::setColor"></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::CPointLight::setColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>color</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the diffuse and specular color of the light to the same value. don't modify _Ambient. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00122">122</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>, and <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>. </td> + </tr> +</table> +<a name="z697_5" doxytag="NL3D::CPointLight::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::CPointLight::setDiffuse </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>diffuse</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the diffuse color of the light. Default to White. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00118">118</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>. +<p> +Referenced by <a class="el" href="point__light__named_8cpp-source.html#l00045">NL3D::CPointLightNamed::setLightFactor</a>. </td> + </tr> +</table> +<a name="z697_2" doxytag="NL3D::CPointLight::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::CPointLight::setPosition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname1" valign="top" nowrap> <em>v</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the position in WorldSpace. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00110">110</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00207">_Position</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="z697_6" doxytag="NL3D::CPointLight::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::CPointLight::setSpecular </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> </td> + <td class="mdname1" valign="top" nowrap> <em>specular</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the specular color of the light. Default to White. +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00120">120</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>. +<p> +Referenced by <a class="el" href="point__light__named_8cpp-source.html#l00045">NL3D::CPointLightNamed::setLightFactor</a>. </td> + </tr> +</table> +<a name="z697_0" doxytag="NL3D::CPointLight::setType"></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::CPointLight::setType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CPointLight.html#s5">TType</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set/get the type of the light. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00099">99</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00204">_Type</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00241">type</a>. </td> + </tr> +</table> +<a name="z697_11" doxytag="NL3D::CPointLight::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::CPointLight::setupAttenuation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>attenuationBegin</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>attenuationEnd</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the attenuation of the light. +<p> +if (0,0) attenuation is disabled. clamp(attenuationBegin,0 , +oo) and calmp(attenuationEnd, attenuationBegin, +oo) +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00109">109</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00215">_AttenuationBegin</a>, <a class="el" href="point__light_8h-source.html#l00215">_AttenuationEnd</a>, and <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>. </td> + </tr> +</table> +<a name="z698_2" doxytag="NL3D::CPointLight::setupDriverLight"></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::CPointLight::setupDriverLight </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CLight.html">CLight</a> & </td> + <td class="mdname" nowrap> <em>light</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>factor</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the <a class="el" href="classNL3D_1_1CLight.html">CLight</a> with current pointLight state. factor is used to modulate the colors. +<p> + +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00311">311</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00210">_Ambient</a>, <a class="el" href="point__light_8h-source.html#l00217">_ConstantAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>, <a class="el" href="point__light_8h-source.html#l00218">_LinearAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00207">_Position</a>, <a class="el" href="point__light_8h-source.html#l00219">_QuadraticAttenuation</a>, <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>, <a class="el" href="point__light_8h-source.html#l00222">_SpotDirection</a>, <a class="el" href="point__light_8h-source.html#l00228">_SpotExponent</a>, <a class="el" href="point__light_8h-source.html#l00204">_Type</a>, and <a class="el" href="classNL3D_1_1CPointLight.html#s5s3">SpotLight</a>. </td> + </tr> +</table> +<a name="z698_3" doxytag="NL3D::CPointLight::setupDriverLightUserAttenuation"></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::CPointLight::setupDriverLightUserAttenuation </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CLight.html">CLight</a> & </td> + <td class="mdname" nowrap> <em>light</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>factor</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the <a class="el" href="classNL3D_1_1CLight.html">CLight</a> with current pointLight state. +<p> +Don't use driver Attenuation and use software one setuped with an additional userAttenuation <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>factor</em> </td><td> +is used to modulate the colors. Should also integrate light attenuation. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00339">339</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00210">_Ambient</a>, <a class="el" href="point__light_8h-source.html#l00211">_Diffuse</a>, <a class="el" href="point__light_8h-source.html#l00207">_Position</a>, and <a class="el" href="point__light_8h-source.html#l00212">_Specular</a>. </td> + </tr> +</table> +<a name="z697_14" doxytag="NL3D::CPointLight::setupSpotAngle"></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::CPointLight::setupSpotAngle </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>spotAngleBegin</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>spotAngleEnd</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the spot AngleBegin and AngleEnd that define spot attenuation of the light. +<p> +Usefull only if SpotLight NB: clamp(angleBegin, 0, PI); clamp(angleEnd, angleBegin, PI); Default is PI/4, PI/2 +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00124">124</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00223">_SpotAngleBegin</a>, <a class="el" href="point__light_8h-source.html#l00224">_SpotAngleEnd</a>, <a class="el" href="common_8h-source.html#l00151">NLMISC::clamp</a>, <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, and <a class="el" href="common_8h-source.html#l00071">NLMISC::Pi</a>. </td> + </tr> +</table> +<a name="z697_17" doxytag="NL3D::CPointLight::setupSpotDirection"></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::CPointLight::setupSpotDirection </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CVector & </td> + <td class="mdname1" valign="top" nowrap> <em>dir</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +setup the spot Direction. +<p> +Usefull only if SpotLight. Normalized internally Default is (0, 1, 0) +<p> +Definition at line <a class="el" href="point__light_8cpp-source.html#l00137">137</a> of file <a class="el" href="point__light_8cpp-source.html">point_light.cpp</a>. +<p> +References <a class="el" href="point__light_8h-source.html#l00222">_SpotDirection</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o2" doxytag="NL3D::CPointLight::_Ambient"></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::CPointLight::_Ambient<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00210">210</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00125">getAmbient</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, <a class="el" href="point__light_8h-source.html#l00116">setAmbient</a>, <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00339">setupDriverLightUserAttenuation</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CPointLight::_AttenuationBegin"></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::CPointLight::_AttenuationBegin<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00215">215</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00137">getAttenuationBegin</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, and <a class="el" href="point__light_8cpp-source.html#l00109">setupAttenuation</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NL3D::CPointLight::_AttenuationEnd"></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::CPointLight::_AttenuationEnd<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00215">215</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00139">getAttenuationEnd</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, and <a class="el" href="point__light_8cpp-source.html#l00109">setupAttenuation</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NL3D::CPointLight::_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::CPointLight::_ConstantAttenuation<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00217">217</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>. </td> + </tr> +</table> +<a name="o14" doxytag="NL3D::CPointLight::_CosSpotAngleEnd"></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::CPointLight::_CosSpotAngleEnd<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00225">225</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, and <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NL3D::CPointLight::_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::CPointLight::_Diffuse<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00211">211</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00127">getDiffuse</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, <a class="el" href="point__light_8h-source.html#l00122">setColor</a>, <a class="el" href="point__light_8h-source.html#l00118">setDiffuse</a>, <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00339">setupDriverLightUserAttenuation</a>. </td> + </tr> +</table> +<a name="r0" doxytag="NL3D::CPointLight::_LightedModelListMemory"></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_1CBlockMemory.html">NLMISC::CBlockMemory</a>< <a class="el" href="classNL3D_1_1CTransform.html">CTransform</a> *, false > NL3D::CPointLight::_LightedModelListMemory<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a name="o17" doxytag="NL3D::CPointLight::_LightedModels"></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_1CPointLight.html#s0">TTransformList</a> NL3D::CPointLight::_LightedModels<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00234">234</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00374">appendLightedModel</a>, <a class="el" href="point__light_8cpp-source.html#l00383">removeLightedModel</a>, and <a class="el" href="point__light_8cpp-source.html#l00358">resetLightedModels</a>. </td> + </tr> +</table> +<a name="o9" doxytag="NL3D::CPointLight::_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::CPointLight::_LinearAttenuation<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00218">218</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>. </td> + </tr> +</table> +<a name="o15" doxytag="NL3D::CPointLight::_OOCosSpotAngleDelta"></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::CPointLight::_OOCosSpotAngleDelta<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00227">227</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, and <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NL3D::CPointLight::_OODeltaAttenuation"></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::CPointLight::_OODeltaAttenuation<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00216">216</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, and <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CPointLight::_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"> CVector NL3D::CPointLight::_Position<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00207">207</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00232">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00112">getPosition</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, <a class="el" href="point__light_8h-source.html#l00110">setPosition</a>, <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00339">setupDriverLightUserAttenuation</a>. </td> + </tr> +</table> +<a name="o10" doxytag="NL3D::CPointLight::_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::CPointLight::_QuadraticAttenuation<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00219">219</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00145">computeAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NL3D::CPointLight::_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::CPointLight::_Specular<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00212">212</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00129">getSpecular</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, <a class="el" href="point__light_8h-source.html#l00122">setColor</a>, <a class="el" href="point__light_8h-source.html#l00120">setSpecular</a>, <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00339">setupDriverLightUserAttenuation</a>. </td> + </tr> +</table> +<a name="o12" doxytag="NL3D::CPointLight::_SpotAngleBegin"></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::CPointLight::_SpotAngleBegin<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00223">223</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00147">getSpotAngleBegin</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, and <a class="el" href="point__light_8cpp-source.html#l00124">setupSpotAngle</a>. </td> + </tr> +</table> +<a name="o13" doxytag="NL3D::CPointLight::_SpotAngleEnd"></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::CPointLight::_SpotAngleEnd<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00224">224</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00149">getSpotAngleEnd</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, and <a class="el" href="point__light_8cpp-source.html#l00124">setupSpotAngle</a>. </td> + </tr> +</table> +<a name="o11" doxytag="NL3D::CPointLight::_SpotDirection"></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"> CVector NL3D::CPointLight::_SpotDirection<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00222">222</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, <a class="el" href="point__light_8h-source.html#l00157">getSpotDirection</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00137">setupSpotDirection</a>. </td> + </tr> +</table> +<a name="o16" doxytag="NL3D::CPointLight::_SpotExponent"></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::CPointLight::_SpotExponent<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00228">228</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00175">computeSpotAttenuationFactors</a>, <a class="el" href="point__light_8cpp-source.html#l00046">CPointLight</a>, and <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NL3D::CPointLight::_Type"></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_1CPointLight.html#s5">TType</a> NL3D::CPointLight::_Type<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="point__light_8h-source.html#l00204">204</a> of file <a class="el" href="point__light_8h-source.html">point_light.h</a>. +<p> +Referenced by <a class="el" href="point__light_8cpp-source.html#l00238">computeLinearAttenuation</a>, <a class="el" href="point__light_8cpp-source.html#l00103">getType</a>, <a class="el" href="point__light_8cpp-source.html#l00195">serial</a>, <a class="el" href="point__light_8cpp-source.html#l00099">setType</a>, and <a class="el" href="point__light_8cpp-source.html#l00311">setupDriverLight</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="point__light_8h-source.html">point_light.h</a><li><a class="el" href="point__light_8cpp-source.html">point_light.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </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> |