diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CInstanceUser.html | 1191 |
1 files changed, 1191 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CInstanceUser.html b/docs/doxygen/nel/classNL3D_1_1CInstanceUser.html new file mode 100644 index 00000000..06126c1d --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CInstanceUser.html @@ -0,0 +1,1191 @@ +<!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::CInstanceUser Class Reference</h1><a class="el" href="classNL3D_1_1UInstance.html">UInstance</a> implementation. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="instance__user_8h-source.html">instance_user.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CInstanceUser: +<p><center><img src="classNL3D_1_1CInstanceUser.gif" usemap="#NL3D::CInstanceUser_map" border="0"></center> +<map name="NL3D::CInstanceUser_map"> +<area href="classNL3D_1_1UInstance.html" alt="NL3D::UInstance" shape="rect" coords="0,112,166,136"> +<area href="classNL3D_1_1CTransformUser.html" alt="NL3D::CTransformUser" shape="rect" coords="264,112,430,136"> +<area href="classNL3D_1_1UTransform.html" alt="NL3D::UTransform" shape="rect" coords="0,56,166,80"> +<area href="classNL3D_1_1UTransform.html" alt="NL3D::UTransform" shape="rect" coords="176,56,342,80"> +<area href="classNL3D_1_1CTransformableUser.html" alt="NL3D::CTransformableUser" shape="rect" coords="352,56,518,80"> +<area href="classNL3D_1_1UTransformable.html" alt="NL3D::UTransformable" shape="rect" coords="0,0,166,24"> +<area href="classNL3D_1_1UTransformable.html" alt="NL3D::UTransformable" shape="rect" coords="176,0,342,24"> +<area href="classNL3D_1_1UTransformable.html" alt="NL3D::UTransformable" shape="rect" coords="352,0,518,24"> +<area href="classNL3D_1_1CWaterInstanceUser.html" alt="NL3D::CWaterInstanceUser" shape="rect" coords="132,224,298,248"> +</map> +<a href="classNL3D_1_1CInstanceUser-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a0">getShapeAABBox</a> (<a class="el" href="classNLMISC_1_1CAABBox.html">NLMISC::CAABBox</a> &bbox) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the untransformed AABBox of the mesh.</em> <a href="#a0">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_1CInstanceUser.html#a1">setBlendShapeFactor</a> (const std::string &blendShapeName, float factor, bool dynamic)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the blend shape factor for this instance blenShapeName is the name of the blendshape we want to set factor the blendshape percentage from 0.0 to 100.0 dynamic tells the optimizer if the blendshape have to change in real time.</em> <a href="#a1">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_1CInstanceUser.html#a2">changeMRMDistanceSetup</a> (float distanceFinest, float distanceMiddle, float distanceCoarsest)</td></tr> +<tr><td> </td><td><font size=-1><em>Change MRM Distance setup.</em> <a href="#a2">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_1CInstanceUser.html#a3">setShapeDistMax</a> (float distMax)</td></tr> +<tr><td> </td><td><font size=-1><em>Change Max Display distance.</em> <a href="#a3">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_1CInstanceUser.html#a4">getShapeDistMax</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>see <a class="el" href="classNL3D_1_1CInstanceUser.html#a3">setShapeDistMax</a>().</em> <a href="#a4">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_1CInstanceUser.html#a5">canStartStop</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Test if there is a start/stop caps in the objects (some fxs such as remanence).</em> <a href="#a5">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_1CInstanceUser.html#a6">start</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a7">stop</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a8">isStarted</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a9">getDistMax</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a10">setDistMax</a> (float distMax)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a11">setCoarseMeshDist</a> (float dist)</td></tr> +<tr><td nowrap align=right valign=top>virtual float </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#a12">getCoarseMeshDist</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#z473_0">CInstanceUser</a> (<a class="el" href="classNL3D_1_1CScene.html">CScene</a> *scene, <a class="el" href="classNL3D_1_1IModel.html">IModel</a> *trans)</td></tr> +<tr><td> </td><td><font size=-1><em>This model should have been created with Scene::createInstance().</em> <a href="#z473_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#z473_1">~CInstanceUser</a> ()</td></tr> +<tr><td colspan="2"><div class="groupHeader">Material access.</div></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_1CInstanceUser.html#z474_0">getNumMaterials</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return number of materials this mesh instance use.</em> <a href="#z474_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1UInstanceMaterial.html">UInstanceMaterial</a> & </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#z474_1">getMaterial</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> materialId)</td></tr> +<tr><td> </td><td><font size=-1><em>return a local access on a material, to change its values. (NB: overwrited, if animated).</em> <a href="#z474_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_1CInstanceUser.html#z474_2">selectTextureSet</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Select textures of material among several sets (if available) NB: if success and if <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_1">getAsyncTextureMode</a>()==true, then setAsyncTextureDirty(true) is called.</em> <a href="#z474_2">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Async Texture Loading</div></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#z475_0">enableAsyncTextureMode</a> (bool enable)</td></tr> +<tr><td> </td><td><font size=-1><em>if true, the instance is said in "AsyncTextureMode".</em> <a href="#z475_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_1CInstanceUser.html#z475_1">getAsyncTextureMode</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#z475_2">startAsyncTextureLoading</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Start to load all textures in AsyncTextures array (if needed) NB: old setup is kept in Material => instance is still rendered with "coherent" textures, until new textures are ready no op if not in async texture mode.</em> <a href="#z475_2">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_1CInstanceUser.html#z475_3">isAsyncTextureReady</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>return true if all the async textures of the instances are uploaded.</em> <a href="#z475_3">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_1CInstanceUser.html#z475_4">setAsyncTextureDistance</a> (float dist)</td></tr> +<tr><td> </td><td><font size=-1><em>For Lod of texture, and load balancing, set the approximate distance of the instance to the camera.</em> <a href="#z475_4">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_1CInstanceUser.html#z475_5">getAsyncTextureDistance</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#z475_6">setAsyncTextureDirty</a> (bool flag)</td></tr> +<tr><td> </td><td><font size=-1><em>User is free to flag this state, to know if <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_2">startAsyncTextureLoading</a>() should be called.</em> <a href="#z475_6">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_1CInstanceUser.html#z475_7">isAsyncTextureDirty</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>see dirtAsyncTextureState().</em> <a href="#z475_7">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTransformShape.html">CTransformShape</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#m0">_Instance</a></td></tr> +<tr><td> </td><td><font size=-1><em>This is the SAME pointer than _Transform, but correctly casted.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::vector< <a class="el" href="classNL3D_1_1CInstanceMaterialUser.html">CInstanceMaterialUser</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CInstanceUser.html#m1">_Materials</a></td></tr> +<tr><td> </td><td><font size=-1><em>This is a mirror of _Instance->Materials.</em> <a href="#m1">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classNL3D_1_1UInstance.html">UInstance</a> implementation. +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00050">50</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z473_0" doxytag="NL3D::CInstanceUser::CInstanceUser"></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::CInstanceUser::CInstanceUser </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CScene.html">CScene</a> * </td> + <td class="mdname" nowrap> <em>scene</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNL3D_1_1IModel.html">IModel</a> * </td> + <td class="mdname" nowrap> <em>trans</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> +This model should have been created with Scene::createInstance(). +<p> + +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00041">41</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00057">_Materials</a>. +<p> +Referenced by <a class="el" href="water__user_8h-source.html#l00039">NL3D::CWaterInstanceUser::CWaterInstanceUser</a>. </td> + </tr> +</table> +<a name="z473_1" doxytag="NL3D::CInstanceUser::~CInstanceUser"></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 NL3D::CInstanceUser::~CInstanceUser </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> [inline, virtual]</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="instance__user_8h-source.html#l00066">66</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a5" doxytag="NL3D::CInstanceUser::canStartStop"></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::CInstanceUser::canStartStop </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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Test if there is a start/stop caps in the objects (some fxs such as remanence). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a5">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00105">105</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CInstanceUser::changeMRMDistanceSetup"></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::CInstanceUser::changeMRMDistanceSetup </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname" nowrap> <em>distanceFinest</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>distanceMiddle</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>distanceCoarsest</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Change MRM Distance setup. +<p> +Only for mesh which support MRM. NB MeshMultiLod apply it only on Lod0 (if Lod0 is a MRM). NB: This apply to the shape direclty!! ie All instances using same shape will be affected NB: no-op if distanceFinest<0, distanceMiddle<=distanceFinest or if distanceCoarsest<=distanceMiddle. <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>distanceFinest</em> </td><td> +The MRM has its max faces when dist<=distanceFinest. </td></tr> +<tr><td valign=top><em>distanceMiddle</em> </td><td> +The MRM has 50% of its faces at dist==distanceMiddle. </td></tr> +<tr><td valign=top><em>distanceCoarsest</em> </td><td> +The MRM has faces/Divisor (ie near 0) when dist>=distanceCoarsest. </td></tr> +</table> +</dl> +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a2">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00083">83</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. </td> + </tr> +</table> +<a name="z475_0" doxytag="NL3D::CInstanceUser::enableAsyncTextureMode"></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::CInstanceUser::enableAsyncTextureMode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enable</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +if true, the instance is said in "AsyncTextureMode". +<p> +Ie user must fill AsyncTextures field with name of the textures to load. At each <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_2">startAsyncTextureLoading</a>(), the system start to load async them. Then, <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_3">isAsyncTextureReady</a>() should be test each frame, to know if loading has completed. By default, AsyncTextureMode=false. When it swap from false to true, each texture file in Materials are replaced with "blank.tga", and true fileNames are copied into AsyncTextures. When it swap from true to false, the inverse is applied. NB: calling enableAsyncTextureMode(true) calls setAsyncTextureDirty(true) +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_0">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00129">129</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z475_5" doxytag="NL3D::CInstanceUser::getAsyncTextureDistance"></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::CInstanceUser::getAsyncTextureDistance </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b> +See also: </b><dd> +<a class="el" href="classNL3D_1_1CInstanceUser.html#z475_4">setAsyncTextureDistance</a>() </dl> +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_5">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00169">169</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z475_1" doxytag="NL3D::CInstanceUser::getAsyncTextureMode"></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"> bool NL3D::CInstanceUser::getAsyncTextureMode </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_1">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00137">137</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NL3D::CInstanceUser::getCoarseMeshDist"></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::CInstanceUser::getCoarseMeshDist </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a12">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00201">201</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CInstanceUser::getDistMax"></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::CInstanceUser::getDistMax </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a9">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00125">125</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<a name="z474_1" doxytag="NL3D::CInstanceUser::getMaterial"></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="classNL3D_1_1UInstanceMaterial.html">UInstanceMaterial</a>& NL3D::CInstanceUser::getMaterial </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>materialId</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return a local access on a material, to change its values. (NB: overwrited, if animated). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z31_1">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00088">88</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00057">_Materials</a>, <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>, and <a class="el" href="debug_8h-source.html#l00133">nlerror</a>. </td> + </tr> +</table> +<a name="z474_0" doxytag="NL3D::CInstanceUser::getNumMaterials"></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::CInstanceUser::getNumMaterials </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return number of materials this mesh instance use. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z31_0">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00083">83</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00057">_Materials</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NL3D::CInstanceUser::getShapeAABBox"></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::CInstanceUser::getShapeAABBox </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> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the untransformed AABBox of the mesh. +<p> +NULL (gtSize()==0) if no mesh. +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a0">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00063">63</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CInstanceUser::getShapeDistMax"></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::CInstanceUser::getShapeDistMax </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +see <a class="el" href="classNL3D_1_1CInstanceUser.html#a3">setShapeDistMax</a>(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a4">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00107">107</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>. </td> + </tr> +</table> +<a name="z475_7" doxytag="NL3D::CInstanceUser::isAsyncTextureDirty"></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"> bool NL3D::CInstanceUser::isAsyncTextureDirty </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +see dirtAsyncTextureState(). +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_7">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00185">185</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z475_3" doxytag="NL3D::CInstanceUser::isAsyncTextureReady"></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"> bool NL3D::CInstanceUser::isAsyncTextureReady </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return true if all the async textures of the instances are uploaded. +<p> +if was not ready before, this swap the upload textures into the rendered ones so they are rendered return always true if not in async texture mode, or if <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_2">startAsyncTextureLoading</a>() has not been called since last enableAsyncTextureMode(true) +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_3">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00153">153</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CInstanceUser::isStarted"></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::CInstanceUser::isStarted </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, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a8">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00120">120</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<a name="z474_2" doxytag="NL3D::CInstanceUser::selectTextureSet"></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::CInstanceUser::selectTextureSet </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>id</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Select textures of material among several sets (if available) NB: if success and if <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_1">getAsyncTextureMode</a>()==true, then setAsyncTextureDirty(true) is called. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z31_2">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00120">120</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>. </td> + </tr> +</table> +<a name="z475_6" doxytag="NL3D::CInstanceUser::setAsyncTextureDirty"></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::CInstanceUser::setAsyncTextureDirty </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>flag</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +User is free to flag this state, to know if <a class="el" href="classNL3D_1_1CInstanceUser.html#z475_2">startAsyncTextureLoading</a>() should be called. +<p> +Internal system don't use this flag. Default is false +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_6">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00177">177</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z475_4" doxytag="NL3D::CInstanceUser::setAsyncTextureDistance"></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::CInstanceUser::setAsyncTextureDistance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>dist</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +For Lod of texture, and load balancing, set the approximate distance of the instance to the camera. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_4">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00161">161</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CInstanceUser::setBlendShapeFactor"></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::CInstanceUser::setBlendShapeFactor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>blendShapeName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>factor</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>dynamic</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the blend shape factor for this instance blenShapeName is the name of the blendshape we want to set factor the blendshape percentage from 0.0 to 100.0 dynamic tells the optimizer if the blendshape have to change in real time. +<p> + +<p> +Reimplemented from <a class="el" href="classNL3D_1_1UInstance.html#a1">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00070">70</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NL3D::CInstanceUser::setCoarseMeshDist"></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::CInstanceUser::setCoarseMeshDist </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>dist</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a11">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00194">194</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NL3D::CInstanceUser::setDistMax"></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::CInstanceUser::setDistMax </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a10">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00130">130</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CInstanceUser::setShapeDistMax"></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::CInstanceUser::setShapeDistMax </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>distMax</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Change Max Display distance. +<p> +After this distance the shape won't be displayed. setting <0 means -1 and so means DistMax = infinite (default in meshs but multilod meshes). NB: This apply to the shape direclty!! ie All instances using same shape will be affected +<p> +Note: If the instance is skinned/sticked to a skeleton, this setup is not taken into account. But you can call <a class="el" href="classNL3D_1_1USkeleton.html#z87_3">USkeleton::setShapeDistMax</a>() to have same effect. +<p> +Note (complex): All instances of the same shape which are <a class="el" href="classNL3D_1_1CTransformUser.html#z862_0">freezeHRC</a>()-ed and are linked to the QuadGridClipManager (ie not linked to a cluster) may not be updated corretcly. In other words, you should setup this value only at beginning of program, just after creating your instance (more exactly before <a class="el" href="classNL3D_1_1UScene.html#z73_0">UScene::render</a>()), and all instances of the same shape should be setuped with same value (or don't call <a class="el" href="classNL3D_1_1CInstanceUser.html#a3">setShapeDistMax</a>() for subsequent instances). If you don't do this, QuadGridClipManager may clip such instances nearer than they should +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a3">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00097">97</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CInstanceUser::start"></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::CInstanceUser::start </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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a6">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00110">110</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<a name="z475_2" doxytag="NL3D::CInstanceUser::startAsyncTextureLoading"></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::CInstanceUser::startAsyncTextureLoading </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Start to load all textures in AsyncTextures array (if needed) NB: old setup is kept in Material => instance is still rendered with "coherent" textures, until new textures are ready no op if not in async texture mode. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#z32_2">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8cpp-source.html#l00145">145</a> of file <a class="el" href="instance__user_8cpp-source.html">instance_user.cpp</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CInstanceUser::stop"></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::CInstanceUser::stop </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><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1UInstance.html#a7">NL3D::UInstance</a>. +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00115">115</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +References <a class="el" href="instance__user_8h-source.html#l00054">_Instance</a>, and <a class="el" href="instance__user_8h-source.html#l00038">NL3D_MEM_INSTANCE</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m0" doxytag="NL3D::CInstanceUser::_Instance"></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_1CTransformShape.html">CTransformShape</a>* NL3D::CInstanceUser::_Instance + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is the SAME pointer than _Transform, but correctly casted. +<p> + +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00054">54</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +Referenced by <a class="el" href="instance__user_8h-source.html#l00105">canStartStop</a>, <a class="el" href="instance__user_8cpp-source.html#l00041">CInstanceUser</a>, <a class="el" href="instance__user_8cpp-source.html#l00129">enableAsyncTextureMode</a>, <a class="el" href="instance__user_8cpp-source.html#l00169">getAsyncTextureDistance</a>, <a class="el" href="instance__user_8cpp-source.html#l00137">getAsyncTextureMode</a>, <a class="el" href="instance__user_8h-source.html#l00125">getDistMax</a>, <a class="el" href="instance__user_8cpp-source.html#l00063">getShapeAABBox</a>, <a class="el" href="instance__user_8cpp-source.html#l00107">getShapeDistMax</a>, <a class="el" href="instance__user_8cpp-source.html#l00185">isAsyncTextureDirty</a>, <a class="el" href="instance__user_8cpp-source.html#l00153">isAsyncTextureReady</a>, <a class="el" href="instance__user_8h-source.html#l00120">isStarted</a>, <a class="el" href="instance__user_8cpp-source.html#l00177">setAsyncTextureDirty</a>, <a class="el" href="instance__user_8cpp-source.html#l00161">setAsyncTextureDistance</a>, <a class="el" href="instance__user_8h-source.html#l00130">setDistMax</a>, <a class="el" href="instance__user_8cpp-source.html#l00097">setShapeDistMax</a>, <a class="el" href="instance__user_8h-source.html#l00110">start</a>, <a class="el" href="instance__user_8cpp-source.html#l00145">startAsyncTextureLoading</a>, <a class="el" href="instance__user_8h-source.html#l00115">stop</a>, and <a class="el" href="instance__user_8h-source.html#l00066">~CInstanceUser</a>. </td> + </tr> +</table> +<a name="m1" doxytag="NL3D::CInstanceUser::_Materials"></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"> std::vector<<a class="el" href="classNL3D_1_1CInstanceMaterialUser.html">CInstanceMaterialUser</a>> NL3D::CInstanceUser::_Materials + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is a mirror of _Instance->Materials. +<p> + +<p> +Definition at line <a class="el" href="instance__user_8h-source.html#l00057">57</a> of file <a class="el" href="instance__user_8h-source.html">instance_user.h</a>. +<p> +Referenced by <a class="el" href="instance__user_8cpp-source.html#l00041">CInstanceUser</a>, <a class="el" href="instance__user_8h-source.html#l00088">getMaterial</a>, and <a class="el" href="instance__user_8h-source.html#l00083">getNumMaterials</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="instance__user_8h-source.html">instance_user.h</a><li><a class="el" href="instance__user_8cpp-source.html">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> |