source: OGRE/trunk/ogrenew/Docs/api/html/classOgre_1_1DirectionRandomiserAffector.html @ 692

Revision 692, 55.6 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1<html>
2<head>
3<title>Ogre::DirectionRandomiserAffector class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<link type="text/css" rel="stylesheet" href="style.css">
5</head>
6
7<body>
8<!-- Generated by Doxygen 1.3.6 -->
9<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
10<h1>Ogre::DirectionRandomiserAffector Class Reference</h1>This class defines a <a class="el" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a> which applies randomness to the movement of the particles. 
11<a href="#_details">More...</a>
12<p>
13<code>#include &lt;<a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>&gt;</code>
14<p>
15<p>Inheritance diagram for Ogre::DirectionRandomiserAffector:
16<p><center><img src="classOgre_1_1DirectionRandomiserAffector.png" usemap="#Ogre::DirectionRandomiserAffector_map" border="0" alt=""></center>
17<map name="Ogre::DirectionRandomiserAffector_map">
18<area href="classOgre_1_1ParticleAffector.html" alt="Ogre::ParticleAffector" shape="rect" coords="0,56,210,80">
19<area href="classOgre_1_1StringInterface.html" alt="Ogre::StringInterface" shape="rect" coords="0,0,210,24">
20</map>
21<a href="classOgre_1_1DirectionRandomiserAffector-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
22<tr><td></td></tr>
23<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
24<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora0">DirectionRandomiserAffector</a> (<a class="el" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a> *psys)</td></tr>
25
26<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#Ogre_1_1DirectionRandomiserAffectora0"></a><br><br></td></tr>
27<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora1">_affectParticles</a> (<a class="el" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a> *pSystem, <a class="el" href="namespaceOgre.html#a465">Real</a> timeElapsed)</td></tr>
28
29<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a>.  <a href="#Ogre_1_1DirectionRandomiserAffectora1"></a><br><br></td></tr>
30<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora2">setRandomness</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> force)</td></tr>
31
32<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the randomness to apply to the particles in a system.  <a href="#Ogre_1_1DirectionRandomiserAffectora2"></a><br><br></td></tr>
33<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora3">setScope</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> force)</td></tr>
34
35<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the scope (percentage of particles which are randomised).  <a href="#Ogre_1_1DirectionRandomiserAffectora3"></a><br><br></td></tr>
36<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora4">setKeepVelocity</a> (bool keepVelocity)</td></tr>
37
38<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set flag which detemines whether particle speed is changed.  <a href="#Ogre_1_1DirectionRandomiserAffectora4"></a><br><br></td></tr>
39<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora5">getRandomness</a> (void) const </td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the randomness to apply to the particles in a system.  <a href="#Ogre_1_1DirectionRandomiserAffectora5"></a><br><br></td></tr>
42<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora6">getScope</a> (void) const </td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the scope (percentage of particles which are randomised).  <a href="#Ogre_1_1DirectionRandomiserAffectora6"></a><br><br></td></tr>
45<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectora7">getKeepVelocity</a> (void) const </td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets flag which detemines whether particle speed is changed.  <a href="#Ogre_1_1DirectionRandomiserAffectora7"></a><br><br></td></tr>
48<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectora4">_initParticle</a> (<a class="el" href="classOgre_1_1Particle.html">Particle</a> *pParticle)</td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method called to allow the affector to initialize all newly created particles in the system.  <a href="#Ogre_1_1ScaleAffectora4"></a><br><br></td></tr>
51<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectora5">getType</a> (void) const </td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the name of the type of affector.  <a href="#Ogre_1_1ScaleAffectora5"></a><br><br></td></tr>
54<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea45">getParamDictionary</a> (void)</td></tr>
55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the parameter dictionary for this class.  <a href="#Ogre_1_1Texturea45"></a><br><br></td></tr>
57<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea46">getParamDictionary</a> (void) const </td></tr>
58
59<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a563">ParameterList</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">getParameters</a> (void) const </td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a list of parameters valid for this object.  <a href="#Ogre_1_1Texturea47"></a><br><br></td></tr>
62<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea48">setParameter</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name, const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;value)</td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic parameter setting method.  <a href="#Ogre_1_1Texturea48"></a><br><br></td></tr>
65<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea49">setParameterList</a> (const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> &amp;paramList)</td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic multiple parameter setting method.  <a href="#Ogre_1_1Texturea49"></a><br><br></td></tr>
68<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="namespaceOgre.html#a471">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea50">getParameter</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;name) const </td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic parameter retrieval method.  <a href="#Ogre_1_1Texturea50"></a><br><br></td></tr>
71<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea51">copyParametersTo</a> (<a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> *dest) const </td></tr>
72
73<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method for copying this object's parameters to another object.  <a href="#Ogre_1_1Texturea51"></a><br><br></td></tr>
74<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
75<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturee0">cleanupDictionary</a> ()</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cleans up the static 'msDictionary' required to reset <a class="el" href="namespaceOgre.html">Ogre</a>, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementers (e.g.  <a href="#Ogre_1_1Texturee0"></a><br><br></td></tr>
78<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
79<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1DirectionRandomiserAffector_1_1CmdRandomness.html">CmdRandomness</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectors0">msRandomnessCmd</a></td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Command objects.  <a href="#Ogre_1_1DirectionRandomiserAffectors0"></a><br><br></td></tr>
82<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1DirectionRandomiserAffector_1_1CmdScope.html">CmdScope</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectors1">msScopeCmd</a></td></tr>
83
84<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1DirectionRandomiserAffector_1_1CmdKeepVelocity.html">CmdKeepVelocity</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectors2">msKeepVelocityCmd</a></td></tr>
85
86<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
87<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectorb0">addBaseParameters</a> (void)</td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for setting up the basic parameter definitions for a subclass.  <a href="#Ogre_1_1ScaleAffectorb0"></a><br><br></td></tr>
90<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Textureb6">createParamDictionary</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;className)</td></tr>
91
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal method for creating a parameter dictionary for the class, if it does not already exist.  <a href="#Ogre_1_1Textureb6"></a><br><br></td></tr>
93<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
94<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectorp0">mRandomness</a></td></tr>
95
96<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectorp1">mScope</a></td></tr>
97
98<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectorp2">mKeepVelocity</a></td></tr>
99
100<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectorp1">mType</a></td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name of the type of affector, MUST be initialised by subclasses.  <a href="#Ogre_1_1ScaleAffectorp1"></a><br><br></td></tr>
103<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectorp2">mParent</a></td></tr>
104
105<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturep26">mParamDictName</a></td></tr>
106
107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class name for this instance to be used as a lookup (must be initialised by subclasses).  <a href="#Ogre_1_1Texturep26"></a><br><br></td></tr>
108<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr>
109<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a565">ParamDictionaryMap</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturet0">msDictionary</a></td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dictionary of parameters.  <a href="#Ogre_1_1Texturet0"></a><br><br></td></tr>
112</table>
113<hr><a name="_details"></a><h2>Detailed Description</h2>
114This class defines a <a class="el" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a> which applies randomness to the movement of the particles.
115<p>
116<dl compact><dt><b>Remarks:</b></dt><dd>This affector (see <a class="el" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a>) applies randomness to the movement of the particles by changing the direction vectors. </dd></dl>
117<dl compact><dt><b></b></dt><dd>The most important parameter to control the effect is randomness. It controls the range in which changes are applied to each axis of the direction vector. The parameter scope can be used to limit the effect to a certain percentage of the particles. </dd></dl>
118
119<p>
120
121<p>
122Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00044">44</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
123<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora0" doxytag="Ogre::DirectionRandomiserAffector::DirectionRandomiserAffector" ></a><p>
124<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
125  <tr>
126    <td class="mdRow">
127      <table cellpadding="0" cellspacing="0" border="0">
128        <tr>
129          <td class="md" nowrap valign="top"> Ogre::DirectionRandomiserAffector::DirectionRandomiserAffector </td>
130          <td class="md" valign="top">(&nbsp;</td>
131          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a> *&nbsp;</td>
132          <td class="mdname1" valign="top" nowrap> <em>psys</em>          </td>
133          <td class="md" valign="top">&nbsp;)&nbsp;</td>
134          <td class="md" nowrap></td>
135        </tr>
136
137      </table>
138    </td>
139  </tr>
140</table>
141<table cellspacing=5 cellpadding=0 border=0>
142  <tr>
143    <td>
144      &nbsp;
145    </td>
146    <td>
147
148<p>
149Default constructor.
150<p>
151    </td>
152  </tr>
153</table>
154<hr><h2>Member Function Documentation</h2>
155<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora1" doxytag="Ogre::DirectionRandomiserAffector::_affectParticles" ></a><p>
156<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
157  <tr>
158    <td class="mdRow">
159      <table cellpadding="0" cellspacing="0" border="0">
160        <tr>
161          <td class="md" nowrap valign="top"> void Ogre::DirectionRandomiserAffector::_affectParticles </td>
162          <td class="md" valign="top">(&nbsp;</td>
163          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a> *&nbsp;</td>
164          <td class="mdname" nowrap> <em>pSystem</em>, </td>
165        </tr>
166        <tr>
167          <td class="md" nowrap align="right"></td>
168          <td></td>
169          <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td>
170          <td class="mdname" nowrap> <em>timeElapsed</em></td>
171        </tr>
172        <tr>
173          <td></td>
174          <td class="md">)&nbsp;</td>
175          <td class="md" colspan="2"><code> [virtual]</code></td>
176        </tr>
177
178      </table>
179    </td>
180  </tr>
181</table>
182<table cellspacing=5 cellpadding=0 border=0>
183  <tr>
184    <td>
185      &nbsp;
186    </td>
187    <td>
188
189<p>
190See <a class="el" href="classOgre_1_1ParticleAffector.html">ParticleAffector</a>.
191<p>
192
193<p>
194Implements <a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ParticleAffectora3">Ogre::ParticleAffector</a>.    </td>
195  </tr>
196</table>
197<a class="anchor" name="Ogre_1_1ScaleAffectora4" doxytag="Ogre::DirectionRandomiserAffector::_initParticle" ></a><p>
198<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
199  <tr>
200    <td class="mdRow">
201      <table cellpadding="0" cellspacing="0" border="0">
202        <tr>
203          <td class="md" nowrap valign="top"> virtual void Ogre::ParticleAffector::_initParticle </td>
204          <td class="md" valign="top">(&nbsp;</td>
205          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Particle.html">Particle</a> *&nbsp;</td>
206          <td class="mdname1" valign="top" nowrap> <em>pParticle</em>          </td>
207          <td class="md" valign="top">&nbsp;)&nbsp;</td>
208          <td class="md" nowrap><code> [virtual, inherited]</code></td>
209        </tr>
210
211      </table>
212    </td>
213  </tr>
214</table>
215<table cellspacing=5 cellpadding=0 border=0>
216  <tr>
217    <td>
218      &nbsp;
219    </td>
220    <td>
221
222<p>
223Method called to allow the affector to initialize all newly created particles in the system.
224<p>
225<dl compact><dt><b>Remarks:</b></dt><dd>This is where the affector gets the chance to initialize it's effects to the particles of a system. The affector is expected to initialize some or all of the particles in the system passed to it, depending on the affector's approach. </dd></dl>
226<dl compact><dt><b>Parameters:</b></dt><dd>
227  <table border="0" cellspacing="2" cellpadding="0">
228    <tr><td valign=top><em>pParticle</em>&nbsp;</td><td>Pointer to a <a class="el" href="classOgre_1_1Particle.html">Particle</a> to initialize. </td></tr>
229  </table>
230</dl>
231
232<p>
233Reimplemented in <a class="el" href="classOgre_1_1ColourImageAffector.html#Ogre_1_1ColourImageAffectora1">Ogre::ColourImageAffector</a>, and <a class="el" href="classOgre_1_1RotationAffector.html#Ogre_1_1RotationAffectora1">Ogre::RotationAffector</a>.
234<p>
235Definition at line <a class="el" href="OgreParticleAffector_8h-source.html#l00085">85</a> of file <a class="el" href="OgreParticleAffector_8h-source.html">OgreParticleAffector.h</a>.    </td>
236  </tr>
237</table>
238<a class="anchor" name="Ogre_1_1ScaleAffectorb0" doxytag="Ogre::DirectionRandomiserAffector::addBaseParameters" ></a><p>
239<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
240  <tr>
241    <td class="mdRow">
242      <table cellpadding="0" cellspacing="0" border="0">
243        <tr>
244          <td class="md" nowrap valign="top"> void Ogre::ParticleAffector::addBaseParameters </td>
245          <td class="md" valign="top">(&nbsp;</td>
246          <td class="md" nowrap valign="top">void&nbsp;</td>
247          <td class="mdname1" valign="top" nowrap>          </td>
248          <td class="md" valign="top">&nbsp;)&nbsp;</td>
249          <td class="md" nowrap><code> [protected, inherited]</code></td>
250        </tr>
251
252      </table>
253    </td>
254  </tr>
255</table>
256<table cellspacing=5 cellpadding=0 border=0>
257  <tr>
258    <td>
259      &nbsp;
260    </td>
261    <td>
262
263<p>
264Internal method for setting up the basic parameter definitions for a subclass.
265<p>
266<dl compact><dt><b>Remarks:</b></dt><dd>Because <a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> holds a dictionary of parameters per class, subclasses need to call this to ask the base class to add it's parameters to their dictionary as well. Can't do this in the constructor because that runs in a non-virtual context. </dd></dl>
267<dl compact><dt><b></b></dt><dd>The subclass must have called it's own createParamDictionary before calling this method. </dd></dl>
268
269<p>
270Definition at line <a class="el" href="OgreParticleAffector_8h-source.html#l00068">68</a> of file <a class="el" href="OgreParticleAffector_8h-source.html">OgreParticleAffector.h</a>.    </td>
271  </tr>
272</table>
273<a class="anchor" name="Ogre_1_1Texturee0" doxytag="Ogre::DirectionRandomiserAffector::cleanupDictionary" ></a><p>
274<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
275  <tr>
276    <td class="mdRow">
277      <table cellpadding="0" cellspacing="0" border="0">
278        <tr>
279          <td class="md" nowrap valign="top"> void Ogre::StringInterface::cleanupDictionary </td>
280          <td class="md" valign="top">(&nbsp;</td>
281          <td class="mdname1" valign="top" nowrap>          </td>
282          <td class="md" valign="top">&nbsp;)&nbsp;</td>
283          <td class="md" nowrap><code> [static, inherited]</code></td>
284        </tr>
285
286      </table>
287    </td>
288  </tr>
289</table>
290<table cellspacing=5 cellpadding=0 border=0>
291  <tr>
292    <td>
293      &nbsp;
294    </td>
295    <td>
296
297<p>
298Cleans up the static 'msDictionary' required to reset <a class="el" href="namespaceOgre.html">Ogre</a>, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the <a class="el" href="classOgre_1_1ResourceManager.html">ResourceManager</a> implementers (e.g.
299<p>
300<a class="el" href="classOgre_1_1MaterialManager.html">MaterialManager</a>) initializes.     </td>
301  </tr>
302</table>
303<a class="anchor" name="Ogre_1_1Texturea51" doxytag="Ogre::DirectionRandomiserAffector::copyParametersTo" ></a><p>
304<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
305  <tr>
306    <td class="mdRow">
307      <table cellpadding="0" cellspacing="0" border="0">
308        <tr>
309          <td class="md" nowrap valign="top"> virtual void Ogre::StringInterface::copyParametersTo </td>
310          <td class="md" valign="top">(&nbsp;</td>
311          <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1StringInterface.html">StringInterface</a> *&nbsp;</td>
312          <td class="mdname1" valign="top" nowrap> <em>dest</em>          </td>
313          <td class="md" valign="top">&nbsp;)&nbsp;</td>
314          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
315        </tr>
316
317      </table>
318    </td>
319  </tr>
320</table>
321<table cellspacing=5 cellpadding=0 border=0>
322  <tr>
323    <td>
324      &nbsp;
325    </td>
326    <td>
327
328<p>
329Method for copying this object's parameters to another object.
330<p>
331<dl compact><dt><b>Remarks:</b></dt><dd>This method takes the values of all the object's parameters and tries to set the same values on the destination object. This provides a completely type independent way to copy parameters to other objects. Note that because of the String manipulation involved, this should not be regarded as an efficient process and should be saved for times outside of the rendering loop. </dd></dl>
332<dl compact><dt><b></b></dt><dd><a class="el" href="classOgre_1_1Any.html">Any</a> unrecognised parameters will be ignored as with setParameter method. </dd></dl>
333<dl compact><dt><b>Parameters:</b></dt><dd>
334  <table border="0" cellspacing="2" cellpadding="0">
335    <tr><td valign=top><em>dest</em>&nbsp;</td><td>Pointer to object to have it's parameters set the same as this object. </td></tr>
336  </table>
337</dl>
338
339<p>
340Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00296">296</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.
341<p>
342References <a class="el" href="OgreStringInterface_8h-source.html#l00084">Ogre::ParamDictionary::mParamDefs</a>, and <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea48">Ogre::StringInterface::setParameter()</a>.    </td>
343  </tr>
344</table>
345<a class="anchor" name="Ogre_1_1Textureb6" doxytag="Ogre::DirectionRandomiserAffector::createParamDictionary" ></a><p>
346<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
347  <tr>
348    <td class="mdRow">
349      <table cellpadding="0" cellspacing="0" border="0">
350        <tr>
351          <td class="md" nowrap valign="top"> bool Ogre::StringInterface::createParamDictionary </td>
352          <td class="md" valign="top">(&nbsp;</td>
353          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
354          <td class="mdname1" valign="top" nowrap> <em>className</em>          </td>
355          <td class="md" valign="top">&nbsp;)&nbsp;</td>
356          <td class="md" nowrap><code> [protected, inherited]</code></td>
357        </tr>
358
359      </table>
360    </td>
361  </tr>
362</table>
363<table cellspacing=5 cellpadding=0 border=0>
364  <tr>
365    <td>
366      &nbsp;
367    </td>
368    <td>
369
370<p>
371Internal method for creating a parameter dictionary for the class, if it does not already exist.
372<p>
373<dl compact><dt><b>Remarks:</b></dt><dd>This method will check to see if a parameter dictionary exist for this class yet, and if not will create one. NB you must supply the name of the class (RTTI is not used or performance). </dd></dl>
374<dl compact><dt><b>Parameters:</b></dt><dd>
375  <table border="0" cellspacing="2" cellpadding="0">
376    <tr><td valign=top><em>className</em>&nbsp;</td><td>the name of the class using the dictionary </td></tr>
377  </table>
378</dl>
379<dl compact><dt><b>Returns:</b></dt><dd>true if a new dictionary was created, false if it was already there </dd></dl>
380
381<p>
382Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00172">172</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.
383<p>
384References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>.    </td>
385  </tr>
386</table>
387<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora7" doxytag="Ogre::DirectionRandomiserAffector::getKeepVelocity" ></a><p>
388<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
389  <tr>
390    <td class="mdRow">
391      <table cellpadding="0" cellspacing="0" border="0">
392        <tr>
393          <td class="md" nowrap valign="top"> bool Ogre::DirectionRandomiserAffector::getKeepVelocity </td>
394          <td class="md" valign="top">(&nbsp;</td>
395          <td class="md" nowrap valign="top">void&nbsp;</td>
396          <td class="mdname1" valign="top" nowrap>          </td>
397          <td class="md" valign="top">&nbsp;)&nbsp;</td>
398          <td class="md" nowrap> const</td>
399        </tr>
400
401      </table>
402    </td>
403  </tr>
404</table>
405<table cellspacing=5 cellpadding=0 border=0>
406  <tr>
407    <td>
408      &nbsp;
409    </td>
410    <td>
411
412<p>
413Gets flag which detemines whether particle speed is changed.
414<p>
415    </td>
416  </tr>
417</table>
418<a class="anchor" name="Ogre_1_1Texturea46" doxytag="Ogre::DirectionRandomiserAffector::getParamDictionary" ></a><p>
419<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
420  <tr>
421    <td class="mdRow">
422      <table cellpadding="0" cellspacing="0" border="0">
423        <tr>
424          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a>* Ogre::StringInterface::getParamDictionary </td>
425          <td class="md" valign="top">(&nbsp;</td>
426          <td class="md" nowrap valign="top">void&nbsp;</td>
427          <td class="mdname1" valign="top" nowrap>          </td>
428          <td class="md" valign="top">&nbsp;)&nbsp;</td>
429          <td class="md" nowrap> const<code> [inherited]</code></td>
430        </tr>
431
432      </table>
433    </td>
434  </tr>
435</table>
436<table cellspacing=5 cellpadding=0 border=0>
437  <tr>
438    <td>
439      &nbsp;
440    </td>
441    <td>
442
443<p>
444
445<p>
446Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00209">209</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
447  </tr>
448</table>
449<a class="anchor" name="Ogre_1_1Texturea45" doxytag="Ogre::DirectionRandomiserAffector::getParamDictionary" ></a><p>
450<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
451  <tr>
452    <td class="mdRow">
453      <table cellpadding="0" cellspacing="0" border="0">
454        <tr>
455          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a>* Ogre::StringInterface::getParamDictionary </td>
456          <td class="md" valign="top">(&nbsp;</td>
457          <td class="md" nowrap valign="top">void&nbsp;</td>
458          <td class="mdname1" valign="top" nowrap>          </td>
459          <td class="md" valign="top">&nbsp;)&nbsp;</td>
460          <td class="md" nowrap><code> [inherited]</code></td>
461        </tr>
462
463      </table>
464    </td>
465  </tr>
466</table>
467<table cellspacing=5 cellpadding=0 border=0>
468  <tr>
469    <td>
470      &nbsp;
471    </td>
472    <td>
473
474<p>
475Retrieves the parameter dictionary for this class.
476<p>
477<dl compact><dt><b>Remarks:</b></dt><dd>Only valid to call this after createParamDictionary. </dd></dl>
478<dl compact><dt><b>Returns:</b></dt><dd>Pointer to <a class="el" href="classOgre_1_1ParamDictionary.html">ParamDictionary</a> shared by all instances of this class which you can add parameters to, retrieve parameters etc. </dd></dl>
479
480<p>
481Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00196">196</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
482  </tr>
483</table>
484<a class="anchor" name="Ogre_1_1Texturea50" doxytag="Ogre::DirectionRandomiserAffector::getParameter" ></a><p>
485<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
486  <tr>
487    <td class="mdRow">
488      <table cellpadding="0" cellspacing="0" border="0">
489        <tr>
490          <td class="md" nowrap valign="top"> virtual <a class="el" href="namespaceOgre.html#a471">String</a> Ogre::StringInterface::getParameter </td>
491          <td class="md" valign="top">(&nbsp;</td>
492          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
493          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
494          <td class="md" valign="top">&nbsp;)&nbsp;</td>
495          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
496        </tr>
497
498      </table>
499    </td>
500  </tr>
501</table>
502<table cellspacing=5 cellpadding=0 border=0>
503  <tr>
504    <td>
505      &nbsp;
506    </td>
507    <td>
508
509<p>
510Generic parameter retrieval method.
511<p>
512<dl compact><dt><b>Remarks:</b></dt><dd>Call this method with the name of a parameter to retrieve a string-format value of the parameter in question. If in doubt, check the parameter definition in the list returned from getParameters for the type of this parameter. If you like you can use <a class="el" href="classOgre_1_1StringConverter.html">StringConverter</a> to convert this string back into a native type. </dd></dl>
513<dl compact><dt><b>Parameters:</b></dt><dd>
514  <table border="0" cellspacing="2" cellpadding="0">
515    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the parameter to get </td></tr>
516  </table>
517</dl>
518<dl compact><dt><b>Returns:</b></dt><dd>String value of parameter, blank if not found </dd></dl>
519
520<p>
521Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00265">265</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.
522<p>
523References <a class="el" href="classOgre_1_1ParamCommand.html#Ogre_1_1ParamCommanda0">Ogre::ParamCommand::doGet()</a>, <a class="el" href="OgreStringInterface_8h-source.html#l00090">Ogre::ParamDictionary::getParamCommand()</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>.    </td>
524  </tr>
525</table>
526<a class="anchor" name="Ogre_1_1Texturea47" doxytag="Ogre::DirectionRandomiserAffector::getParameters" ></a><p>
527<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
528  <tr>
529    <td class="mdRow">
530      <table cellpadding="0" cellspacing="0" border="0">
531        <tr>
532          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a563">ParameterList</a>&amp; Ogre::StringInterface::getParameters </td>
533          <td class="md" valign="top">(&nbsp;</td>
534          <td class="md" nowrap valign="top">void&nbsp;</td>
535          <td class="mdname1" valign="top" nowrap>          </td>
536          <td class="md" valign="top">&nbsp;)&nbsp;</td>
537          <td class="md" nowrap> const<code> [inherited]</code></td>
538        </tr>
539
540      </table>
541    </td>
542  </tr>
543</table>
544<table cellspacing=5 cellpadding=0 border=0>
545  <tr>
546    <td>
547      &nbsp;
548    </td>
549    <td>
550
551<p>
552Retrieves a list of parameters valid for this object.
553<p>
554<dl compact><dt><b>Returns:</b></dt><dd>A reference to a static list of <a class="el" href="classOgre_1_1ParameterDef.html">ParameterDef</a> objects. </dd></dl>
555    </td>
556  </tr>
557</table>
558<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora5" doxytag="Ogre::DirectionRandomiserAffector::getRandomness" ></a><p>
559<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
560  <tr>
561    <td class="mdRow">
562      <table cellpadding="0" cellspacing="0" border="0">
563        <tr>
564          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::DirectionRandomiserAffector::getRandomness </td>
565          <td class="md" valign="top">(&nbsp;</td>
566          <td class="md" nowrap valign="top">void&nbsp;</td>
567          <td class="mdname1" valign="top" nowrap>          </td>
568          <td class="md" valign="top">&nbsp;)&nbsp;</td>
569          <td class="md" nowrap> const</td>
570        </tr>
571
572      </table>
573    </td>
574  </tr>
575</table>
576<table cellspacing=5 cellpadding=0 border=0>
577  <tr>
578    <td>
579      &nbsp;
580    </td>
581    <td>
582
583<p>
584Gets the randomness to apply to the particles in a system.
585<p>
586    </td>
587  </tr>
588</table>
589<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora6" doxytag="Ogre::DirectionRandomiserAffector::getScope" ></a><p>
590<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
591  <tr>
592    <td class="mdRow">
593      <table cellpadding="0" cellspacing="0" border="0">
594        <tr>
595          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::DirectionRandomiserAffector::getScope </td>
596          <td class="md" valign="top">(&nbsp;</td>
597          <td class="md" nowrap valign="top">void&nbsp;</td>
598          <td class="mdname1" valign="top" nowrap>          </td>
599          <td class="md" valign="top">&nbsp;)&nbsp;</td>
600          <td class="md" nowrap> const</td>
601        </tr>
602
603      </table>
604    </td>
605  </tr>
606</table>
607<table cellspacing=5 cellpadding=0 border=0>
608  <tr>
609    <td>
610      &nbsp;
611    </td>
612    <td>
613
614<p>
615Gets the scope (percentage of particles which are randomised).
616<p>
617    </td>
618  </tr>
619</table>
620<a class="anchor" name="Ogre_1_1ScaleAffectora5" doxytag="Ogre::DirectionRandomiserAffector::getType" ></a><p>
621<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
622  <tr>
623    <td class="mdRow">
624      <table cellpadding="0" cellspacing="0" border="0">
625        <tr>
626          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>&amp; Ogre::ParticleAffector::getType </td>
627          <td class="md" valign="top">(&nbsp;</td>
628          <td class="md" nowrap valign="top">void&nbsp;</td>
629          <td class="mdname1" valign="top" nowrap>          </td>
630          <td class="md" valign="top">&nbsp;)&nbsp;</td>
631          <td class="md" nowrap> const<code> [inherited]</code></td>
632        </tr>
633
634      </table>
635    </td>
636  </tr>
637</table>
638<table cellspacing=5 cellpadding=0 border=0>
639  <tr>
640    <td>
641      &nbsp;
642    </td>
643    <td>
644
645<p>
646Returns the name of the type of affector.
647<p>
648<dl compact><dt><b>Remarks:</b></dt><dd>This property is useful for determining the type of affector procedurally so another can be created. </dd></dl>
649
650<p>
651Definition at line <a class="el" href="OgreParticleAffector_8h-source.html#l00104">104</a> of file <a class="el" href="OgreParticleAffector_8h-source.html">OgreParticleAffector.h</a>.
652<p>
653References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>.    </td>
654  </tr>
655</table>
656<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora4" doxytag="Ogre::DirectionRandomiserAffector::setKeepVelocity" ></a><p>
657<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
658  <tr>
659    <td class="mdRow">
660      <table cellpadding="0" cellspacing="0" border="0">
661        <tr>
662          <td class="md" nowrap valign="top"> void Ogre::DirectionRandomiserAffector::setKeepVelocity </td>
663          <td class="md" valign="top">(&nbsp;</td>
664          <td class="md" nowrap valign="top">bool&nbsp;</td>
665          <td class="mdname1" valign="top" nowrap> <em>keepVelocity</em>          </td>
666          <td class="md" valign="top">&nbsp;)&nbsp;</td>
667          <td class="md" nowrap></td>
668        </tr>
669
670      </table>
671    </td>
672  </tr>
673</table>
674<table cellspacing=5 cellpadding=0 border=0>
675  <tr>
676    <td>
677      &nbsp;
678    </td>
679    <td>
680
681<p>
682Set flag which detemines whether particle speed is changed.
683<p>
684    </td>
685  </tr>
686</table>
687<a class="anchor" name="Ogre_1_1Texturea48" doxytag="Ogre::DirectionRandomiserAffector::setParameter" ></a><p>
688<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
689  <tr>
690    <td class="mdRow">
691      <table cellpadding="0" cellspacing="0" border="0">
692        <tr>
693          <td class="md" nowrap valign="top"> virtual bool Ogre::StringInterface::setParameter </td>
694          <td class="md" valign="top">(&nbsp;</td>
695          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
696          <td class="mdname" nowrap> <em>name</em>, </td>
697        </tr>
698        <tr>
699          <td class="md" nowrap align="right"></td>
700          <td></td>
701          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> &amp;&nbsp;</td>
702          <td class="mdname" nowrap> <em>value</em></td>
703        </tr>
704        <tr>
705          <td></td>
706          <td class="md">)&nbsp;</td>
707          <td class="md" colspan="2"><code> [virtual, inherited]</code></td>
708        </tr>
709
710      </table>
711    </td>
712  </tr>
713</table>
714<table cellspacing=5 cellpadding=0 border=0>
715  <tr>
716    <td>
717      &nbsp;
718    </td>
719    <td>
720
721<p>
722Generic parameter setting method.
723<p>
724<dl compact><dt><b>Remarks:</b></dt><dd>Call this method with the name of a parameter and a string version of the value to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">StringInterface::getParameters</a>. </dd></dl>
725<dl compact><dt><b>Parameters:</b></dt><dd>
726  <table border="0" cellspacing="2" cellpadding="0">
727    <tr><td valign=top><em>name</em>&nbsp;</td><td>The name of the parameter to set </td></tr>
728    <tr><td valign=top><em>value</em>&nbsp;</td><td>String value. Must be in the right format for the type specified in the parameter definition. See the <a class="el" href="classOgre_1_1StringConverter.html">StringConverter</a> class for more information. </td></tr>
729  </table>
730</dl>
731<dl compact><dt><b>Returns:</b></dt><dd>true if set was successful, false otherwise (NB no exceptions thrown - tolerant method) </dd></dl>
732
733<p>
734Referenced by <a class="el" href="OgreStringInterface_8h-source.html#l00296">Ogre::StringInterface::copyParametersTo()</a>.    </td>
735  </tr>
736</table>
737<a class="anchor" name="Ogre_1_1Texturea49" doxytag="Ogre::DirectionRandomiserAffector::setParameterList" ></a><p>
738<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
739  <tr>
740    <td class="mdRow">
741      <table cellpadding="0" cellspacing="0" border="0">
742        <tr>
743          <td class="md" nowrap valign="top"> virtual void Ogre::StringInterface::setParameterList </td>
744          <td class="md" valign="top">(&nbsp;</td>
745          <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a76">NameValuePairList</a> &amp;&nbsp;</td>
746          <td class="mdname1" valign="top" nowrap> <em>paramList</em>          </td>
747          <td class="md" valign="top">&nbsp;)&nbsp;</td>
748          <td class="md" nowrap><code> [virtual, inherited]</code></td>
749        </tr>
750
751      </table>
752    </td>
753  </tr>
754</table>
755<table cellspacing=5 cellpadding=0 border=0>
756  <tr>
757    <td>
758      &nbsp;
759    </td>
760    <td>
761
762<p>
763Generic multiple parameter setting method.
764<p>
765<dl compact><dt><b>Remarks:</b></dt><dd>Call this method with a list of name / value pairs to set. The implementor will convert the string to a native type internally. If in doubt, check the parameter definition in the list returned from <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturea47">StringInterface::getParameters</a>. </dd></dl>
766<dl compact><dt><b>Parameters:</b></dt><dd>
767  <table border="0" cellspacing="2" cellpadding="0">
768    <tr><td valign=top><em>paramList</em>&nbsp;</td><td>Name/value pair list </td></tr>
769  </table>
770</dl>
771    </td>
772  </tr>
773</table>
774<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora2" doxytag="Ogre::DirectionRandomiserAffector::setRandomness" ></a><p>
775<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
776  <tr>
777    <td class="mdRow">
778      <table cellpadding="0" cellspacing="0" border="0">
779        <tr>
780          <td class="md" nowrap valign="top"> void Ogre::DirectionRandomiserAffector::setRandomness </td>
781          <td class="md" valign="top">(&nbsp;</td>
782          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td>
783          <td class="mdname1" valign="top" nowrap> <em>force</em>          </td>
784          <td class="md" valign="top">&nbsp;)&nbsp;</td>
785          <td class="md" nowrap></td>
786        </tr>
787
788      </table>
789    </td>
790  </tr>
791</table>
792<table cellspacing=5 cellpadding=0 border=0>
793  <tr>
794    <td>
795      &nbsp;
796    </td>
797    <td>
798
799<p>
800Sets the randomness to apply to the particles in a system.
801<p>
802    </td>
803  </tr>
804</table>
805<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectora3" doxytag="Ogre::DirectionRandomiserAffector::setScope" ></a><p>
806<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
807  <tr>
808    <td class="mdRow">
809      <table cellpadding="0" cellspacing="0" border="0">
810        <tr>
811          <td class="md" nowrap valign="top"> void Ogre::DirectionRandomiserAffector::setScope </td>
812          <td class="md" valign="top">(&nbsp;</td>
813          <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a>&nbsp;</td>
814          <td class="mdname1" valign="top" nowrap> <em>force</em>          </td>
815          <td class="md" valign="top">&nbsp;)&nbsp;</td>
816          <td class="md" nowrap></td>
817        </tr>
818
819      </table>
820    </td>
821  </tr>
822</table>
823<table cellspacing=5 cellpadding=0 border=0>
824  <tr>
825    <td>
826      &nbsp;
827    </td>
828    <td>
829
830<p>
831Sets the scope (percentage of particles which are randomised).
832<p>
833    </td>
834  </tr>
835</table>
836<hr><h2>Member Data Documentation</h2>
837<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectorp2" doxytag="Ogre::DirectionRandomiserAffector::mKeepVelocity" ></a><p>
838<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
839  <tr>
840    <td class="mdRow">
841      <table cellpadding="0" cellspacing="0" border="0">
842        <tr>
843          <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectorp2">Ogre::DirectionRandomiserAffector::mKeepVelocity</a><code> [protected]</code>
844      </table>
845    </td>
846  </tr>
847</table>
848<table cellspacing=5 cellpadding=0 border=0>
849  <tr>
850    <td>
851      &nbsp;
852    </td>
853    <td>
854
855<p>
856
857<p>
858Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00100">100</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.    </td>
859  </tr>
860</table>
861<a class="anchor" name="Ogre_1_1Texturep26" doxytag="Ogre::DirectionRandomiserAffector::mParamDictName" ></a><p>
862<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
863  <tr>
864    <td class="mdRow">
865      <table cellpadding="0" cellspacing="0" border="0">
866        <tr>
867          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturep26">Ogre::StringInterface::mParamDictName</a><code> [protected, inherited]</code>
868      </table>
869    </td>
870  </tr>
871</table>
872<table cellspacing=5 cellpadding=0 border=0>
873  <tr>
874    <td>
875      &nbsp;
876    </td>
877    <td>
878
879<p>
880Class name for this instance to be used as a lookup (must be initialised by subclasses).
881<p>
882
883<p>
884Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00160">160</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
885  </tr>
886</table>
887<a class="anchor" name="Ogre_1_1ScaleAffectorp2" doxytag="Ogre::DirectionRandomiserAffector::mParent" ></a><p>
888<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
889  <tr>
890    <td class="mdRow">
891      <table cellpadding="0" cellspacing="0" border="0">
892        <tr>
893          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ParticleSystem.html">ParticleSystem</a>* <a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectorp2">Ogre::ParticleAffector::mParent</a><code> [protected, inherited]</code>
894      </table>
895    </td>
896  </tr>
897</table>
898<table cellspacing=5 cellpadding=0 border=0>
899  <tr>
900    <td>
901      &nbsp;
902    </td>
903    <td>
904
905<p>
906
907<p>
908Definition at line <a class="el" href="OgreParticleAffector_8h-source.html#l00070">70</a> of file <a class="el" href="OgreParticleAffector_8h-source.html">OgreParticleAffector.h</a>.    </td>
909  </tr>
910</table>
911<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectorp0" doxytag="Ogre::DirectionRandomiserAffector::mRandomness" ></a><p>
912<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
913  <tr>
914    <td class="mdRow">
915      <table cellpadding="0" cellspacing="0" border="0">
916        <tr>
917          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectorp0">Ogre::DirectionRandomiserAffector::mRandomness</a><code> [protected]</code>
918      </table>
919    </td>
920  </tr>
921</table>
922<table cellspacing=5 cellpadding=0 border=0>
923  <tr>
924    <td>
925      &nbsp;
926    </td>
927    <td>
928
929<p>
930
931<p>
932Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00098">98</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.    </td>
933  </tr>
934</table>
935<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectorp1" doxytag="Ogre::DirectionRandomiserAffector::mScope" ></a><p>
936<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
937  <tr>
938    <td class="mdRow">
939      <table cellpadding="0" cellspacing="0" border="0">
940        <tr>
941          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectorp1">Ogre::DirectionRandomiserAffector::mScope</a><code> [protected]</code>
942      </table>
943    </td>
944  </tr>
945</table>
946<table cellspacing=5 cellpadding=0 border=0>
947  <tr>
948    <td>
949      &nbsp;
950    </td>
951    <td>
952
953<p>
954
955<p>
956Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00099">99</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.    </td>
957  </tr>
958</table>
959<a class="anchor" name="Ogre_1_1Texturet0" doxytag="Ogre::DirectionRandomiserAffector::msDictionary" ></a><p>
960<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
961  <tr>
962    <td class="mdRow">
963      <table cellpadding="0" cellspacing="0" border="0">
964        <tr>
965          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a565">ParamDictionaryMap</a> <a class="el" href="classOgre_1_1StringInterface.html#Ogre_1_1Texturet0">Ogre::StringInterface::msDictionary</a><code> [static, protected, inherited]</code>
966      </table>
967    </td>
968  </tr>
969</table>
970<table cellspacing=5 cellpadding=0 border=0>
971  <tr>
972    <td>
973      &nbsp;
974    </td>
975    <td>
976
977<p>
978Dictionary of parameters.
979<p>
980
981<p>
982Definition at line <a class="el" href="OgreStringInterface_8h-source.html#l00157">157</a> of file <a class="el" href="OgreStringInterface_8h-source.html">OgreStringInterface.h</a>.    </td>
983  </tr>
984</table>
985<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectors2" doxytag="Ogre::DirectionRandomiserAffector::msKeepVelocityCmd" ></a><p>
986<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
987  <tr>
988    <td class="mdRow">
989      <table cellpadding="0" cellspacing="0" border="0">
990        <tr>
991          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DirectionRandomiserAffector_1_1CmdKeepVelocity.html">CmdKeepVelocity</a> <a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectors2">Ogre::DirectionRandomiserAffector::msKeepVelocityCmd</a><code> [static]</code>
992      </table>
993    </td>
994  </tr>
995</table>
996<table cellspacing=5 cellpadding=0 border=0>
997  <tr>
998    <td>
999      &nbsp;
1000    </td>
1001    <td>
1002
1003<p>
1004
1005<p>
1006Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00095">95</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.    </td>
1007  </tr>
1008</table>
1009<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectors0" doxytag="Ogre::DirectionRandomiserAffector::msRandomnessCmd" ></a><p>
1010<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1011  <tr>
1012    <td class="mdRow">
1013      <table cellpadding="0" cellspacing="0" border="0">
1014        <tr>
1015          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DirectionRandomiserAffector_1_1CmdRandomness.html">CmdRandomness</a> <a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectors0">Ogre::DirectionRandomiserAffector::msRandomnessCmd</a><code> [static]</code>
1016      </table>
1017    </td>
1018  </tr>
1019</table>
1020<table cellspacing=5 cellpadding=0 border=0>
1021  <tr>
1022    <td>
1023      &nbsp;
1024    </td>
1025    <td>
1026
1027<p>
1028Command objects.
1029<p>
1030
1031<p>
1032Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00093">93</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.    </td>
1033  </tr>
1034</table>
1035<a class="anchor" name="Ogre_1_1DirectionRandomiserAffectors1" doxytag="Ogre::DirectionRandomiserAffector::msScopeCmd" ></a><p>
1036<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1037  <tr>
1038    <td class="mdRow">
1039      <table cellpadding="0" cellspacing="0" border="0">
1040        <tr>
1041          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DirectionRandomiserAffector_1_1CmdScope.html">CmdScope</a> <a class="el" href="classOgre_1_1DirectionRandomiserAffector.html#Ogre_1_1DirectionRandomiserAffectors1">Ogre::DirectionRandomiserAffector::msScopeCmd</a><code> [static]</code>
1042      </table>
1043    </td>
1044  </tr>
1045</table>
1046<table cellspacing=5 cellpadding=0 border=0>
1047  <tr>
1048    <td>
1049      &nbsp;
1050    </td>
1051    <td>
1052
1053<p>
1054
1055<p>
1056Definition at line <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html#l00094">94</a> of file <a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a>.    </td>
1057  </tr>
1058</table>
1059<a class="anchor" name="Ogre_1_1ScaleAffectorp1" doxytag="Ogre::DirectionRandomiserAffector::mType" ></a><p>
1060<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1061  <tr>
1062    <td class="mdRow">
1063      <table cellpadding="0" cellspacing="0" border="0">
1064        <tr>
1065          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1ParticleAffector.html#Ogre_1_1ScaleAffectorp1">Ogre::ParticleAffector::mType</a><code> [protected, inherited]</code>
1066      </table>
1067    </td>
1068  </tr>
1069</table>
1070<table cellspacing=5 cellpadding=0 border=0>
1071  <tr>
1072    <td>
1073      &nbsp;
1074    </td>
1075    <td>
1076
1077<p>
1078Name of the type of affector, MUST be initialised by subclasses.
1079<p>
1080
1081<p>
1082Definition at line <a class="el" href="OgreParticleAffector_8h-source.html#l00058">58</a> of file <a class="el" href="OgreParticleAffector_8h-source.html">OgreParticleAffector.h</a>.    </td>
1083  </tr>
1084</table>
1085<hr>The documentation for this class was generated from the following file:<ul>
1086<li><a class="el" href="OgreDirectionRandomiserAffector_8h-source.html">OgreDirectionRandomiserAffector.h</a></ul>
1087<hr>
1088<p>
1089Copyright &copy; 2000-2005 by The OGRE Team<br />
1090<!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/>
1091This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/>
1092                <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
1093                <Work rdf:about="">
1094                        <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
1095        <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
1096                </Work>
1097                <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> -->
1098
1099Last modified Sun Mar 12 14:49:33 2006
1100</p>
1101</body>
1102</html>
Note: See TracBrowser for help on using the repository browser.