diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03235.html | 4120 |
1 files changed, 4120 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03235.html b/docs/doxygen/nel/a03235.html new file mode 100644 index 00000000..e4cfeca7 --- /dev/null +++ b/docs/doxygen/nel/a03235.html @@ -0,0 +1,4120 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NL3D::CPSSound class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CPSSound Class Reference</h1><code>#include <<a class="el" href="a06282.html">ps_sound.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CPSSound: +<p><center><img src="a03235.png" usemap="#NL3D::CPSSound_map" border="0" alt=""></center> +<map name="NL3D::CPSSound_map"> +<area href="a02691.html" alt="NL3D::CPSLocatedBindable" shape="rect" coords="0,112,169,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,169,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,169,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This is a goup of sound instances sound instance. sounds are produced during the motion pass <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00050">50</a> of file <a class="el" href="a06282.html">ps_sound.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea1">basisChanged</a> (<a class="el" href="a05363.html#a557">TPSMatrixMode</a> systemBasis)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea2">completeBBox</a> (<a class="el" href="a02156.html">NLMISC::CAABBox</a> &box) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea3">computeI</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea4">computeJ</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea5">computeK</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea8">doesProduceBBox</a> (void) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea9">enumTexs</a> (std::vector< <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > > &dest, <a class="el" href="a02434.html">IDriver</a> &drv)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">getClassName</a> ()=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02434.html">IDriver</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea14">getDriver</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get an instance of the driver <a href="#NL3D_1_1CPSZoneSpherea14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda9">getEmissionPercent</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the percent of sound emission. <a href="#NL3D_1_1CPSSounda9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea15">getExternID</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the extern ID of this located bindable <a href="#NL3D_1_1CPSZoneSpherea15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02541.html">CFontGenerator</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea16">getFontGenerator</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the font generator if one was set (const version). <a href="#NL3D_1_1CPSZoneSpherea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02541.html">CFontGenerator</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea17">getFontGenerator</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the font generator if one was set. <a href="#NL3D_1_1CPSZoneSpherea17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02542.html">CFontManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea18">getFontManager</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the font manager if one was set (const version). <a href="#NL3D_1_1CPSZoneSpherea18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02542.html">CFontManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea19">getFontManager</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda15">getGain</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current gain. meningful only if a scheme is not used <a href="#NL3D_1_1CPSSounda15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda16">getGainScheme</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current gain scheme (const version) <a href="#NL3D_1_1CPSSounda16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda17">getGainScheme</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current gain scheme <a href="#NL3D_1_1CPSSounda17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea20">getInvertedSysMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get the inverted matrix of the system <a href="#NL3D_1_1CPSZoneSpherea20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea21">getInvertedViewMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get the inverted view matrix <a href="#NL3D_1_1CPSZoneSpherea21"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea22">getLocalToWorldMatrix</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to get the local to world matrix. <a href="#NL3D_1_1CPSZoneSpherea22"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05363.html#a558">TPSLod</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea23">getLOD</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the valid lods for that object <a href="#NL3D_1_1CPSZoneSpherea23"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda22">getMute</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">test wether mute has been activated <a href="#NL3D_1_1CPSSounda22"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea25">getName</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the located bindable name (edition purpose) <a href="#NL3D_1_1CPSZoneSpherea25"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea28">getOwner</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the located that owns this bindable (const version) <a href="#NL3D_1_1CPSZoneSpherea28"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the located that owns this bindable <a href="#NL3D_1_1CPSZoneSpherea29"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda26">getPitch</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current pitch. meaningful only if a scheme is not used <a href="#NL3D_1_1CPSSounda26"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda27">getPitchScheme</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current pitch scheme (const version) <a href="#NL3D_1_1CPSSounda27"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda28">getPitchScheme</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the current pitch scheme <a href="#NL3D_1_1CPSSounda28"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda29">getPriority</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return priority <a href="#NL3D_1_1CPSSounda29"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda30">getSoundName</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the name of the sound <a href="#NL3D_1_1CPSSounda30"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda31">getSpawn</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">test wether sound spawning is enabled <a href="#NL3D_1_1CPSSounda31"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea32">getSysMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea32"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda33">getType</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return this bindable type <a href="#NL3D_1_1CPSSounda33"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda34">getUseOriginalPitchFlag</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea37">getViewMat</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to get the view matrix <a href="#NL3D_1_1CPSZoneSpherea37"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea38">hasEmitters</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells wether there are alive emitters <a href="#NL3D_1_1CPSZoneSpherea38"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea39">hasParticles</a> (void) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells wether there are alive entities / particles <a href="#NL3D_1_1CPSZoneSpherea39"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea40">isActive</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea41">motionTypeChanged</a> (bool parametric)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">called when a located has switch between incrmental / parametric motion. The default does nothing <a href="#NL3D_1_1CPSZoneSpherea41"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda41">NLMISC_DECLARE_CLASS</a> (<a class="el" href="a03235.html">CPSSound</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSTailDota46">notifyTargetRemoved</a> (<a class="el" href="a03214.html">CPSLocated</a> *ptr)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSTailDota46"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda43">reactivateSound</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSTailDota47">releaseAllRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSTailDota47"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSTailDota48">releaseRefTo</a> (const <a class="el" href="a03054.html">CParticleSystemProcess</a> *other)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea49">setActive</a> (bool active)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Activate / Deactivate this object. When not active, the owning system won't try to call the 'step' method. <a href="#NL3D_1_1CPSZoneSpherea49"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda47">setEmissionPercent</a> (float percent)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set a percent of sound emission. If set to 1, it try to emit all sounds <a href="#NL3D_1_1CPSSounda47"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea52">setExternID</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a564">id</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSpherea52"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda49">setGain</a> (float gain)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set a constant gain. Any previous gain scheme is discarded. <a href="#NL3D_1_1CPSSounda49"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda50">setGainScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< float > *gain)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea53">setLOD</a> (<a class="el" href="a05363.html#a558">TPSLod</a> lod)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda52">setMute</a> (bool enabled=true)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set mute on/off. The default is off. WARNING : It is not saved by this object <a href="#NL3D_1_1CPSSounda52"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea55">setName</a> (const std::string &name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the located bindable name (edition purpose) <a href="#NL3D_1_1CPSZoneSpherea55"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda54">setPitch</a> (float pitch)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set a constant pitch. Any previous pitch scheme is discarded. <a href="#NL3D_1_1CPSSounda54"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda55">setPitchScheme</a> (<a class="el" href="a03136.html">CPSAttribMaker</a>< float > *pitch)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda56">setSoundName</a> (const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> &soundName)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the name of the sound <a href="#NL3D_1_1CPSSounda56"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda57">setSpawn</a> (bool enabled=true)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells wether sound emissions are spawned or not <a href="#NL3D_1_1CPSSounda57"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea59">setupDriverModelMatrix</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">shortcut to setup the model matrix (system basis or world basis) <a href="#NL3D_1_1CPSZoneSpherea59"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda59">setUseOriginalPitchFlag</a> (bool useOriginalPitch)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea60">setZBias</a> (float <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda61">step</a> (<a class="el" href="a05363.html#a556">TPSProcessPass</a> pass, <a class="el" href="a05363.html#a366">TAnimationTime</a> ellapsedTime, <a class="el" href="a05363.html#a366">TAnimationTime</a> realEt)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSounda62">stopSound</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherea65">systemDateChanged</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">object</div></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundz762_0">CPSSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">ctor <a href="#NL3D_1_1CPSSoundz762_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundz762_1">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">serialisation. Derivers must override this, and call their parent version <a href="#NL3D_1_1CPSSoundz762_1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundz762_2">~CPSSound</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">dtor <a href="#NL3D_1_1CPSSoundz762_2"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSphereb0">bounceOccured</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundb1">deleteElement</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSphereb3">displayIcon2d</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> tab[], <a class="el" href="a04558.html#a15">uint</a> nbSegs, float scale)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSphereb3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundb3">newElement</a> (<a class="el" href="a03214.html">CPSLocated</a> *emitterLocated, <a class="el" href="a04558.html#a11">uint32</a> emitterIndex)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundb4">removeAllSources</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundb5">resize</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSphereb7">setOwner</a> (<a class="el" href="a03214.html">CPSLocated</a> *psl)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">*************************************************************************************** <a href="#NL3D_1_1CPSZoneSphereb7"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep0">_Active</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp1">_EmissionPercent</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp3">_Gain</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05363.html#a558">TPSLod</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep4">_LOD</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">tells when this object must be dealt with <a href="#NL3D_1_1CPSZoneSpherep4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp6">_Mute</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03214.html">CPSLocated</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp9">_Pitch</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">NLMISC::TStringId</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp11">_SoundName</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03135.html">CPSAttrib</a>< <a class="el" href="a03939.html">UPSSoundInstance</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp15">_SpawnSounds</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a></td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a02691.html#NL3D_1_1CPSZoneSpheren0">CPSLocated</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSSoundz762_0" doxytag="NL3D::CPSSound::CPSSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSSound::CPSSound </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor +<p> + +<p> +Definition at line <a class="el" href="a06281.html#l00042">42</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00173">_SoundName</a>, and <a class="el" href="a06470.html#l00085">NLMISC::CStringMapper::emptyId()</a>. +<p> +<div class="fragment"><pre>00042 : <a class="code" href="a03235.html#NL3D_1_1CPSSoundp3">_Gain</a>(1.f), +00043 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>(NULL), +00044 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp9">_Pitch</a>(1.f), +00045 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>(NULL), +00046 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp1">_EmissionPercent</a>(1), +00047 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp15">_SpawnSounds</a>(<span class="keyword">false</span>), +00048 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp6">_Mute</a>(<span class="keyword">false</span>), +00049 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a>(<span class="keyword">false</span>), +00050 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a>(<span class="keyword">false</span>), +00051 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a>(<span class="keyword">false</span>) +00052 { +00053 <span class="keywordflow">if</span> (CParticleSystem::getSerializeIdentifierFlag()) <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a> = std::string(<span class="stringliteral">"sound"</span>); +00054 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp11">_SoundName</a> = <a class="code" href="a03450.html#NLMISC_1_1CStringMappere2">NLMISC::CStringMapper::emptyId</a>(); +00055 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundz762_2" doxytag="NL3D::CPSSound::~CPSSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSSound::~<a class="el" href="a03235.html">CPSSound</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +dtor +<p> + +<p> +Definition at line <a class="el" href="a06281.html#l00095">95</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00175">_GainScheme</a>, <a class="el" href="a06282.html#l00177">_PitchScheme</a>, and <a class="el" href="a06281.html#l00084">removeAllSources()</a>. +<p> +<div class="fragment"><pre>00096 { +00097 <a class="code" href="a03235.html#NL3D_1_1CPSSoundb4">removeAllSources</a>(); +00098 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>; +00099 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00100 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea1" doxytag="NL3D::CPSSound::basisChanged" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::basisChanged </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a557">TPSMatrixMode</a> </td> + <td class="mdname1" valign="top" nowrap> <em>systemBasis</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Called when the basis of the owner changed. the default behaviour does nothing <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>newBasis</em> </td><td>: True if in the system basis, false for the world basis.</td></tr> + </table> +</dl> + +<p> +Reimplemented in <a class="el" href="a02690.html#NL3D_1_1CPSTurbulb0">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00968">968</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00968 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb0" doxytag="NL3D::CPSSound::bounceOccured" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::bounceOccured </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +a bounce occured, so some action could be done. The default behaviour does nothing <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>index</em> </td><td>the index of the element that bounced</td></tr> + </table> +</dl> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmitterb0">NL3D::CPSEmitter</a>. +<p> +Definition at line <a class="el" href="a06247.html#l01011">1011</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>01011 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea2" doxytag="NL3D::CPSSound::completeBBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::completeBBox </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02156.html">NLMISC::CAABBox</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>box</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03194.html#NL3D_1_1CPSFanLighta1">NL3D::CPSFanLight</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuadb2">NL3D::CPSQuad</a>, and <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea1">NL3D::CPSShockWave</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00884">884</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00884 { <span class="keywordflow">return</span> <span class="keyword">false</span> ;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea3" doxytag="NL3D::CPSSound::computeI" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CPSLocatedBindable::computeI </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a vector that will map to (1 0 0) after view and model transform. This allow to have object that always faces the user, whatever basis they are in +<p> +Definition at line <a class="el" href="a06247.html#l00931">931</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00612">NL3D::CPSLocated::computeI()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>00931 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->computeI(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea4" doxytag="NL3D::CPSSound::computeJ" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CPSLocatedBindable::computeJ </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a vector that will map to (0 1 0) after view and model transform. This allow to have object that always faces the user, whatever basis they are in +<p> +Definition at line <a class="el" href="a06247.html#l00936">936</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00643">NL3D::CPSLocated::computeJ()</a>. +<p> +Referenced by <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>. +<p> +<div class="fragment"><pre>00936 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->computeJ(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea5" doxytag="NL3D::CPSSound::computeK" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03128.html">NLMISC::CVector</a> NL3D::CPSLocatedBindable::computeK </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute a vector that will map to (0 0 1) after view and model transform. This allow to have object that always faces the user, whatever basis they are in +<p> +Definition at line <a class="el" href="a06247.html#l00940">940</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00674">NL3D::CPSLocated::computeK()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>00940 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->computeK(); } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundb1" doxytag="NL3D::CPSSound::deleteElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::deleteElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Delete an element given its index Attributes of the located that hold this bindable (pos etc...) are still accessible for the given index. index out of range -> nl_assert +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSZoneb1">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06281.html#l00402">402</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00175">_GainScheme</a>, <a class="el" href="a06282.html#l00177">_PitchScheme</a>, <a class="el" href="a06282.html#l00172">_Sounds</a>, <a class="el" href="a06214.html#l00285">NL3D::CPSAttribMaker< float >::deleteElement()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a03135.html#NL3D_1_1CPSAttribz710_2">NL3D::CPSAttrib< UPSSoundInstance * >::remove()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00084">removeAllSources()</a>. +<p> +<div class="fragment"><pre>00403 { +00404 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->deleteElement(index); +00405 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->deleteElement(index); +00406 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]) +00407 { +00408 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]->setLooping(<span class="keyword">false</span>); +00409 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]->release(); +00410 } +00411 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.remove(index); +00412 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb3" doxytag="NL3D::CPSSound::displayIcon2d" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::displayIcon2d </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> </td> + <td class="mdname" nowrap> <em>tab</em>[], </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>nbSegs</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>scale</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +show an drawing to represent the object, and in red if it is selected <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>tab</em> </td><td>: a table of 2 * nbSeg vector. only the x and y coordinates are used </td></tr> + <tr><td valign=top><em>nbSeg</em> </td><td>: the number of segment </td></tr> + <tr><td valign=top><em>scale</em> </td><td>: the scale to use for drawing</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a06246.html#l02038">2038</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l00931">NL3D::CPSLocatedBindable::computeI()</a>, <a class="el" href="a06247.html#l00940">NL3D::CPSLocatedBindable::computeK()</a>, <a class="el" href="a06143.html#l00411">NL3D::CParticleSystem::getCurrentEditedElement()</a>, <a class="el" href="a06247.html#l00890">NL3D::CPSLocatedBindable::getDriver()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06247.html#l00334">NL3D::CPSLocated::getPos()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05641.html#l00064">NL3D::CMaterial::setBlend()</a>, <a class="el" href="a05641.html#l00091">NL3D::CMaterial::setBlendFunc()</a>, <a class="el" href="a05641.html#l00118">NL3D::CMaterial::setColor()</a>, <a class="el" href="a05641.html#l00127">NL3D::CMaterial::setLighting()</a>, <a class="el" href="a06246.html#l02142">NL3D::CPSLocatedBindable::setupDriverModelMatrix()</a>, <a class="el" href="a05641.html#l00099">NL3D::CMaterial::setZFunc()</a>, <a class="el" href="a05641.html#l00105">NL3D::CMaterial::setZWrite()</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05910.html#l00048">NLMISC::CLine::V0</a>, <a class="el" href="a05910.html#l00048">NLMISC::CLine::V1</a>, <a class="el" href="a06673.html#l00051">NLMISC::CVector::x</a>, and <a class="el" href="a06673.html#l00051">NLMISC::CVector::y</a>. +<p> +Referenced by <a class="el" href="a06239.html#l00795">NL3D::CPSSpring::show()</a>, <a class="el" href="a06239.html#l00724">NL3D::CPSCentralGravity::show()</a>, and <a class="el" href="a06257.html#l00055">NL3D::CPSParticle::showTool()</a>. +<p> +<div class="fragment"><pre>02039 { +02040 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize(); +02041 <span class="keywordflow">if</span> (!<a class="code" href="a04223.html#a587">size</a>) <span class="keywordflow">return</span>; +02042 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea59">setupDriverModelMatrix</a>(); +02043 +02044 <span class="keyword">const</span> CVector I = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea3">computeI</a>(); +02045 <span class="keyword">const</span> CVector K = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea5">computeK</a>(); +02046 +02047 <span class="keyword">static</span> std::vector<NLMISC::CLine> lines; +02048 +02049 lines.clear(); +02050 +02051 <span class="comment">// ugly slow code, but not for runtime</span> +02052 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a04223.html#a587">size</a>; ++k) +02053 { +02054 <span class="comment">// center of the current particle</span> +02055 <span class="keyword">const</span> CVector p = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getPos()[k]; +02056 +02057 +02058 +02059 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a05373.html#a2">l</a> = 0; <a class="code" href="a05373.html#a2">l</a> < nbSegs; ++<a class="code" href="a05373.html#a2">l</a>) +02060 { +02061 <a class="code" href="a02759.html">NLMISC::CLine</a> li; +02062 li.<a class="code" href="a02759.html#NLMISC_1_1CLineUVo2">V0</a> = p + scale * (tab[<a class="code" href="a05373.html#a2">l</a> << 1].<a class="code" href="a03128.html#NLMISC_1_1CVectoro0">x</a> * I + tab[<a class="code" href="a05373.html#a2">l</a> << 1].y * K); +02063 li.<a class="code" href="a02759.html#NLMISC_1_1CLineUVo3">V1</a> = p + scale * (tab[(<a class="code" href="a05373.html#a2">l</a> << 1) + 1].x * I + tab[(<a class="code" href="a05373.html#a2">l</a> << 1) + 1].y * K); +02064 lines.push_back(li); +02065 } +02066 +02067 CMaterial mat; +02068 +02069 mat.setBlendFunc(CMaterial::one, CMaterial::one); +02070 mat.setZWrite(<span class="keyword">false</span>); +02071 mat.setLighting(<span class="keyword">false</span>); +02072 mat.setBlend(<span class="keyword">true</span>); +02073 mat.setZFunc(CMaterial::less); +02074 +02075 +02076 +02077 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpheren0">CPSLocated</a> *loc; +02078 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a566">index</a>; +02079 <a class="code" href="a02691.html#NL3D_1_1CPSLocatedBindablez743_0">CPSLocatedBindable</a> *lb; +02080 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getCurrentEditedElement(loc, index, lb); +02081 +02082 mat.setColor((lb == NULL || <span class="keyword">this</span> == lb) && loc == _Owner && index == k ? CRGBA::Red : <a class="code" href="a03337.html">CRGBA</a>(127, 127, 127)); +02083 +02084 +02085 CDRU::drawLinesUnlit(lines, mat, *<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea14">getDriver</a>() ); +02086 } +02087 +02088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea8" doxytag="NL3D::CPSSound::doesProduceBBox" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::doesProduceBBox </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> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02690.html#NL3D_1_1CPSTurbula7">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00888">888</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00888 { <span class="keywordflow">return</span> <span class="keyword">true</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea9" doxytag="NL3D::CPSSound::enumTexs" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::enumTexs </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< <a class="el" href="a03408.html">NLMISC::CSmartPtr</a>< <a class="el" href="a03487.html">ITexture</a> > > & </td> + <td class="mdname" nowrap> <em>dest</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02434.html">IDriver</a> & </td> + <td class="mdname" nowrap> <em>drv</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03194.html#NL3D_1_1CPSFanLighta9">NL3D::CPSFanLight</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuada13">NL3D::CPSQuad</a>, <a class="el" href="a03226.html#NL3D_1_1CPSRibbona10">NL3D::CPSRibbon</a>, <a class="el" href="a03230.html#NL3D_1_1CPSRibbonLookAta10">NL3D::CPSRibbonLookAt</a>, and <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea11">NL3D::CPSShockWave</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00977">977</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00977 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTailDotz743_0" doxytag="NL3D::CPSSound::finalize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::finalize </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> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +this should be called before to delete any bindable inserted in a system, but this is done by the system, so you should never need calling it. This has been introduced because calls in dtor are not polymorphic to derived class (which are already destroyed anyway), and some infos are needed in some dtor. The default behaviour does nothing +<p> +Reimplemented in <a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea10">NL3D::CPSTargetLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06246.html#l01975">1975</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06247.html#l00974">NL3D::CPSLocatedBindable::getUserMatrixUsageCount()</a>, and <a class="el" href="a06142.html#l01907">NL3D::CParticleSystem::releaseRefForUserSysCoordInfo()</a>. +<p> +<div class="fragment"><pre>01976 { +01977 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +01978 { +01979 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->releaseRefForUserSysCoordInfo(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a>()); +01980 } +01981 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6" doxytag="NL3D::CPSSound::getClassName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual std::string NLMISC::IClassable::getClassName </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> [pure virtual, inherited]</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="a02995.html#NLAIAGENT_1_1CNumericIndexz1699_0">NLAIAGENT::CNumericIndex</a>, <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">NLAIC::IPointerGestion</a>, <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>, and <a class="el" href="a02241.html#CAutomataDescz1896_0">CAutomataDesc</a>. +<p> +Referenced by <a class="el" href="a05549.html#l00091">NLMISC::CClassRegistry::checkObject()</a>, and <a class="el" href="a06525.html#l00039">NL3D::GetTextureSize()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea14" doxytag="NL3D::CPSSound::getDriver" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02434.html">IDriver</a>* NL3D::CPSLocatedBindable::getDriver </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get an instance of the driver +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00890">890</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00705">NL3D::CPSLocated::getDriver()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a06226.html#l00122">NL3D::CPSDot::draw()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00448">NL3D::CPSZoneSphere::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06244.html#l00363">NL3D::CPSLight::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a06239.html#l00295">NL3D::CPSDirectionnalForce::show()</a>, <a class="el" href="a06229.html#l02491">NL3D::CPSSphericalEmitter::showTool()</a>, <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>00891 { +00892 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00893 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getDriver()); +00894 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getDriver(); +00895 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda9" doxytag="NL3D::CPSSound::getEmissionPercent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSSound::getEmissionPercent </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the percent of sound emission. +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00141">141</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00178">_EmissionPercent</a>. +<p> +<div class="fragment"><pre>00141 { <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp1">_EmissionPercent</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea15" doxytag="NL3D::CPSSound::getExternID" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSLocatedBindable::getExternID </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the extern ID of this located bindable +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00964">964</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01027">NL3D::CPSLocatedBindable::_ExternID</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00751">NL3D::CPSLocated::bind()</a>, and <a class="el" href="a06142.html#l01096">NL3D::CParticleSystem::unregisterLocatedBindableExternID()</a>. +<p> +<div class="fragment"><pre>00964 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea16" doxytag="NL3D::CPSSound::getFontGenerator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02541.html">CFontGenerator</a>* NL3D::CPSLocatedBindable::getFontGenerator </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the font generator if one was set (const version). +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00904">904</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06150.html#l00071">NL3D::CParticleSystemProcess::getFontGenerator()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>00905 { +00906 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00907 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontGenerator(); +00908 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea17" doxytag="NL3D::CPSSound::getFontGenerator" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02541.html">CFontGenerator</a>* NL3D::CPSLocatedBindable::getFontGenerator </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the font generator if one was set. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00897">897</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06150.html#l00071">NL3D::CParticleSystemProcess::getFontGenerator()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>. +<p> +<div class="fragment"><pre>00898 { +00899 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00900 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontGenerator(); +00901 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea18" doxytag="NL3D::CPSSound::getFontManager" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02542.html">CFontManager</a> * NL3D::CPSLocatedBindable::getFontManager </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the font manager if one was set (const version). +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02099">2099</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06150.html#l00085">NL3D::CParticleSystemProcess::getFontManager()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02100 { +02101 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02102 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontManager(); +02103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea19" doxytag="NL3D::CPSSound::getFontManager" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02542.html">CFontManager</a> * NL3D::CPSLocatedBindable::getFontManager </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02091">2091</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06150.html#l00085">NL3D::CParticleSystemProcess::getFontManager()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, and <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>. +<p> +<div class="fragment"><pre>02092 { +02093 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02094 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getFontManager(); +02095 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda15" doxytag="NL3D::CPSSound::getGain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSSound::getGain </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the current gain. meningful only if a scheme is not used +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00090">90</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00174">_Gain</a>. +<p> +<div class="fragment"><pre>00091 { +00092 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp3">_Gain</a>; +00093 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda16" doxytag="NL3D::CPSSound::getGainScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSSound::getGainScheme </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the current gain scheme (const version) +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00106">106</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00175">_GainScheme</a>. +<p> +<div class="fragment"><pre>00107 { +00108 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>; +00109 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda17" doxytag="NL3D::CPSSound::getGainScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSSound::getGainScheme </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the current gain scheme +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00100">100</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00175">_GainScheme</a>. +<p> +<div class="fragment"><pre>00101 { +00102 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>; +00103 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea20" doxytag="NL3D::CPSSound::getInvertedSysMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getInvertedSysMat </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get the inverted matrix of the system +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02116">2116</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06143.html#l00190">NL3D::CParticleSystem::getInvertedSysMat()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02117 { +02118 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02119 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getInvertedSysMat(); +02120 +02121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea21" doxytag="NL3D::CPSSound::getInvertedViewMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getInvertedViewMat </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get the inverted view matrix +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02134">2134</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06143.html#l00223">NL3D::CParticleSystem::getInvertedViewMat()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02135 { +02136 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02137 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getInvertedViewMat(); +02138 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea22" doxytag="NL3D::CPSSound::getLocalToWorldMatrix" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getLocalToWorldMatrix </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Shortcut to get the local to world matrix. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01144">1144</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06246.html#l00092">NL3D::CPSLocated::getLocalToWorldMatrix()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06244.html#l00363">NL3D::CPSLight::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>, <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>, and <a class="el" href="a06250.html#l00295">NL3D::CPSMesh::updatePos()</a>. +<p> +<div class="fragment"><pre>01145 { +01146 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +01147 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getLocalToWorldMatrix(); +01148 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea23" doxytag="NL3D::CPSSound::getLOD" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05363.html#a558">TPSLod</a> NL3D::CPSLocatedBindable::getLOD </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the valid lods for that object +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00954">954</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01029">NL3D::CPSLocatedBindable::_LOD</a>, and <a class="el" href="a06248.html#l00036">NL3D::TPSLod</a>. +<p> +<div class="fragment"><pre>00954 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep4">_LOD</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda22" doxytag="NL3D::CPSSound::getMute" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSSound::getMute </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test wether mute has been activated +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00153">153</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00180">_Mute</a>. +<p> +<div class="fragment"><pre>00153 { <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp6">_Mute</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea25" doxytag="NL3D::CPSSound::getName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NL3D::CPSLocatedBindable::getName </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the located bindable name (edition purpose) +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00948">948</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00948 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea28" doxytag="NL3D::CPSSound::getOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSLocatedBindable::getOwner </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the located that owns this bindable (const version) +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00944">944</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00944 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea29" doxytag="NL3D::CPSSound::getOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03214.html">CPSLocated</a>* NL3D::CPSLocatedBindable::getOwner </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the located that owns this bindable +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00942">942</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l01051">NL3D::CPSLocated::deleteElement()</a>, <a class="el" href="a06144.html#l00208">NL3D::CParticleSystemInstanceUser::emit()</a>, <a class="el" href="a06234.html#l00122">NL3D::CPSFaceLookAt::CSecondSize::getSizeOwner()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06246.html#l01836">NL3D::CPSLocated::registerIntegrableForce()</a>, <a class="el" href="a06142.html#l01081">NL3D::CParticleSystem::registerLocatedBindableExternID()</a>, <a class="el" href="a06144.html#l00236">NL3D::CParticleSystemInstanceUser::removeByID()</a>, <a class="el" href="a06281.html#l00415">resize()</a>, <a class="el" href="a06244.html#l00337">NL3D::CPSLight::resize()</a>, <a class="el" href="a06281.html#l00109">step()</a>, <a class="el" href="a06246.html#l01851">NL3D::CPSLocated::unregisterIntegrableForce()</a>, and <a class="el" href="a06142.html#l01096">NL3D::CParticleSystem::unregisterLocatedBindableExternID()</a>. +<p> +<div class="fragment"><pre>00942 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda26" doxytag="NL3D::CPSSound::getPitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float NL3D::CPSSound::getPitch </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the current pitch. meaningful only if a scheme is not used +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00115">115</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00176">_Pitch</a>. +<p> +<div class="fragment"><pre>00116 { +00117 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp9">_Pitch</a>; +00118 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda27" doxytag="NL3D::CPSSound::getPitchScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSSound::getPitchScheme </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the current pitch scheme (const version) +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00131">131</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00177">_PitchScheme</a>. +<p> +<div class="fragment"><pre>00132 { +00133 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00134 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda28" doxytag="NL3D::CPSSound::getPitchScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* NL3D::CPSSound::getPitchScheme </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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the current pitch scheme +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00125">125</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00177">_PitchScheme</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda29" doxytag="NL3D::CPSSound::getPriority" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSSound::getPriority </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> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return priority +<p> + +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSTargetLocatedBindablea25">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06282.html#l00067">67</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00067 { <span class="keywordflow">return</span> 500; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda30" doxytag="NL3D::CPSSound::getSoundName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a>& NL3D::CPSSound::getSoundName </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the name of the sound +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00081">81</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00173">_SoundName</a>. +<p> +<div class="fragment"><pre>00082 { +00083 <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp11">_SoundName</a>; +00084 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda31" doxytag="NL3D::CPSSound::getSpawn" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSSound::getSpawn </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> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +test wether sound spawning is enabled +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00147">147</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00179">_SpawnSounds</a>. +<p> +<div class="fragment"><pre>00147 { <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp15">_SpawnSounds</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea32" doxytag="NL3D::CPSSound::getSysMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getSysMat </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02108">2108</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06143.html#l00184">NL3D::CParticleSystem::getSysMat()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +<div class="fragment"><pre>02109 { +02110 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02111 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getSysMat(); +02112 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda33" doxytag="NL3D::CPSSound::getType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NL3D::CPSSound::getType </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> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return this bindable type +<p> + +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSTargetLocatedBindablea29">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06281.html#l00103">103</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06247.html#l00810">NL3D::PSSound</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00104 { +00105 <span class="keywordflow">return</span> <a class="code" href="a05363.html#a259">PSSound</a>; +00106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda34" doxytag="NL3D::CPSSound::getUseOriginalPitchFlag" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSSound::getUseOriginalPitchFlag </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00164">164</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00183">_UseOriginalPitch</a>. +<p> +<div class="fragment"><pre>00164 { <span class="keywordflow">return</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea36" doxytag="NL3D::CPSSound::getUserMatrixUsageCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::getUserMatrixUsageCount </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera46">NL3D::CPSEmitter</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00974">974</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l01975">NL3D::CPSLocatedBindable::finalize()</a>, and <a class="el" href="a06246.html#l01948">NL3D::CPSLocatedBindable::setOwner()</a>. +<p> +<div class="fragment"><pre>00974 { <span class="keywordflow">return</span> 0; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea37" doxytag="NL3D::CPSSound::getViewMat" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02851.html">NLMISC::CMatrix</a> & NL3D::CPSLocatedBindable::getViewMat </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to get the view matrix +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02125">2125</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06143.html#l00220">NL3D::CParticleSystem::getViewMat()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, and <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>. +<p> +<div class="fragment"><pre>02126 { +02127 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02128 <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->getViewMat(); +02129 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea38" doxytag="NL3D::CPSSound::hasEmitters" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::hasEmitters </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> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether there are alive emitters +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00958">958</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00958 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea39" doxytag="NL3D::CPSSound::hasParticles" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual bool NL3D::CPSLocatedBindable::hasParticles </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> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether there are alive entities / particles +<p> + +<p> +Reimplemented in <a class="el" href="a03162.html#NL3D_1_1CPSTailDota41">NL3D::CPSParticle</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00956">956</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00956 { <span class="keywordflow">return</span> <span class="keyword">false</span>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea40" doxytag="NL3D::CPSSound::isActive" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NL3D::CPSLocatedBindable::isActive </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, inherited]</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="a06247.html#l00844">844</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01033">NL3D::CPSLocatedBindable::_Active</a>. +<p> +Referenced by <a class="el" href="a06142.html#l01738">NL3D::CParticleSystem::hasActiveEmitters()</a>. +<p> +<div class="fragment"><pre>00844 { <span class="keywordflow">return</span> <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep0">_Active</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea41" doxytag="NL3D::CPSSound::motionTypeChanged" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::motionTypeChanged </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>parametric</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +called when a located has switch between incrmental / parametric motion. The default does nothing +<p> + +<p> +Reimplemented in <a class="el" href="a03227.html#NL3D_1_1CPSTailDotb11">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00971">971</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00751">NL3D::CPSLocated::bind()</a>. +<p> +<div class="fragment"><pre>00971 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundb3" doxytag="NL3D::CPSSound::newElement" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::newElement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname" nowrap> <em>emitterLocated</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>emitterIndex</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set position and activate the sound +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSZoneb3">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06281.html#l00355">355</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00178">_EmissionPercent</a>, <a class="el" href="a06282.html#l00174">_Gain</a>, <a class="el" href="a06282.html#l00175">_GainScheme</a>, <a class="el" href="a06282.html#l00180">_Mute</a>, <a class="el" href="a06282.html#l00176">_Pitch</a>, <a class="el" href="a06282.html#l00177">_PitchScheme</a>, <a class="el" href="a06282.html#l00173">_SoundName</a>, <a class="el" href="a06282.html#l00172">_Sounds</a>, <a class="el" href="a06282.html#l00181">_SoundStopped</a>, <a class="el" href="a06282.html#l00179">_SpawnSounds</a>, <a class="el" href="a06282.html#l00183">_UseOriginalPitch</a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_1">NL3D::CPSAttribMaker< float >::get()</a>, <a class="el" href="a06247.html#l01144">NL3D::CPSLocatedBindable::getLocalToWorldMatrix()</a>, <a class="el" href="a06247.html#l00942">NL3D::CPSLocatedBindable::getOwner()</a>, <a class="el" href="a06247.html#l00334">NL3D::CPSLocated::getPos()</a>, <a class="el" href="a06247.html#l00339">NL3D::CPSLocated::getSpeed()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a03135.html#NL3D_1_1CPSAttribz710_1">NL3D::CPSAttrib< UPSSoundInstance * >::insert()</a>, <a class="el" href="a06214.html#l00290">NL3D::CPSAttribMaker< float >::newElement()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00109">step()</a>. +<p> +<div class="fragment"><pre>00356 { +00357 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00358 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->newElement(emitterLocated, emitterIndex); +00359 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->newElement(emitterLocated, emitterIndex); +00360 <span class="comment">// if there's a sound server, we generate a new sound instance</span> +00361 <span class="keywordflow">if</span> (!<a class="code" href="a03235.html#NL3D_1_1CPSSoundp6">_Mute</a> && !<a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a> && CParticleSystem::getSoundServer()) +00362 { +00363 <span class="keywordflow">if</span> ((rand() % 99) * 0.01f < <a class="code" href="a03235.html#NL3D_1_1CPSSoundp1">_EmissionPercent</a>) +00364 { +00365 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a566">index</a> = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.insert(CParticleSystem::getSoundServer()->createSound(_SoundName, _SpawnSounds)); +00366 +00367 +00368 +00370 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]) +00371 { +00372 <span class="keyword">const</span> <a class="code" href="a02851.html">NLMISC::CMatrix</a> &mat = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea22">getLocalToWorldMatrix</a>(); +00373 <span class="keywordtype">float</span> pitch; +00374 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a>) +00375 { +00376 pitch = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]->getPitch(); +00377 } +00378 <span class="keywordflow">else</span> +00379 { +00380 pitch = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> ? <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->get(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a>(), 0) : <a class="code" href="a03235.html#NL3D_1_1CPSSoundp9">_Pitch</a>; +00381 } +00382 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]->setSoundParams(_GainScheme ? <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->get(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a>(), 0) : <a class="code" href="a03235.html#NL3D_1_1CPSSoundp3">_Gain</a>, +00383 mat * <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getPos()[<a class="code" href="a04223.html#a566">index</a>], +00384 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSpeed()[<a class="code" href="a04223.html#a566">index</a>], +00385 pitch +00386 ); +00387 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>[<a class="code" href="a04223.html#a566">index</a>]->play(); +00388 } +00389 } +00390 <span class="keywordflow">else</span> +00391 { +00392 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.insert(NULL); +00393 } +00394 } +00395 <span class="keywordflow">else</span> +00396 { +00397 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.insert(NULL); +00398 } +00399 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda41" doxytag="NL3D::CPSSound::NLMISC_DECLARE_CLASS" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NL3D::CPSSound::NLMISC_DECLARE_CLASS </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03235.html">CPSSound</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTailDota46" doxytag="NL3D::CPSSound::notifyTargetRemoved" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::notifyTargetRemoved </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>ptr</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +Can be used by located bindable that have located as targets (emitter, collision zone, forces) to be notified that one of their target has been removed. To do this : The object that focus the target must call registerDTorObserver on the target, with himself as a parameter When the target is removed, this target will call this method for all registered <a class="el" href="a03214.html">CPSLocated</a> The default behaviour remove this object as an observer<p> +<dl compact><dt><b>See also:</b></dt><dd>CPSLocated::registerDTorObserver()</dd></dl> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera55">NL3D::CPSEmitter</a>, and <a class="el" href="a02689.html#NL3D_1_1CPSZoneSphereb5">NL3D::CPSTargetLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06246.html#l01996">1996</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06246.html#l00834">NL3D::CPSLocated::unregisterDtorObserver()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00185">NL3D::CPSLocated::releaseRefTo()</a>. +<p> +<div class="fragment"><pre>01997 { +01998 ptr->unregisterDtorObserver(<span class="keyword">this</span>); +01999 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda43" doxytag="NL3D::CPSSound::reactivateSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::reactivateSound </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06281.html#l00077">77</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00182">_SoundReactivated</a>. +<p> +<div class="fragment"><pre>00078 { +00079 <span class="comment">//if (!_SoundStopped) return; </span> +00080 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a> = <span class="keyword">true</span>; +00081 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTailDota47" doxytag="NL3D::CPSSound::releaseAllRef" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::releaseAllRef </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +Release any reference this obj may have to other process of the system For example, this is used when detaching a located bindable from a system. +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera57">NL3D::CPSEmitter</a>, <a class="el" href="a03213.html#NL3D_1_1CPSLightb4">NL3D::CPSLight</a>, <a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea45">NL3D::CPSTargetLocatedBindable</a>, and <a class="el" href="a03218.html#NL3D_1_1CPSMeshb15">NL3D::CPSMesh</a>. +<p> +Definition at line <a class="el" href="a06246.html#l02170">2170</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +Referenced by <a class="el" href="a06246.html#l01948">NL3D::CPSLocatedBindable::setOwner()</a>. +<p> +<div class="fragment"><pre>02171 { +02172 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSTailDota48" doxytag="NL3D::CPSSound::releaseRefTo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::releaseRefTo </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03054.html">CParticleSystemProcess</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>other</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Release any reference this obj may have on the given process. For example, this is used when detaching a located bindable from a system. +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera58">NL3D::CPSEmitter</a>, and <a class="el" href="a02689.html#NL3D_1_1CPSZoneSpherea46">NL3D::CPSTargetLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00871">871</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00871 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundb4" doxytag="NL3D::CPSSound::removeAllSources" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::removeAllSources </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> [protected]</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="a06281.html#l00084">84</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00172">_Sounds</a>, <a class="el" href="a06281.html#l00402">deleteElement()</a>, <a class="el" href="a06213.html#l00303">NL3D::CPSAttrib< UPSSoundInstance * >::getSize()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00645">size</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00109">step()</a>, and <a class="el" href="a06281.html#l00095">~CPSSound()</a>. +<p> +<div class="fragment"><pre>00085 { +00086 <span class="keyword">const</span> <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.getSize(); +00087 <span class="comment">// delete all sounds, and rebuild them all </span> +00088 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> k = <a class="code" href="a04223.html#a587">size</a> - 1; k >= 0; --k) +00089 { +00090 <a class="code" href="a03235.html#NL3D_1_1CPSSoundb1">deleteElement</a>(k); +00091 } +00092 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundb5" doxytag="NL3D::CPSSound::resize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::resize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>size</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Resize the bindable attributes containers should not be called directly. Call <a class="el" href="a03214.html#NL3D_1_1CPSLocateda79">CPSLocated::resize</a> instead +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSZoneb5">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06281.html#l00415">415</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00175">_GainScheme</a>, <a class="el" href="a06282.html#l00177">_PitchScheme</a>, <a class="el" href="a06282.html#l00172">_Sounds</a>, <a class="el" href="a06247.html#l00942">NL3D::CPSLocatedBindable::getOwner()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03135.html#NL3D_1_1CPSAttribz704_2">NL3D::CPSAttrib< UPSSoundInstance * >::resize()</a>, <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< float >::resize()</a>, <a class="el" href="a05646.html#l00645">size</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00416 { +00417 <a class="code" href="a04199.html#a6">nlassert</a>(size < (1 << 16)); +00418 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->resize(size, <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a>()->getSize()); +00419 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->resize(size, <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a>()->getSize()); +00420 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.resize(size); +00421 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundz762_1" doxytag="NL3D::CPSSound::serial" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serialisation. Derivers must override this, and call their parent version +<p> + +<p> +Reimplemented from <a class="el" href="a02691.html#NL3D_1_1CPSLocatedBindablez743_2">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06281.html#l00246">246</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06470.html#l00081">NLMISC::CStringMapper::map()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a06470.html#l00083">NLMISC::CStringMapper::unmap()</a>. +<p> +<div class="fragment"><pre>00247 { +00248 CPSLocatedBindable::serial(f); +00249 <span class="comment">// version 3 : added option to keep original pitch from the .sound</span> +00250 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(3); +00251 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00252 { +00253 std::string soundName; +00254 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(soundName); +00255 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp11">_SoundName</a> = <a class="code" href="a03450.html#NLMISC_1_1CStringMappere3">NLMISC::CStringMapper::map</a>(soundName); +00256 } +00257 <span class="keywordflow">else</span> +00258 { +00259 std::string soundName = <a class="code" href="a03450.html#NLMISC_1_1CStringMappere4">NLMISC::CStringMapper::unmap</a>(_SoundName); +00260 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(soundName); +00261 } +00262 +00263 <a class="code" href="a04558.html#a10">sint32</a> nbSounds; +00264 <span class="keywordtype">bool</span> hasScheme; +00265 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00266 { +00267 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(nbSounds); <span class="comment">// we are very unlikely to save a system with sounds being played in it,</span> +00268 <span class="comment">// but we need to keep datas coherency.</span> +00269 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) +00270 { +00271 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.resize(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getMaxSize()); +00272 } +00273 } +00274 <span class="keywordflow">else</span> +00275 { +00276 nbSounds = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.getSize(); <span class="comment">// number of used sound</span> +00277 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(nbSounds); +00278 } +00279 +00280 +00281 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00282 { +00283 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>; +00284 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> = NULL; +00285 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00286 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> = NULL; +00287 } +00288 <span class="comment">// save Gain infos</span> +00289 hasScheme = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> != NULL; +00290 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(hasScheme); +00291 <span class="keywordflow">if</span> (hasScheme) +00292 { +00293 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_GainScheme); +00294 } +00295 <span class="keywordflow">else</span> +00296 { +00297 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Gain); +00298 } +00299 <span class="comment">// serial pitch infos</span> +00300 <span class="keywordflow">if</span> (ver >= 3) +00301 { +00302 <span class="keywordtype">bool</span> useOriginalPitch = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a>; +00303 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(useOriginalPitch); +00304 _UseOriginalPitch = useOriginalPitch; +00305 <span class="keywordflow">if</span> (!_UseOriginalPitch) +00306 { +00307 <span class="comment">// serialize pitch infos (no needed otherwise)</span> +00308 hasScheme = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> != NULL; +00309 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(hasScheme); +00310 <span class="keywordflow">if</span> (hasScheme) +00311 { +00312 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_PitchScheme); +00313 } +00314 <span class="keywordflow">else</span> +00315 { +00316 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Pitch); +00317 } +00318 } +00319 } +00320 <span class="keywordflow">else</span> +00321 { +00322 hasScheme = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> != NULL; +00323 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(hasScheme); +00324 <span class="keywordflow">if</span> (hasScheme) +00325 { +00326 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_6">serialPolyPtr</a>(_PitchScheme); +00327 } +00328 <span class="keywordflow">else</span> +00329 { +00330 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Pitch); +00331 } +00332 } +00333 +00334 <span class="keywordflow">if</span> (ver > 1) +00335 { +00336 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_EmissionPercent); +00337 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_SpawnSounds); +00338 } +00339 +00340 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +00341 { +00342 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a> = <span class="keyword">true</span>; +00343 <span class="comment">// insert blank sources</span> +00344 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a14">sint</a> k = 0; k < nbSounds; ++k) +00345 { +00346 <a class="code" href="a03235.html#NL3D_1_1CPSSoundb3">newElement</a>(NULL, 0); +00347 } +00348 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a> = <span class="keyword">false</span>; +00349 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a> = <span class="keyword">true</span>; +00350 } +00351 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea49" doxytag="NL3D::CPSSound::setActive" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setActive </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Activate / Deactivate this object. When not active, the owning system won't try to call the 'step' method. +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00843">843</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01033">NL3D::CPSLocatedBindable::_Active</a>. +<p> +Referenced by <a class="el" href="a06142.html#l01718">NL3D::CParticleSystem::activateEmitters()</a>, and <a class="el" href="a06144.html#l00320">NL3D::CParticleSystemInstanceUser::setActive()</a>. +<p> +<div class="fragment"><pre>00843 { <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep0">_Active</a> = active; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda47" doxytag="NL3D::CPSSound::setEmissionPercent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setEmissionPercent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>percent</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a percent of sound emission. If set to 1, it try to emit all sounds +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00137">137</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00178">_EmissionPercent</a>. +<p> +<div class="fragment"><pre>00137 { <a class="code" href="a03235.html#NL3D_1_1CPSSoundp1">_EmissionPercent</a> = percent; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea52" doxytag="NL3D::CPSSound::setExternID" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setExternID </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> +set the extern ID of this located bindable. 0 means no extern access. The map of ID-locatedBindable. Is in th particle system, so this located bindable must have been attached to a particle system, otherwise an assertion is raised +<p> +Definition at line <a class="el" href="a06246.html#l02149">2149</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06247.html#l01027">NL3D::CPSLocatedBindable::_ExternID</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06142.html#l01081">NL3D::CParticleSystem::registerLocatedBindableExternID()</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06142.html#l01096">NL3D::CParticleSystem::unregisterLocatedBindableExternID()</a>. +<p> +<div class="fragment"><pre>02150 { +02151 <span class="keywordflow">if</span> (<span class="keywordtype">id</span> == <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a>) <span class="keywordflow">return</span>; +02152 CParticleSystem *ps = NULL; +02153 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +02154 { +02155 ps = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner(); +02156 } +02157 <span class="keywordflow">if</span> (ps) +02158 { +02159 ps->unregisterLocatedBindableExternID(<span class="keyword">this</span>); +02160 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a> = 0; +02161 } +02162 <span class="keywordflow">if</span> (<span class="keywordtype">id</span> != 0) +02163 { +02164 <span class="keywordflow">if</span> (ps) ps->registerLocatedBindableExternID(<span class="keywordtype">id</span>, <span class="keyword">this</span>); +02165 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep3">_ExternID</a> = <span class="keywordtype">id</span>; +02166 } +02167 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda49" doxytag="NL3D::CPSSound::setGain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setGain </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>gain</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a constant gain. Any previous gain scheme is discarded. +<p> + +<p> +Definition at line <a class="el" href="a06281.html#l00208">208</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00174">_Gain</a>, and <a class="el" href="a06282.html#l00175">_GainScheme</a>. +<p> +<div class="fragment"><pre>00209 { +00210 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>; +00211 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> = NULL; +00212 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp3">_Gain</a> = Gain; +00213 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda50" doxytag="NL3D::CPSSound::setGainScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setGainScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td> + <td class="mdname1" valign="top" nowrap> <em>gain</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a gain scheme. It must have been allocated by new, and is then owned by this object +<p> +Definition at line <a class="el" href="a06281.html#l00216">216</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00175">_GainScheme</a>, <a class="el" href="a06247.html#l00369">NL3D::CPSLocated::getMaxSize()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, and <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< float >::resize()</a>. +<p> +<div class="fragment"><pre>00217 { +00218 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>; +00219 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> = Gain; +00220 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) +00221 { +00222 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->resize(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getMaxSize(), <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize()); +00223 } +00224 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea53" doxytag="NL3D::CPSSound::setLOD" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setLOD </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a558">TPSLod</a> </td> + <td class="mdname1" valign="top" nowrap> <em>lod</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the LODs that apply to that object (warning : it is based on the position of the system, and don't act on a per instance basis ...) To have per instance precision, you must use an attribute maker that has LOD as its input +<p> +Definition at line <a class="el" href="a06247.html#l00952">952</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a06247.html#l01029">NL3D::CPSLocatedBindable::_LOD</a>. +<p> +<div class="fragment"><pre>00952 { <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep4">_LOD</a> = lod; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda52" doxytag="NL3D::CPSSound::setMute" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setMute </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set mute on/off. The default is off. WARNING : It is not saved by this object +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00150">150</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00180">_Mute</a>. +<p> +<div class="fragment"><pre>00150 { <a class="code" href="a03235.html#NL3D_1_1CPSSoundp6">_Mute</a> = enabled; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea55" doxytag="NL3D::CPSSound::setName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setName </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> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the located bindable name (edition purpose) +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l00946">946</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>00946 { <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep5">_Name</a> = name; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSphereb7" doxytag="NL3D::CPSSound::setOwner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setOwner </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03214.html">CPSLocated</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>psl</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +*************************************************************************************** +<p> + +<p> +Reimplemented in <a class="el" href="a03179.html#NL3D_1_1CPSSphericalEmittera76">NL3D::CPSEmitter</a>. +<p> +Definition at line <a class="el" href="a06246.html#l01948">1948</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a06142.html#l01894">NL3D::CParticleSystem::addRefForUserSysCoordInfo()</a>, <a class="el" href="a02691.html#NL3D_1_1CPSZoneb1">NL3D::CPSLocatedBindable::deleteElement()</a>, <a class="el" href="a06151.html#l00111">NL3D::CParticleSystemProcess::getOwner()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a06247.html#l00974">NL3D::CPSLocatedBindable::getUserMatrixUsageCount()</a>, <a class="el" href="a06246.html#l02170">NL3D::CPSLocatedBindable::releaseAllRef()</a>, <a class="el" href="a06142.html#l01907">NL3D::CParticleSystem::releaseRefForUserSysCoordInfo()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +Referenced by <a class="el" href="a06246.html#l00751">NL3D::CPSLocated::bind()</a>, and <a class="el" href="a06246.html#l01902">NL3D::CPSLocated::unbind()</a>. +<p> +<div class="fragment"><pre>01949 { +01950 <span class="keywordflow">if</span> (psl == <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) <span class="keywordflow">return</span>; +01951 <span class="keywordflow">if</span> (psl == NULL) +01952 { +01953 <a class="code" href="a02691.html#NL3D_1_1CPSTailDota47">releaseAllRef</a>(); +01954 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) +01955 { +01956 <span class="comment">// empty this located bindable. Need to be empty if it must be rebound to another located.</span> +01957 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k < <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize(); ++k) +01958 { +01959 <a class="code" href="a03235.html#NL3D_1_1CPSSoundb1">deleteElement</a>(0); +01960 } +01961 } +01962 } +01963 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +01964 { +01965 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->releaseRefForUserSysCoordInfo(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a>()); +01966 } +01967 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> = psl; +01968 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a> && <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()) +01969 { +01970 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getOwner()->addRefForUserSysCoordInfo(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea36">getUserMatrixUsageCount</a>()); +01971 } +01972 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda54" doxytag="NL3D::CPSSound::setPitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setPitch </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>pitch</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set a constant pitch. Any previous pitch scheme is discarded. +<p> + +<p> +Definition at line <a class="el" href="a06281.html#l00227">227</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00176">_Pitch</a>, and <a class="el" href="a06282.html#l00177">_PitchScheme</a>. +<p> +<div class="fragment"><pre>00228 { +00229 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00230 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> = NULL; +00231 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp9">_Pitch</a> = pitch; +00232 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda55" doxytag="NL3D::CPSSound::setPitchScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setPitchScheme </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03136.html">CPSAttribMaker</a>< float > * </td> + <td class="mdname1" valign="top" nowrap> <em>pitch</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set a pitch scheme. It must have been allocated by new, and is then owned by this object +<p> +Definition at line <a class="el" href="a06281.html#l00235">235</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00177">_PitchScheme</a>, <a class="el" href="a06247.html#l00369">NL3D::CPSLocated::getMaxSize()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a06214.html#l00282">NL3D::CPSAttribMaker< float >::hasMemory()</a>, and <a class="el" href="a06214.html#l00296">NL3D::CPSAttribMaker< float >::resize()</a>. +<p> +<div class="fragment"><pre>00236 { +00237 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00238 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> = pitch; +00239 <span class="keywordflow">if</span> (<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>) +00240 { +00241 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> && <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->hasMemory()) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->resize(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getMaxSize(), <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize()); +00242 } +00243 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda56" doxytag="NL3D::CPSSound::setSoundName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setSoundName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>soundName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the name of the sound +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00075">75</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00173">_SoundName</a>. +<p> +<div class="fragment"><pre>00076 { +00077 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp11">_SoundName</a> = soundName; +00078 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda57" doxytag="NL3D::CPSSound::setSpawn" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setSpawn </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>enabled</em> = true </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells wether sound emissions are spawned or not +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00144">144</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +References <a class="el" href="a06282.html#l00179">_SpawnSounds</a>. +<p> +<div class="fragment"><pre>00144 { <a class="code" href="a03235.html#NL3D_1_1CPSSoundp15">_SpawnSounds</a> = enabled; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea59" doxytag="NL3D::CPSSound::setupDriverModelMatrix" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSLocatedBindable::setupDriverModelMatrix </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> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +shortcut to setup the model matrix (system basis or world basis) +<p> + +<p> +Definition at line <a class="el" href="a06246.html#l02142">2142</a> of file <a class="el" href="a06246.html">ps_located.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06246.html#l01775">NL3D::CPSLocated::setupDriverModelMatrix()</a>. +<p> +Referenced by <a class="el" href="a06246.html#l02038">NL3D::CPSLocatedBindable::displayIcon2d()</a>, <a class="el" href="a06283.html#l00242">NL3D::CPSTailDot::displayRibbons()</a>, <a class="el" href="a06277.html#l00319">NL3D::CPSRibbonLookAt::displayRibbons()</a>, <a class="el" href="a06273.html#l00471">NL3D::CPSRibbon::displayRibbons()</a>, <a class="el" href="a06226.html#l00122">NL3D::CPSDot::draw()</a>, <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>, <a class="el" href="a06287.html#l01375">NL3D::CPSZoneRectangle::show()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00448">NL3D::CPSZoneSphere::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00900">NL3D::CPSCylindricVortex::show()</a>, <a class="el" href="a06239.html#l00295">NL3D::CPSDirectionnalForce::show()</a>, <a class="el" href="a06229.html#l02491">NL3D::CPSSphericalEmitter::showTool()</a>, <a class="el" href="a06229.html#l02391">NL3D::CPSEmitterRectangle::showTool()</a>, and <a class="el" href="a06229.html#l00447">NL3D::CPSEmitter::showTool()</a>. +<p> +<div class="fragment"><pre>02143 { +02144 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +02145 <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->setupDriverModelMatrix(); +02146 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda59" doxytag="NL3D::CPSSound::setUseOriginalPitchFlag" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::setUseOriginalPitchFlag </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>useOriginalPitch</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +force the sound to use original pitch that has been entered in the .sound sheet This remove any existing pitchScheme +<p> +Definition at line <a class="el" href="a06281.html#l00424">424</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00177">_PitchScheme</a>, and <a class="el" href="a06282.html#l00183">_UseOriginalPitch</a>. +<p> +<div class="fragment"><pre>00425 { +00426 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>) +00427 { +00428 <span class="keyword">delete</span> <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>; +00429 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> = NULL; +00430 } +00431 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a> = useOriginalPitch; +00432 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea60" doxytag="NL3D::CPSSound::setZBias" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::setZBias </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03177.html#NL3D_1_1CPSDota61">NL3D::CPSDot</a>, <a class="el" href="a03194.html#NL3D_1_1CPSFanLighta82">NL3D::CPSFanLight</a>, <a class="el" href="a03218.html#NL3D_1_1CPSMesha69">NL3D::CPSMesh</a>, <a class="el" href="a03161.html#NL3D_1_1CPSConstraintMesha88">NL3D::CPSConstraintMesh</a>, <a class="el" href="a03162.html#NL3D_1_1CPSRibbonBasea51">NL3D::CPSParticle</a>, <a class="el" href="a03187.html#NL3D_1_1CPSQuada104">NL3D::CPSQuad</a>, <a class="el" href="a03226.html#NL3D_1_1CPSRibbona75">NL3D::CPSRibbon</a>, <a class="el" href="a03230.html#NL3D_1_1CPSRibbonLookAta66">NL3D::CPSRibbonLookAt</a>, <a class="el" href="a03233.html#NL3D_1_1CPSShockWavea98">NL3D::CPSShockWave</a>, and <a class="el" href="a03240.html#NL3D_1_1CPSTailDota60">NL3D::CPSTailDot</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00980">980</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +References <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00980 {} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda61" doxytag="NL3D::CPSSound::step" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::step </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a05363.html#a556">TPSProcessPass</a> </td> + <td class="mdname" nowrap> <em>pass</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname" nowrap> <em>ellapsedTime</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a05363.html#a366">TAnimationTime</a> </td> + <td class="mdname" nowrap> <em>realEt</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> +process one pass for the sound. This is usually done during the motion pass +<p> +Implements <a class="el" href="a02691.html#NL3D_1_1CPSTargetLocatedBindablea46">NL3D::CPSLocatedBindable</a>. +<p> +Definition at line <a class="el" href="a06281.html#l00109">109</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00174">_Gain</a>, <a class="el" href="a06282.html#l00175">_GainScheme</a>, <a class="el" href="a06282.html#l00180">_Mute</a>, <a class="el" href="a06282.html#l00176">_Pitch</a>, <a class="el" href="a06282.html#l00177">_PitchScheme</a>, <a class="el" href="a06282.html#l00182">_SoundReactivated</a>, <a class="el" href="a06282.html#l00172">_Sounds</a>, <a class="el" href="a06282.html#l00181">_SoundStopped</a>, <a class="el" href="a06282.html#l00183">_UseOriginalPitch</a>, <a class="el" href="a06213.html#l00353">NL3D::CPSAttrib< T >::begin()</a>, <a class="el" href="a06213.html#l00353">NL3D::CPSAttrib< UPSSoundInstance * >::begin()</a>, <a class="el" href="a06213.html#l00356">NL3D::CPSAttrib< UPSSoundInstance * >::end()</a>, <a class="el" href="a06246.html#l00092">NL3D::CPSLocated::getLocalToWorldMatrix()</a>, <a class="el" href="a06247.html#l00942">NL3D::CPSLocatedBindable::getOwner()</a>, <a class="el" href="a06247.html#l00334">NL3D::CPSLocated::getPos()</a>, <a class="el" href="a06247.html#l00361">NL3D::CPSLocated::getSize()</a>, <a class="el" href="a06247.html#l00339">NL3D::CPSLocated::getSpeed()</a>, <a class="el" href="a03136.html#NL3D_1_1CPSAttribMakerz714_2">NL3D::CPSAttribMaker< float >::make()</a>, <a class="el" href="a05972.html#l01244">NLMISC::CMatrix::mulVector()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05363.html#a556a214">NL3D::PSMotion</a>, <a class="el" href="a06281.html#l00084">removeAllSources()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a06281.html#l00038">NL3D::SoundBufSize</a>, <a class="el" href="a05454.html#l00044">NL3D::TAnimationTime</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <span class="keywordflow">if</span> (pass != <a class="code" href="a05363.html#a556a214">PSMotion</a>) <span class="keywordflow">return</span>; +00112 <span class="keyword">const</span> <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSize(); +00113 <span class="keywordflow">if</span> (!<a class="code" href="a04223.html#a587">size</a>) <span class="keywordflow">return</span>; +00114 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a> && !<a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a>) +00115 { +00116 <span class="keywordflow">return</span>; +00117 } +00118 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a>) +00119 { +00120 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a> = <span class="keyword">false</span>; +00121 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a> = <span class="keyword">false</span>; +00122 <span class="keywordflow">if</span> (!<a class="code" href="a03235.html#NL3D_1_1CPSSoundp6">_Mute</a>) +00123 { +00124 <a class="code" href="a04558.html#a10">sint32</a> k; +00125 <span class="comment">// delete all sounds, and rebuild them all </span> +00126 <a class="code" href="a03235.html#NL3D_1_1CPSSoundb4">removeAllSources</a>(); +00127 <span class="keywordflow">for</span> (k = 0; k < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a04223.html#a587">size</a>; ++k) +00128 { +00129 <a class="code" href="a03235.html#NL3D_1_1CPSSoundb3">newElement</a>(NULL, 0); +00130 } +00131 } +00132 <span class="comment">// don't need to reupdate sound</span> +00133 <span class="keywordflow">return</span>; +00134 } +00135 <a class="code" href="a04199.html#a6">nlassert</a>(_Owner); +00136 <a class="code" href="a04558.html#a11">uint32</a> toProcess, leftToDo = <a class="code" href="a04223.html#a587">size</a>; +00137 +00138 <span class="keywordtype">float</span> Gains[<a class="code" href="a05363.html#a272">SoundBufSize</a>]; +00139 <span class="keywordtype">float</span> frequencies[<a class="code" href="a05363.html#a272">SoundBufSize</a>]; +00140 +00141 <a class="code" href="a04558.html#a15">uint</a> GainPtInc = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> ? 1 : 0; +00142 <a class="code" href="a04558.html#a15">uint</a> pitchPtInc = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> ? 1 : 0; +00143 <span class="keywordtype">float</span> *currVol, *currPitch; +00144 +00145 +00146 CPSAttrib<UPSSoundInstance *>::iterator it = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.begin(), +00147 endIt = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.end(); +00148 CPSAttrib<NLMISC::CVector>::const_iterator posIt = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getPos().begin(); +00149 CPSAttrib<NLMISC::CVector>::const_iterator speedIt = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getSpeed().begin(); +00150 +00151 <span class="keywordflow">do</span> +00152 { +00153 toProcess = leftToDo > <a class="code" href="a05363.html#a272">SoundBufSize</a> ? <a class="code" href="a05363.html#a272">SoundBufSize</a> : leftToDo; +00154 <span class="comment">// compute Gain </span> +00155 currVol = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a> ? (<span class="keywordtype">float</span> *) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp4">_GainScheme</a>->make(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a>(), size - leftToDo, Gains, <span class="keyword">sizeof</span>(<span class="keywordtype">float</span>), toProcess, <span class="keyword">true</span>) +00156 : &<a class="code" href="a03235.html#NL3D_1_1CPSSoundp3">_Gain</a>; +00157 <span class="keywordflow">if</span> (!<a class="code" href="a03235.html#NL3D_1_1CPSSoundp16">_UseOriginalPitch</a>) +00158 { +00159 <span class="comment">// compute pitch</span> +00160 currPitch = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a> ? (<span class="keywordtype">float</span> *) <a class="code" href="a03235.html#NL3D_1_1CPSSoundp10">_PitchScheme</a>->make(<a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherea29">getOwner</a>(), size - leftToDo, frequencies, <span class="keyword">sizeof</span>(<span class="keywordtype">float</span>), toProcess, <span class="keyword">true</span>) +00161 : &<a class="code" href="a03235.html#NL3D_1_1CPSSoundp9">_Pitch</a>; +00162 endIt = it + toProcess; +00163 <span class="keyword">const</span> CMatrix &localToWorld = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getLocalToWorldMatrix(); +00164 <span class="keywordflow">do</span> +00165 { +00166 <span class="keywordflow">if</span> (*it) <span class="comment">// was this sound instanciated?</span> +00167 { +00168 (*it)->setSoundParams(*currVol, +00169 localToWorld * *posIt, +00170 localToWorld.mulVector(*speedIt), +00171 *currPitch); +00172 } +00173 currVol += GainPtInc; +00174 currPitch += pitchPtInc; +00175 ++posIt; +00176 ++speedIt; +00177 ++it; +00178 } +00179 <span class="keywordflow">while</span> (it != endIt); +00180 } +00181 <span class="keywordflow">else</span> +00182 { +00183 <span class="comment">// keep original pitch</span> +00184 endIt = it + toProcess; +00185 <span class="keyword">const</span> CMatrix &localToWorld = <a class="code" href="a02691.html#NL3D_1_1CPSZoneSpherep6">_Owner</a>->getLocalToWorldMatrix(); +00186 <span class="keywordflow">do</span> +00187 { +00188 <span class="keywordflow">if</span> (*it) <span class="comment">// was this sound instanciated?</span> +00189 { +00190 (*it)->setSoundParams(*currVol, +00191 localToWorld * *posIt, +00192 localToWorld.mulVector(*speedIt), +00193 (*it)->getPitch()); +00194 } +00195 currVol += GainPtInc; +00196 ++posIt; +00197 ++speedIt; +00198 ++it; +00199 } +00200 <span class="keywordflow">while</span> (it != endIt); +00201 } +00202 leftToDo -= toProcess; +00203 } +00204 <span class="keywordflow">while</span> (leftToDo); +00205 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSounda62" doxytag="NL3D::CPSSound::stopSound" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CPSSound::stopSound </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06281.html#l00058">58</a> of file <a class="el" href="a06281.html">ps_sound.cpp</a>. +<p> +References <a class="el" href="a06282.html#l00182">_SoundReactivated</a>, <a class="el" href="a06282.html#l00172">_Sounds</a>, <a class="el" href="a06282.html#l00181">_SoundStopped</a>, <a class="el" href="a06213.html#l00353">NL3D::CPSAttrib< UPSSoundInstance * >::begin()</a>, and <a class="el" href="a06213.html#l00356">NL3D::CPSAttrib< UPSSoundInstance * >::end()</a>. +<p> +<div class="fragment"><pre>00059 { +00060 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp12">_SoundReactivated</a> = <span class="keyword">false</span>; +00061 <span class="keywordflow">if</span> (<a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a>) <span class="keywordflow">return</span>; +00062 CPSAttrib<UPSSoundInstance *>::iterator it = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.begin() +00063 , endIt = <a class="code" href="a03235.html#NL3D_1_1CPSSoundp13">_Sounds</a>.end(); +00064 <span class="keywordflow">while</span> (it != endIt) +00065 { +00066 <span class="keywordflow">if</span> (*it) +00067 { +00068 (*it)->release(); +00069 (*it) = NULL; +00070 } +00071 ++it; +00072 } +00073 <a class="code" href="a03235.html#NL3D_1_1CPSSoundp14">_SoundStopped</a> = <span class="keyword">true</span>; +00074 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherea65" doxytag="NL3D::CPSSound::systemDateChanged" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NL3D::CPSLocatedBindable::systemDateChanged </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +PRIVATE USE : called by the system when its date has been manually changed. This his usually for object that expect time to be always increasing, so that they can reset their datas +<p> +Reimplemented in <a class="el" href="a03227.html#NL3D_1_1CPSRibbonBased6">NL3D::CPSRibbonBase</a>. +<p> +Definition at line <a class="el" href="a06247.html#l01038">1038</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +<div class="fragment"><pre>01038 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSZoneSpheren0" doxytag="NL3D::CPSSound::CPSLocated" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> friend class <a class="el" href="a03214.html">CPSLocated</a><code> [friend, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a02690.html#NL3D_1_1CPSTurbuln1">NL3D::CPSForce</a>. +<p> +Definition at line <a class="el" href="a06247.html#l00986">986</a> of file <a class="el" href="a06247.html">ps_located.h</a>. </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep0" doxytag="NL3D::CPSSound::_Active" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep0">NL3D::CPSLocatedBindable::_Active</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01033">1033</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06247.html#l00844">NL3D::CPSLocatedBindable::isActive()</a>, and <a class="el" href="a06247.html#l00843">NL3D::CPSLocatedBindable::setActive()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp1" doxytag="NL3D::CPSSound::_EmissionPercent" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03235.html#NL3D_1_1CPSSoundp1">NL3D::CPSSound::_EmissionPercent</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00178">178</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06282.html#l00141">getEmissionPercent()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, and <a class="el" href="a06282.html#l00137">setEmissionPercent()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep3" doxytag="NL3D::CPSSound::_ExternID" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep3">NL3D::CPSLocatedBindable::_ExternID</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01027">1027</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06247.html#l00964">NL3D::CPSLocatedBindable::getExternID()</a>, <a class="el" href="a06246.html#l02149">NL3D::CPSLocatedBindable::setExternID()</a>, and <a class="el" href="a06246.html#l01984">NL3D::CPSLocatedBindable::~CPSLocatedBindable()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp3" doxytag="NL3D::CPSSound::_Gain" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03235.html#NL3D_1_1CPSSoundp3">NL3D::CPSSound::_Gain</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00174">174</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06282.html#l00090">getGain()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00208">setGain()</a>, and <a class="el" href="a06281.html#l00109">step()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp4" doxytag="NL3D::CPSSound::_GainScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* <a class="el" href="a03235.html#NL3D_1_1CPSSoundp4">NL3D::CPSSound::_GainScheme</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00175">175</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00402">deleteElement()</a>, <a class="el" href="a06282.html#l00100">getGainScheme()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00415">resize()</a>, <a class="el" href="a06281.html#l00208">setGain()</a>, <a class="el" href="a06281.html#l00216">setGainScheme()</a>, <a class="el" href="a06281.html#l00109">step()</a>, and <a class="el" href="a06281.html#l00095">~CPSSound()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep4" doxytag="NL3D::CPSSound::_LOD" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05363.html#a558">TPSLod</a> <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep4">NL3D::CPSLocatedBindable::_LOD</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +tells when this object must be dealt with +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01029">1029</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06247.html#l00954">NL3D::CPSLocatedBindable::getLOD()</a>, and <a class="el" href="a06247.html#l00952">NL3D::CPSLocatedBindable::setLOD()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp6" doxytag="NL3D::CPSSound::_Mute" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03235.html#NL3D_1_1CPSSoundp6">NL3D::CPSSound::_Mute</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00180">180</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06282.html#l00153">getMute()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06282.html#l00150">setMute()</a>, and <a class="el" href="a06281.html#l00109">step()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep5" doxytag="NL3D::CPSSound::_Name" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep5">NL3D::CPSLocatedBindable::_Name</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01031">1031</a> of file <a class="el" href="a06247.html">ps_located.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSZoneSpherep6" doxytag="NL3D::CPSSound::_Owner" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03214.html">CPSLocated</a>* <a class="el" href="a02691.html#NL3D_1_1CPSZoneSpherep6">NL3D::CPSLocatedBindable::_Owner</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06247.html#l01026">1026</a> of file <a class="el" href="a06247.html">ps_located.h</a>. +<p> +Referenced by <a class="el" href="a06231.html#l00055">NL3D::CPSFaceHelper::drawFaces()</a>, <a class="el" href="a06235.html#l00072">NL3D::CPSFanLightHelper::drawFanLight()</a>, <a class="el" href="a06233.html#l00379">NL3D::CPSFaceLookAtHelper::drawLookAt()</a>, <a class="el" href="a06233.html#l00089">NL3D::CPSFaceLookAtHelper::drawLookAtAlignOnMotion()</a>, <a class="el" href="a06250.html#l00521">NL3D::CPSConstraintMeshHelper::drawMeshs()</a>, and <a class="el" href="a06250.html#l00793">NL3D::CPSConstraintMeshHelper::drawPrerotatedMeshs()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp9" doxytag="NL3D::CPSSound::_Pitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> float <a class="el" href="a03235.html#NL3D_1_1CPSSoundp9">NL3D::CPSSound::_Pitch</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00176">176</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06282.html#l00115">getPitch()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00227">setPitch()</a>, and <a class="el" href="a06281.html#l00109">step()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp10" doxytag="NL3D::CPSSound::_PitchScheme" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03136.html">CPSAttribMaker</a><float>* <a class="el" href="a03235.html#NL3D_1_1CPSSoundp10">NL3D::CPSSound::_PitchScheme</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00177">177</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00402">deleteElement()</a>, <a class="el" href="a06282.html#l00125">getPitchScheme()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00415">resize()</a>, <a class="el" href="a06281.html#l00227">setPitch()</a>, <a class="el" href="a06281.html#l00235">setPitchScheme()</a>, <a class="el" href="a06281.html#l00424">setUseOriginalPitchFlag()</a>, <a class="el" href="a06281.html#l00109">step()</a>, and <a class="el" href="a06281.html#l00095">~CPSSound()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp11" doxytag="NL3D::CPSSound::_SoundName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a05378.html#a236">NLMISC::TStringId</a> <a class="el" href="a03235.html#NL3D_1_1CPSSoundp11">NL3D::CPSSound::_SoundName</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00173">173</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00042">CPSSound()</a>, <a class="el" href="a06282.html#l00081">getSoundName()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, and <a class="el" href="a06282.html#l00075">setSoundName()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp12" doxytag="NL3D::CPSSound::_SoundReactivated" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03235.html#NL3D_1_1CPSSoundp12">NL3D::CPSSound::_SoundReactivated</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00182">182</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00077">reactivateSound()</a>, <a class="el" href="a06281.html#l00109">step()</a>, and <a class="el" href="a06281.html#l00058">stopSound()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp13" doxytag="NL3D::CPSSound::_Sounds" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03135.html">CPSAttrib</a><<a class="el" href="a03939.html">UPSSoundInstance</a> *> <a class="el" href="a03235.html#NL3D_1_1CPSSoundp13">NL3D::CPSSound::_Sounds</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00172">172</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00402">deleteElement()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00084">removeAllSources()</a>, <a class="el" href="a06281.html#l00415">resize()</a>, <a class="el" href="a06281.html#l00109">step()</a>, and <a class="el" href="a06281.html#l00058">stopSound()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp14" doxytag="NL3D::CPSSound::_SoundStopped" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03235.html#NL3D_1_1CPSSoundp14">NL3D::CPSSound::_SoundStopped</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00181">181</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00109">step()</a>, and <a class="el" href="a06281.html#l00058">stopSound()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp15" doxytag="NL3D::CPSSound::_SpawnSounds" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03235.html#NL3D_1_1CPSSoundp15">NL3D::CPSSound::_SpawnSounds</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00179">179</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06282.html#l00147">getSpawn()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, and <a class="el" href="a06282.html#l00144">setSpawn()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CPSSoundp16" doxytag="NL3D::CPSSound::_UseOriginalPitch" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a03235.html#NL3D_1_1CPSSoundp16">NL3D::CPSSound::_UseOriginalPitch</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06282.html#l00183">183</a> of file <a class="el" href="a06282.html">ps_sound.h</a>. +<p> +Referenced by <a class="el" href="a06282.html#l00164">getUseOriginalPitchFlag()</a>, <a class="el" href="a06281.html#l00355">newElement()</a>, <a class="el" href="a06281.html#l00424">setUseOriginalPitchFlag()</a>, and <a class="el" href="a06281.html#l00109">step()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06282.html">ps_sound.h</a><li><a class="el" href="a06281.html">ps_sound.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:25:47 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |