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_1UParticleSystemInstance.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1UParticleSystemInstance.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1UParticleSystemInstance.html | 1027 |
1 files changed, 1027 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1UParticleSystemInstance.html b/docs/doxygen/nel/classNL3D_1_1UParticleSystemInstance.html new file mode 100644 index 00000000..4547f9c0 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1UParticleSystemInstance.html @@ -0,0 +1,1027 @@ +<!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::UParticleSystemInstance Class Reference</h1>Interface to manipulate a particle system. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="u__particle__system__instance_8h-source.html">u_particle_system_instance.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::UParticleSystemInstance: +<p><center><img src="classNL3D_1_1UParticleSystemInstance.gif" usemap="#NL3D::UParticleSystemInstance_map" border="0"></center> +<map name="NL3D::UParticleSystemInstance_map"> +<area href="classNL3D_1_1UInstance.html" alt="NL3D::UInstance" shape="rect" coords="0,112,215,136"> +<area href="classNL3D_1_1UTransform.html" alt="NL3D::UTransform" shape="rect" coords="0,56,215,80"> +<area href="classNL3D_1_1UTransformable.html" alt="NL3D::UTransformable" shape="rect" coords="0,0,215,24"> +<area href="classNL3D_1_1CParticleSystemInstanceUser.html" alt="NL3D::CParticleSystemInstanceUser" shape="rect" coords="0,224,215,248"> +</map> +<a href="classNL3D_1_1UParticleSystemInstance-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>System parameters</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_0">setUserParam</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>, float <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Set a user param of the system.</em> <a href="#z61_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_1">getUserParam</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the value of a user param.</em> <a href="#z61_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_2">bypassGlobalUserParamValue</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> userParamIndex, bool byPass=true)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_3">isGlobalUserParamValueBypassed</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> userParamIndex) const=0</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_4">setGlobalUserParamValue</a> (const std::string &name, float <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a global user param value. User param in a system can mirror global values, which are identified by their name.</em> <a href="#z61_4">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_1UParticleSystemInstance.html#z61_5">getGlobalUserParamValue</a> (const std::string &name)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_6">setGlobalVectorValue</a> (const std::string &name, const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> &<a class="el" href="driver__opengl__extension__def_8h.html#a368">v</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Set a global vector value in the system.</em> <a href="#z61_6">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> </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z61_7">getGlobalVectorValue</a> (const std::string &name)</td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a0">isSystemPresent</a> (void) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Tell wether the system is currently instanciated.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a1">getSystemBBox</a> (<a class="el" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &bbox)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the bounding box of the system, when it is present.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a2">isShared</a> () const=0</td></tr> +<tr><td colspan="2"><div class="groupHeader">System validity</div></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_0">isValid</a> (void) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Test if the system is valid.</em> <a href="#z62_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_1">registerPSObserver</a> (<a class="el" href="structNL3D_1_1UParticleSystemInstance_1_1IPSObserver.html">IPSObserver</a> *observer)=0</td></tr> +<tr><td> </td><td><font size=-1><em>Register an observer that will be notified when the system becomes invalid nlassert(!isPSObserver(oberver));.</em> <a href="#z62_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_2">isPSObserver</a> (<a class="el" href="structNL3D_1_1UParticleSystemInstance_1_1IPSObserver.html">IPSObserver</a> *observer)=0</td></tr> +<tr><td> </td><td><font size=-1><em>test whether 'observer' is an observer of this system.</em> <a href="#z62_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_3">removePSObserver</a> (<a class="el" href="structNL3D_1_1UParticleSystemInstance_1_1IPSObserver.html">IPSObserver</a> *observer)=0</td></tr> +<tr><td> </td><td><font size=-1><em>remove 'observer' from the observers of this system.</em> <a href="#z62_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader"></div></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_0">emit</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>, <a class="el" href="memory__common_8h.html#a15">uint</a> quantity=1)=0</td></tr> +<tr><td> </td><td><font size=-1><em>All the emitters that have the given ID emit their target.</em> <a href="#z63_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_1">removeByID</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>)=0</td></tr> +<tr><td> </td><td><font size=-1><em>All the object with the given id are removed.</em> <a href="#z63_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a15">uint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_2">getNumID</a> () const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Return the number of objects in the system that are flagged with an ID, or 0 if the system is not present.</em> <a href="#z63_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="memory__common_8h.html#a11">uint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_3">getID</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a358">index</a>) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get the nth ID, or 0 if index is invalid.</em> <a href="#z63_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_4">getIDs</a> (std::vector< <a class="el" href="memory__common_8h.html#a11">uint32</a> > &dest) const=0</td></tr> +<tr><td> </td><td><font size=-1><em>Get all the IDs in the system.</em> <a href="#z63_4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_5">setActive</a> (<a class="el" href="memory__common_8h.html#a11">uint32</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>, bool active)=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z63_6">activateEmitters</a> (bool active)=0</td></tr> +<tr><td colspan="2"><div class="groupHeader"></div></td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z64_0">hasParticles</a> () const=0</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z64_1">hasEmmiters</a> () const=0</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Interface to manipulate a particle system. +<p> +Particle system are created from a <a class="el" href="classNL3D_1_1UScene.html">UScene</a>. A system can be tuned by its user params (when it makes use of them). It has several states invalid : the system is invalid, this tells the user that he can destroy this instance +<p> +present : the system is available for modification. This may not be the case when the system has been temporarily remove because it is not visible anymore. <dl compact><dt><b> +Author: </b><dd> +Nicolas Vizerie , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="u__particle__system__instance_8h-source.html#l00052">52</a> of file <a class="el" href="u__particle__system__instance_8h-source.html">u_particle_system_instance.h</a>.<hr><h2>Member Function Documentation</h2> +<a name="z63_6" doxytag="NL3D::UParticleSystemInstance::activateEmitters"></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"> virtual bool NL3D::UParticleSystemInstance::activateEmitters </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>active</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_16">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z61_2" doxytag="NL3D::UParticleSystemInstance::bypassGlobalUserParamValue"></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"> virtual void NL3D::UParticleSystemInstance::bypassGlobalUserParamValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>userParamIndex</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>byPass</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_6">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z63_0" doxytag="NL3D::UParticleSystemInstance::emit"></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"> virtual bool NL3D::UParticleSystemInstance::emit </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>quantity</em> = 1</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +All the emitters that have the given ID emit their target. +<p> +<dl compact><dt><b> +Returns: </b><dd> +false if the id is invalid, or if it isn't an emitter ID </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_0">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z61_5" doxytag="NL3D::UParticleSystemInstance::getGlobalUserParamValue"></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::UParticleSystemInstance::getGlobalUserParamValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [static]</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="particle__system__instance__user_8cpp-source.html#l00382">382</a> of file <a class="el" href="particle__system__instance__user_8cpp-source.html">particle_system_instance_user.cpp</a>. +<p> +References <a class="el" href="particle__system__instance__user_8h-source.html#l00036">NL3D_MEM_PS_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. </td> + </tr> +</table> +<a name="z61_7" doxytag="NL3D::UParticleSystemInstance::getGlobalVectorValue"></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::UParticleSystemInstance::getGlobalVectorValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [static]</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="particle__system__instance__user_8cpp-source.html#l00405">405</a> of file <a class="el" href="particle__system__instance__user_8cpp-source.html">particle_system_instance_user.cpp</a>. +<p> +References <a class="el" href="particle__system__instance__user_8h-source.html#l00036">NL3D_MEM_PS_INSTANCE</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="classNLMISC_1_1CVector.html#p0">NLMISC::CVector::Null</a>. </td> + </tr> +</table> +<a name="z63_3" doxytag="NL3D::UParticleSystemInstance::getID"></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"> virtual <a class="el" href="memory__common_8h.html#a11">uint32</a> NL3D::UParticleSystemInstance::getID </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the nth ID, or 0 if index is invalid. +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_13">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z63_4" doxytag="NL3D::UParticleSystemInstance::getIDs"></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"> virtual bool NL3D::UParticleSystemInstance::getIDs </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="memory__common_8h.html#a11">uint32</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>dest</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get all the IDs in the system. +<p> +<dl compact><dt><b> +Warning: </b><dd> +As IDs are not stored in a vector, it is faster than several calls to getID </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_14">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z63_2" doxytag="NL3D::UParticleSystemInstance::getNumID"></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"> virtual <a class="el" href="memory__common_8h.html#a15">uint</a> NL3D::UParticleSystemInstance::getNumID </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> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the number of objects in the system that are flagged with an ID, or 0 if the system is not present. +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_12">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::UParticleSystemInstance::getSystemBBox"></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"> virtual bool NL3D::UParticleSystemInstance::getSystemBBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>bbox</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the bounding box of the system, when it is present. +<p> +You should call this instead of <a class="el" href="classNL3D_1_1UInstance.html#a0">UInstance::getShapeAABBox</a>() because the bbox may change over time, and thusn its shape doesn't hold any info on it... <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>bbox</em> </td><td> +a reference to the bbox to fill </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +true if the bbox has been filled </dl><dl compact><dt><b> +See also: </b><dd> +isPresent() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_3">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z61_1" doxytag="NL3D::UParticleSystemInstance::getUserParam"></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"> virtual float NL3D::UParticleSystemInstance::getUserParam </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the value of a user param. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>index</em> </td><td> +the index of the user param to get. For now it ranges from 0 to 3 </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +the value of the user param (>= 0 and <= 1) </dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a0">isSystemPresent</a>() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_5">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z64_1" doxytag="NL3D::UParticleSystemInstance::hasEmmiters"></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"> virtual bool NL3D::UParticleSystemInstance::hasEmmiters </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> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z656_1">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z64_0" doxytag="NL3D::UParticleSystemInstance::hasParticles"></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"> virtual bool NL3D::UParticleSystemInstance::hasParticles </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> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z656_0">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z61_3" doxytag="NL3D::UParticleSystemInstance::isGlobalUserParamValueBypassed"></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"> virtual bool NL3D::UParticleSystemInstance::isGlobalUserParamValueBypassed </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>userParamIndex</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_7">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z62_2" doxytag="NL3D::UParticleSystemInstance::isPSObserver"></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"> virtual bool NL3D::UParticleSystemInstance::isPSObserver </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1UParticleSystemInstance_1_1IPSObserver.html">IPSObserver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>observer</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test whether 'observer' is an observer of this system. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_3">removePSObserver</a>() , <a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_1">registerPSObserver</a>() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_10">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::UParticleSystemInstance::isShared"></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"> virtual bool NL3D::UParticleSystemInstance::isShared </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> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#a0">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::UParticleSystemInstance::isSystemPresent"></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"> virtual bool NL3D::UParticleSystemInstance::isSystemPresent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tell wether the system is currently instanciated. +<p> +This may not be the case when the system is not visible You must check this before you use any method that access the system. If you don't, there will be an assertion when you'll try to access it example : <a class="el" href="classNL3D_1_1UParticleSystemInstance.html">UParticleSystemInstance</a> *mySystem = ... ... if (mySystem-><a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a0">isSystemPresent</a>()) { /// perform modification on the system here mySystem->setUserParam(0, 0.5f); } +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_0">isValid</a>() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_2">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z62_0" doxytag="NL3D::UParticleSystemInstance::isValid"></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"> virtual bool NL3D::UParticleSystemInstance::isValid </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test if the system is valid. +<p> +A system is invalid when it should be destroyed. It's then up to the system user to destroy it (thus avoiding invalid pointers...) This usually happens when the system has been created with the flag 'destroy when no more particles' or 'destroy when no more emitter and no more particles' , or when it is out of range. Of course, an invalid system will always return false when <a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a0">isSystemPresent</a>() is called... <dl compact><dt><b> +Returns: </b><dd> +true if the system has been invalidated. You can remove this object from the scene then... </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_8">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z62_1" doxytag="NL3D::UParticleSystemInstance::registerPSObserver"></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"> virtual void NL3D::UParticleSystemInstance::registerPSObserver </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1UParticleSystemInstance_1_1IPSObserver.html">IPSObserver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>observer</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Register an observer that will be notified when the system becomes invalid nlassert(!isPSObserver(oberver));. +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_2">isPSObserver</a>() , <a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_3">removePSObserver</a>() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_9">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z63_1" doxytag="NL3D::UParticleSystemInstance::removeByID"></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"> virtual bool NL3D::UParticleSystemInstance::removeByID </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +All the object with the given id are removed. +<p> +<dl compact><dt><b> +Returns: </b><dd> +false if the id is invalid. </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_1">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z62_3" doxytag="NL3D::UParticleSystemInstance::removePSObserver"></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"> virtual void NL3D::UParticleSystemInstance::removePSObserver </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="structNL3D_1_1UParticleSystemInstance_1_1IPSObserver.html">IPSObserver</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>observer</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +remove 'observer' from the observers of this system. +<p> +Not an observer => nlassert <dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_1">registerPSObserver</a>() , <a class="el" href="classNL3D_1_1UParticleSystemInstance.html#z62_2">isPSObserver</a>() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_11">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z63_5" doxytag="NL3D::UParticleSystemInstance::setActive"></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"> virtual bool NL3D::UParticleSystemInstance::setActive </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>active</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_15">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<a name="z61_4" doxytag="NL3D::UParticleSystemInstance::setGlobalUserParamValue"></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::UParticleSystemInstance::setGlobalUserParamValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a global user param value. User param in a system can mirror global values, which are identified by their name. +<p> + +<p> +Definition at line <a class="el" href="particle__system__instance__user_8cpp-source.html#l00370">370</a> of file <a class="el" href="particle__system__instance__user_8cpp-source.html">particle_system_instance_user.cpp</a>. +<p> +References <a class="el" href="particle__system__instance__user_8h-source.html#l00036">NL3D_MEM_PS_INSTANCE</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="z61_6" doxytag="NL3D::UParticleSystemInstance::setGlobalVectorValue"></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::UParticleSystemInstance::setGlobalVectorValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> & </td> + <td class="mdname" nowrap> <em>v</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a global vector value in the system. +<p> +Some object in the system can bind their parameters to such a global value Example : direction of wind could be stored in the global variable 'WIND' +<p> +Definition at line <a class="el" href="particle__system__instance__user_8cpp-source.html#l00394">394</a> of file <a class="el" href="particle__system__instance__user_8cpp-source.html">particle_system_instance_user.cpp</a>. +<p> +References <a class="el" href="particle__system__instance__user_8h-source.html#l00036">NL3D_MEM_PS_INSTANCE</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<a name="z61_0" doxytag="NL3D::UParticleSystemInstance::setUserParam"></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"> virtual void NL3D::UParticleSystemInstance::setUserParam </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [pure virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a user param of the system. +<p> +Each user param must be >= 0 and <= 1 <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>index</em> </td><td> +the index of the user param to modify. For now it ranges from 0 to 3 \value the new value of the parameter </td></tr> +</table> +</dl><dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1UParticleSystemInstance.html#a0">isSystemPresent</a>() </dl> +<p> +Implemented in <a class="el" href="classNL3D_1_1CParticleSystemInstanceUser.html#z654_4">NL3D::CParticleSystemInstanceUser</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="u__particle__system__instance_8h-source.html">u_particle_system_instance.h</a><li><a class="el" href="particle__system__instance__user_8cpp-source.html">particle_system_instance_user.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> |