[2221] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
| 3 | <title>gametools-rain: CloseDropsParticles Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.4.6 --> |
---|
| 8 | <div class="tabs"> |
---|
| 9 | <ul> |
---|
| 10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 11 | <li id="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 12 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 13 | </ul></div> |
---|
| 14 | <div class="tabs"> |
---|
| 15 | <ul> |
---|
| 16 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 17 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 18 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 19 | </ul></div> |
---|
| 20 | <h1>CloseDropsParticles Class Reference</h1><!-- doxytag: class="CloseDropsParticles" --><code>#include <<a class="el" href="RainCloseDropsParticles_8h-source.html">RainCloseDropsParticles.h</a>></code> |
---|
| 21 | <p> |
---|
| 22 | <a href="classCloseDropsParticles-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 23 | Class : <a class="el" href="classCloseDropsParticles.html">CloseDropsParticles</a> defines a rain system, with cameras and shaders |
---|
| 24 | <p> |
---|
| 25 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 26 | <tr><td></td></tr> |
---|
| 27 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 28 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#854ab941991fcb21d1640fc6d938e408">CloseDropsParticles</a> (SceneManager *sceneMgr, SceneNode *parentSyst, SceneNode *parentCam)</td></tr> |
---|
| 29 | |
---|
| 30 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#9f3718c6d0721b1bce367ec2d55f2b35">~CloseDropsParticles</a> ()</td></tr> |
---|
| 31 | |
---|
| 32 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#f8ced0c0f82c037a0d4a6a685c9b0435">createLights</a> ()</td></tr> |
---|
| 33 | |
---|
| 34 | <tr><td class="memItemLeft" nowrap align="right" valign="top">RainLightManager * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#07b630c2f9893453cf7a6a0a81704d85">getLightManagerPtr</a> ()</td></tr> |
---|
| 35 | |
---|
| 36 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#d2686c928601912243528dbf93f122e3">updateLights</a> ()</td></tr> |
---|
| 37 | |
---|
| 38 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#1353cbebfae74f3e9e8cbb9b9e429089">definePosTextureAndBackup</a> ()</td></tr> |
---|
| 39 | |
---|
| 40 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#1ea41c537ac5a889452f8b311d161e3d">makeControlOverlay</a> ()</td></tr> |
---|
| 41 | |
---|
| 42 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#e7e63a1a54ec6368046e377ef02ed622">updatePositionTexture</a> (bool primary)</td></tr> |
---|
| 43 | |
---|
| 44 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#ed530332d6ea95622da6d65d2f453a0f">updateFragmentProgramParameter</a> (const String &name, float value)</td></tr> |
---|
| 45 | |
---|
| 46 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#e6deff9c5de199bff8c4a8b12f57609e">updateFragmentProgramParameter</a> (const String &name, Ogre::Vector3 value)</td></tr> |
---|
| 47 | |
---|
| 48 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#abb13ff5aac1fa66da4473c936fc5bed">updateFragmentProgramParameter</a> (const String &name, Ogre::Vector4 value)</td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#382d373910aeeca4da9c4c2c21d3c474">updateShaderParameters</a> (float tslf, float rainBbSide, float streaksHeight, int nbLights, Vector3 viewPos, Vector3 viewDir, Vector3 fallVect, Vector3 boxMin, Vector3 boxMax, Vector3 lastMove, Vector3 randomMove, int useShader)</td></tr> |
---|
| 51 | |
---|
| 52 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#faf0938f86626973a5f787a339d68e39">updateTimeSinceLastFrame</a> (float tslf)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#f9de759fa82c8ec7042200d2370e74d6">updateRainBilboardSideLength</a> (float rainBbSide)</td></tr> |
---|
| 55 | |
---|
| 56 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#c12db346d5dcb629eece45cf16827718">updateStreaksHeight</a> (float streaksHeight)</td></tr> |
---|
| 57 | |
---|
| 58 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#b09a148f6d44e4ee87a5081c74757a98">updateLightCount</a> (float nbLights)</td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#2925efdc8a09636534a780a34e8bffdf">updateViewPos</a> (Vector3 viewPos)</td></tr> |
---|
| 61 | |
---|
| 62 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#f1b8b1a995996677bd75584ef85b1596">updateViewDir</a> (Vector3 viewDir)</td></tr> |
---|
| 63 | |
---|
| 64 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#1a590aabe2601cf7705423e8724874a9">updateFallVector</a> (Vector3 fallVect)</td></tr> |
---|
| 65 | |
---|
| 66 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#3a2aca7152213edefb89ce819069e47a">updateBoxMin</a> (Vector3 boxMin)</td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#98be1ed6e9561ed2afbf3b625fc55428">updateBoxMax</a> (Vector3 boxMax)</td></tr> |
---|
| 69 | |
---|
| 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#91e9858663a5155b23c734703b807fd9">updateLastMove</a> (Vector3 lastMove)</td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#c6ecb49d550648cf42ca847088ba7f84">updateRandomMove</a> (Vector3 randomMove)</td></tr> |
---|
| 73 | |
---|
| 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#9be4bfaed25d7fb306f353fcf38553b3">hidePositionBillboards</a> ()</td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#7504154f99f56be93e7ebf5e374ef506">showPositionBillboards</a> ()</td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 79 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#1e01a41391f939b3f4e1f2b140f9f192">mRainWidth</a></td></tr> |
---|
| 80 | |
---|
| 81 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCloseDropsParticles.html#9812ff8eb6059ecc22d1a659a3581262">mRainStreaksHeight</a></td></tr> |
---|
| 82 | |
---|
| 83 | </table> |
---|
| 84 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 85 | <a class="anchor" name="854ab941991fcb21d1640fc6d938e408"></a><!-- doxytag: member="CloseDropsParticles::CloseDropsParticles" ref="854ab941991fcb21d1640fc6d938e408" args="(SceneManager *sceneMgr, SceneNode *parentSyst, SceneNode *parentCam)" --><p> |
---|
| 86 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 87 | <tr> |
---|
| 88 | <td class="mdRow"> |
---|
| 89 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 90 | <tr> |
---|
| 91 | <td class="md" nowrap valign="top">CloseDropsParticles::CloseDropsParticles </td> |
---|
| 92 | <td class="md" valign="top">( </td> |
---|
| 93 | <td class="md" nowrap valign="top">SceneManager * </td> |
---|
| 94 | <td class="mdname" nowrap> <em>sceneMgr</em>, </td> |
---|
| 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <td class="md" nowrap align="right"></td> |
---|
| 98 | <td class="md"></td> |
---|
| 99 | <td class="md" nowrap>SceneNode * </td> |
---|
| 100 | <td class="mdname" nowrap> <em>parentSyst</em>, </td> |
---|
| 101 | </tr> |
---|
| 102 | <tr> |
---|
| 103 | <td class="md" nowrap align="right"></td> |
---|
| 104 | <td class="md"></td> |
---|
| 105 | <td class="md" nowrap>SceneNode * </td> |
---|
| 106 | <td class="mdname" nowrap> <em>parentCam</em></td> |
---|
| 107 | </tr> |
---|
| 108 | <tr> |
---|
| 109 | <td class="md"></td> |
---|
| 110 | <td class="md">) </td> |
---|
| 111 | <td class="md" colspan="2"></td> |
---|
| 112 | </tr> |
---|
| 113 | </table> |
---|
| 114 | </td> |
---|
| 115 | </tr> |
---|
| 116 | </table> |
---|
| 117 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 118 | <tr> |
---|
| 119 | <td> |
---|
| 120 | |
---|
| 121 | </td> |
---|
| 122 | <td> |
---|
| 123 | |
---|
| 124 | <p> |
---|
| 125 | constructor, taking in parameters :<ul> |
---|
| 126 | <li>the SceneManager used in the scene</li><li>the SceneNode to which the particle system should be attached</li><li>the SceneNode to which the auxiliary camera (which we use to texture our drops) should be attached </li></ul> |
---|
| 127 | </td> |
---|
| 128 | </tr> |
---|
| 129 | </table> |
---|
| 130 | <a class="anchor" name="9f3718c6d0721b1bce367ec2d55f2b35"></a><!-- doxytag: member="CloseDropsParticles::~CloseDropsParticles" ref="9f3718c6d0721b1bce367ec2d55f2b35" args="()" --><p> |
---|
| 131 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 132 | <tr> |
---|
| 133 | <td class="mdRow"> |
---|
| 134 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 135 | <tr> |
---|
| 136 | <td class="md" nowrap valign="top">CloseDropsParticles::~CloseDropsParticles </td> |
---|
| 137 | <td class="md" valign="top">( </td> |
---|
| 138 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 139 | <td class="md" valign="top"> ) </td> |
---|
| 140 | <td class="md" nowrap></td> |
---|
| 141 | </tr> |
---|
| 142 | </table> |
---|
| 143 | </td> |
---|
| 144 | </tr> |
---|
| 145 | </table> |
---|
| 146 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 147 | <tr> |
---|
| 148 | <td> |
---|
| 149 | |
---|
| 150 | </td> |
---|
| 151 | <td> |
---|
| 152 | |
---|
| 153 | <p> |
---|
| 154 | Destructor </td> |
---|
| 155 | </tr> |
---|
| 156 | </table> |
---|
| 157 | <hr><h2>Member Function Documentation</h2> |
---|
| 158 | <a class="anchor" name="f8ced0c0f82c037a0d4a6a685c9b0435"></a><!-- doxytag: member="CloseDropsParticles::createLights" ref="f8ced0c0f82c037a0d4a6a685c9b0435" args="()" --><p> |
---|
| 159 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 160 | <tr> |
---|
| 161 | <td class="mdRow"> |
---|
| 162 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 163 | <tr> |
---|
| 164 | <td class="md" nowrap valign="top">void CloseDropsParticles::createLights </td> |
---|
| 165 | <td class="md" valign="top">( </td> |
---|
| 166 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 167 | <td class="md" valign="top"> ) </td> |
---|
| 168 | <td class="md" nowrap></td> |
---|
| 169 | </tr> |
---|
| 170 | </table> |
---|
| 171 | </td> |
---|
| 172 | </tr> |
---|
| 173 | </table> |
---|
| 174 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 175 | <tr> |
---|
| 176 | <td> |
---|
| 177 | |
---|
| 178 | </td> |
---|
| 179 | <td> |
---|
| 180 | |
---|
| 181 | <p> |
---|
| 182 | function wich creates the lights (streetlights and bindings to light the drops) </td> |
---|
| 183 | </tr> |
---|
| 184 | </table> |
---|
| 185 | <a class="anchor" name="1353cbebfae74f3e9e8cbb9b9e429089"></a><!-- doxytag: member="CloseDropsParticles::definePosTextureAndBackup" ref="1353cbebfae74f3e9e8cbb9b9e429089" args="()" --><p> |
---|
| 186 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 187 | <tr> |
---|
| 188 | <td class="mdRow"> |
---|
| 189 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 190 | <tr> |
---|
| 191 | <td class="md" nowrap valign="top">void CloseDropsParticles::definePosTextureAndBackup </td> |
---|
| 192 | <td class="md" valign="top">( </td> |
---|
| 193 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 194 | <td class="md" valign="top"> ) </td> |
---|
| 195 | <td class="md" nowrap></td> |
---|
| 196 | </tr> |
---|
| 197 | </table> |
---|
| 198 | </td> |
---|
| 199 | </tr> |
---|
| 200 | </table> |
---|
| 201 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 202 | <tr> |
---|
| 203 | <td> |
---|
| 204 | |
---|
| 205 | </td> |
---|
| 206 | <td> |
---|
| 207 | |
---|
| 208 | <p> |
---|
| 209 | function which creates the position texture and it's backup. should be called when initiaiting the rendering of the first frame (through frame listener) </td> |
---|
| 210 | </tr> |
---|
| 211 | </table> |
---|
| 212 | <a class="anchor" name="07b630c2f9893453cf7a6a0a81704d85"></a><!-- doxytag: member="CloseDropsParticles::getLightManagerPtr" ref="07b630c2f9893453cf7a6a0a81704d85" args="()" --><p> |
---|
| 213 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 214 | <tr> |
---|
| 215 | <td class="mdRow"> |
---|
| 216 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 217 | <tr> |
---|
| 218 | <td class="md" nowrap valign="top">RainLightManager * CloseDropsParticles::getLightManagerPtr </td> |
---|
| 219 | <td class="md" valign="top">( </td> |
---|
| 220 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 221 | <td class="md" valign="top"> ) </td> |
---|
| 222 | <td class="md" nowrap></td> |
---|
| 223 | </tr> |
---|
| 224 | </table> |
---|
| 225 | </td> |
---|
| 226 | </tr> |
---|
| 227 | </table> |
---|
| 228 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 229 | <tr> |
---|
| 230 | <td> |
---|
| 231 | |
---|
| 232 | </td> |
---|
| 233 | <td> |
---|
| 234 | |
---|
| 235 | <p> |
---|
| 236 | function to retrieve a pointer to the rainLightManager associate with this <a class="el" href="classCloseDropsParticles.html">CloseDropsParticles</a> </td> |
---|
| 237 | </tr> |
---|
| 238 | </table> |
---|
| 239 | <a class="anchor" name="9be4bfaed25d7fb306f353fcf38553b3"></a><!-- doxytag: member="CloseDropsParticles::hidePositionBillboards" ref="9be4bfaed25d7fb306f353fcf38553b3" args="()" --><p> |
---|
| 240 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 241 | <tr> |
---|
| 242 | <td class="mdRow"> |
---|
| 243 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 244 | <tr> |
---|
| 245 | <td class="md" nowrap valign="top">void CloseDropsParticles::hidePositionBillboards </td> |
---|
| 246 | <td class="md" valign="top">( </td> |
---|
| 247 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 248 | <td class="md" valign="top"> ) </td> |
---|
| 249 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 250 | </tr> |
---|
| 251 | </table> |
---|
| 252 | </td> |
---|
| 253 | </tr> |
---|
| 254 | </table> |
---|
| 255 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 256 | <tr> |
---|
| 257 | <td> |
---|
| 258 | |
---|
| 259 | </td> |
---|
| 260 | <td> |
---|
| 261 | |
---|
| 262 | <p> |
---|
| 263 | functions which hide the particle position billboards. billboards must be hidden when rendering the scene, and visible when updating the position texture </td> |
---|
| 264 | </tr> |
---|
| 265 | </table> |
---|
| 266 | <a class="anchor" name="1ea41c537ac5a889452f8b311d161e3d"></a><!-- doxytag: member="CloseDropsParticles::makeControlOverlay" ref="1ea41c537ac5a889452f8b311d161e3d" args="()" --><p> |
---|
| 267 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 268 | <tr> |
---|
| 269 | <td class="mdRow"> |
---|
| 270 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 271 | <tr> |
---|
| 272 | <td class="md" nowrap valign="top">void CloseDropsParticles::makeControlOverlay </td> |
---|
| 273 | <td class="md" valign="top">( </td> |
---|
| 274 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 275 | <td class="md" valign="top"> ) </td> |
---|
| 276 | <td class="md" nowrap></td> |
---|
| 277 | </tr> |
---|
| 278 | </table> |
---|
| 279 | </td> |
---|
| 280 | </tr> |
---|
| 281 | </table> |
---|
| 282 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 283 | <tr> |
---|
| 284 | <td> |
---|
| 285 | |
---|
| 286 | </td> |
---|
| 287 | <td> |
---|
| 288 | |
---|
| 289 | <p> |
---|
| 290 | control function, to check what the textures look like </td> |
---|
| 291 | </tr> |
---|
| 292 | </table> |
---|
| 293 | <a class="anchor" name="7504154f99f56be93e7ebf5e374ef506"></a><!-- doxytag: member="CloseDropsParticles::showPositionBillboards" ref="7504154f99f56be93e7ebf5e374ef506" args="()" --><p> |
---|
| 294 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 295 | <tr> |
---|
| 296 | <td class="mdRow"> |
---|
| 297 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 298 | <tr> |
---|
| 299 | <td class="md" nowrap valign="top">void CloseDropsParticles::showPositionBillboards </td> |
---|
| 300 | <td class="md" valign="top">( </td> |
---|
| 301 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 302 | <td class="md" valign="top"> ) </td> |
---|
| 303 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 304 | </tr> |
---|
| 305 | </table> |
---|
| 306 | </td> |
---|
| 307 | </tr> |
---|
| 308 | </table> |
---|
| 309 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 310 | <tr> |
---|
| 311 | <td> |
---|
| 312 | |
---|
| 313 | </td> |
---|
| 314 | <td> |
---|
| 315 | |
---|
| 316 | <p> |
---|
| 317 | functions which show the particle position billboards. billboards must be hidden when rendering the scene, and visible when updating the position texture </td> |
---|
| 318 | </tr> |
---|
| 319 | </table> |
---|
| 320 | <a class="anchor" name="98be1ed6e9561ed2afbf3b625fc55428"></a><!-- doxytag: member="CloseDropsParticles::updateBoxMax" ref="98be1ed6e9561ed2afbf3b625fc55428" args="(Vector3 boxMax)" --><p> |
---|
| 321 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 322 | <tr> |
---|
| 323 | <td class="mdRow"> |
---|
| 324 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 325 | <tr> |
---|
| 326 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateBoxMax </td> |
---|
| 327 | <td class="md" valign="top">( </td> |
---|
| 328 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 329 | <td class="mdname1" valign="top" nowrap> <em>boxMax</em> </td> |
---|
| 330 | <td class="md" valign="top"> ) </td> |
---|
| 331 | <td class="md" nowrap></td> |
---|
| 332 | </tr> |
---|
| 333 | </table> |
---|
| 334 | </td> |
---|
| 335 | </tr> |
---|
| 336 | </table> |
---|
| 337 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 338 | <tr> |
---|
| 339 | <td> |
---|
| 340 | |
---|
| 341 | </td> |
---|
| 342 | <td> |
---|
| 343 | |
---|
| 344 | <p> |
---|
| 345 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 346 | </tr> |
---|
| 347 | </table> |
---|
| 348 | <a class="anchor" name="3a2aca7152213edefb89ce819069e47a"></a><!-- doxytag: member="CloseDropsParticles::updateBoxMin" ref="3a2aca7152213edefb89ce819069e47a" args="(Vector3 boxMin)" --><p> |
---|
| 349 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 350 | <tr> |
---|
| 351 | <td class="mdRow"> |
---|
| 352 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 353 | <tr> |
---|
| 354 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateBoxMin </td> |
---|
| 355 | <td class="md" valign="top">( </td> |
---|
| 356 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 357 | <td class="mdname1" valign="top" nowrap> <em>boxMin</em> </td> |
---|
| 358 | <td class="md" valign="top"> ) </td> |
---|
| 359 | <td class="md" nowrap></td> |
---|
| 360 | </tr> |
---|
| 361 | </table> |
---|
| 362 | </td> |
---|
| 363 | </tr> |
---|
| 364 | </table> |
---|
| 365 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 366 | <tr> |
---|
| 367 | <td> |
---|
| 368 | |
---|
| 369 | </td> |
---|
| 370 | <td> |
---|
| 371 | |
---|
| 372 | <p> |
---|
| 373 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 374 | </tr> |
---|
| 375 | </table> |
---|
| 376 | <a class="anchor" name="1a590aabe2601cf7705423e8724874a9"></a><!-- doxytag: member="CloseDropsParticles::updateFallVector" ref="1a590aabe2601cf7705423e8724874a9" args="(Vector3 fallVect)" --><p> |
---|
| 377 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 378 | <tr> |
---|
| 379 | <td class="mdRow"> |
---|
| 380 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 381 | <tr> |
---|
| 382 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateFallVector </td> |
---|
| 383 | <td class="md" valign="top">( </td> |
---|
| 384 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 385 | <td class="mdname1" valign="top" nowrap> <em>fallVect</em> </td> |
---|
| 386 | <td class="md" valign="top"> ) </td> |
---|
| 387 | <td class="md" nowrap></td> |
---|
| 388 | </tr> |
---|
| 389 | </table> |
---|
| 390 | </td> |
---|
| 391 | </tr> |
---|
| 392 | </table> |
---|
| 393 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 394 | <tr> |
---|
| 395 | <td> |
---|
| 396 | |
---|
| 397 | </td> |
---|
| 398 | <td> |
---|
| 399 | |
---|
| 400 | <p> |
---|
| 401 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 402 | </tr> |
---|
| 403 | </table> |
---|
| 404 | <a class="anchor" name="abb13ff5aac1fa66da4473c936fc5bed"></a><!-- doxytag: member="CloseDropsParticles::updateFragmentProgramParameter" ref="abb13ff5aac1fa66da4473c936fc5bed" args="(const String &name, Ogre::Vector4 value)" --><p> |
---|
| 405 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 406 | <tr> |
---|
| 407 | <td class="mdRow"> |
---|
| 408 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 409 | <tr> |
---|
| 410 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateFragmentProgramParameter </td> |
---|
| 411 | <td class="md" valign="top">( </td> |
---|
| 412 | <td class="md" nowrap valign="top">const String & </td> |
---|
| 413 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 414 | </tr> |
---|
| 415 | <tr> |
---|
| 416 | <td class="md" nowrap align="right"></td> |
---|
| 417 | <td class="md"></td> |
---|
| 418 | <td class="md" nowrap>Ogre::Vector4 </td> |
---|
| 419 | <td class="mdname" nowrap> <em>value</em></td> |
---|
| 420 | </tr> |
---|
| 421 | <tr> |
---|
| 422 | <td class="md"></td> |
---|
| 423 | <td class="md">) </td> |
---|
| 424 | <td class="md" colspan="2"></td> |
---|
| 425 | </tr> |
---|
| 426 | </table> |
---|
| 427 | </td> |
---|
| 428 | </tr> |
---|
| 429 | </table> |
---|
| 430 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 431 | <tr> |
---|
| 432 | <td> |
---|
| 433 | |
---|
| 434 | </td> |
---|
| 435 | <td> |
---|
| 436 | |
---|
| 437 | <p> |
---|
| 438 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 439 | </tr> |
---|
| 440 | </table> |
---|
| 441 | <a class="anchor" name="e6deff9c5de199bff8c4a8b12f57609e"></a><!-- doxytag: member="CloseDropsParticles::updateFragmentProgramParameter" ref="e6deff9c5de199bff8c4a8b12f57609e" args="(const String &name, Ogre::Vector3 value)" --><p> |
---|
| 442 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 443 | <tr> |
---|
| 444 | <td class="mdRow"> |
---|
| 445 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 446 | <tr> |
---|
| 447 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateFragmentProgramParameter </td> |
---|
| 448 | <td class="md" valign="top">( </td> |
---|
| 449 | <td class="md" nowrap valign="top">const String & </td> |
---|
| 450 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 451 | </tr> |
---|
| 452 | <tr> |
---|
| 453 | <td class="md" nowrap align="right"></td> |
---|
| 454 | <td class="md"></td> |
---|
| 455 | <td class="md" nowrap>Ogre::Vector3 </td> |
---|
| 456 | <td class="mdname" nowrap> <em>value</em></td> |
---|
| 457 | </tr> |
---|
| 458 | <tr> |
---|
| 459 | <td class="md"></td> |
---|
| 460 | <td class="md">) </td> |
---|
| 461 | <td class="md" colspan="2"></td> |
---|
| 462 | </tr> |
---|
| 463 | </table> |
---|
| 464 | </td> |
---|
| 465 | </tr> |
---|
| 466 | </table> |
---|
| 467 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 468 | <tr> |
---|
| 469 | <td> |
---|
| 470 | |
---|
| 471 | </td> |
---|
| 472 | <td> |
---|
| 473 | |
---|
| 474 | <p> |
---|
| 475 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 476 | </tr> |
---|
| 477 | </table> |
---|
| 478 | <a class="anchor" name="ed530332d6ea95622da6d65d2f453a0f"></a><!-- doxytag: member="CloseDropsParticles::updateFragmentProgramParameter" ref="ed530332d6ea95622da6d65d2f453a0f" args="(const String &name, float value)" --><p> |
---|
| 479 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 480 | <tr> |
---|
| 481 | <td class="mdRow"> |
---|
| 482 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 483 | <tr> |
---|
| 484 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateFragmentProgramParameter </td> |
---|
| 485 | <td class="md" valign="top">( </td> |
---|
| 486 | <td class="md" nowrap valign="top">const String & </td> |
---|
| 487 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 488 | </tr> |
---|
| 489 | <tr> |
---|
| 490 | <td class="md" nowrap align="right"></td> |
---|
| 491 | <td class="md"></td> |
---|
| 492 | <td class="md" nowrap>float </td> |
---|
| 493 | <td class="mdname" nowrap> <em>value</em></td> |
---|
| 494 | </tr> |
---|
| 495 | <tr> |
---|
| 496 | <td class="md"></td> |
---|
| 497 | <td class="md">) </td> |
---|
| 498 | <td class="md" colspan="2"></td> |
---|
| 499 | </tr> |
---|
| 500 | </table> |
---|
| 501 | </td> |
---|
| 502 | </tr> |
---|
| 503 | </table> |
---|
| 504 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 505 | <tr> |
---|
| 506 | <td> |
---|
| 507 | |
---|
| 508 | </td> |
---|
| 509 | <td> |
---|
| 510 | |
---|
| 511 | <p> |
---|
| 512 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 513 | </tr> |
---|
| 514 | </table> |
---|
| 515 | <a class="anchor" name="91e9858663a5155b23c734703b807fd9"></a><!-- doxytag: member="CloseDropsParticles::updateLastMove" ref="91e9858663a5155b23c734703b807fd9" args="(Vector3 lastMove)" --><p> |
---|
| 516 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 517 | <tr> |
---|
| 518 | <td class="mdRow"> |
---|
| 519 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 520 | <tr> |
---|
| 521 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateLastMove </td> |
---|
| 522 | <td class="md" valign="top">( </td> |
---|
| 523 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 524 | <td class="mdname1" valign="top" nowrap> <em>lastMove</em> </td> |
---|
| 525 | <td class="md" valign="top"> ) </td> |
---|
| 526 | <td class="md" nowrap></td> |
---|
| 527 | </tr> |
---|
| 528 | </table> |
---|
| 529 | </td> |
---|
| 530 | </tr> |
---|
| 531 | </table> |
---|
| 532 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 533 | <tr> |
---|
| 534 | <td> |
---|
| 535 | |
---|
| 536 | </td> |
---|
| 537 | <td> |
---|
| 538 | |
---|
| 539 | <p> |
---|
| 540 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 541 | </tr> |
---|
| 542 | </table> |
---|
| 543 | <a class="anchor" name="b09a148f6d44e4ee87a5081c74757a98"></a><!-- doxytag: member="CloseDropsParticles::updateLightCount" ref="b09a148f6d44e4ee87a5081c74757a98" args="(float nbLights)" --><p> |
---|
| 544 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 545 | <tr> |
---|
| 546 | <td class="mdRow"> |
---|
| 547 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 548 | <tr> |
---|
| 549 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateLightCount </td> |
---|
| 550 | <td class="md" valign="top">( </td> |
---|
| 551 | <td class="md" nowrap valign="top">float </td> |
---|
| 552 | <td class="mdname1" valign="top" nowrap> <em>nbLights</em> </td> |
---|
| 553 | <td class="md" valign="top"> ) </td> |
---|
| 554 | <td class="md" nowrap></td> |
---|
| 555 | </tr> |
---|
| 556 | </table> |
---|
| 557 | </td> |
---|
| 558 | </tr> |
---|
| 559 | </table> |
---|
| 560 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 561 | <tr> |
---|
| 562 | <td> |
---|
| 563 | |
---|
| 564 | </td> |
---|
| 565 | <td> |
---|
| 566 | |
---|
| 567 | <p> |
---|
| 568 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 569 | </tr> |
---|
| 570 | </table> |
---|
| 571 | <a class="anchor" name="d2686c928601912243528dbf93f122e3"></a><!-- doxytag: member="CloseDropsParticles::updateLights" ref="d2686c928601912243528dbf93f122e3" args="()" --><p> |
---|
| 572 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 573 | <tr> |
---|
| 574 | <td class="mdRow"> |
---|
| 575 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 576 | <tr> |
---|
| 577 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateLights </td> |
---|
| 578 | <td class="md" valign="top">( </td> |
---|
| 579 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 580 | <td class="md" valign="top"> ) </td> |
---|
| 581 | <td class="md" nowrap></td> |
---|
| 582 | </tr> |
---|
| 583 | </table> |
---|
| 584 | </td> |
---|
| 585 | </tr> |
---|
| 586 | </table> |
---|
| 587 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 588 | <tr> |
---|
| 589 | <td> |
---|
| 590 | |
---|
| 591 | </td> |
---|
| 592 | <td> |
---|
| 593 | |
---|
| 594 | <p> |
---|
| 595 | function which updates the lights, if they are animated </td> |
---|
| 596 | </tr> |
---|
| 597 | </table> |
---|
| 598 | <a class="anchor" name="e7e63a1a54ec6368046e377ef02ed622"></a><!-- doxytag: member="CloseDropsParticles::updatePositionTexture" ref="e7e63a1a54ec6368046e377ef02ed622" args="(bool primary)" --><p> |
---|
| 599 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 600 | <tr> |
---|
| 601 | <td class="mdRow"> |
---|
| 602 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 603 | <tr> |
---|
| 604 | <td class="md" nowrap valign="top">void CloseDropsParticles::updatePositionTexture </td> |
---|
| 605 | <td class="md" valign="top">( </td> |
---|
| 606 | <td class="md" nowrap valign="top">bool </td> |
---|
| 607 | <td class="mdname1" valign="top" nowrap> <em>primary</em> </td> |
---|
| 608 | <td class="md" valign="top"> ) </td> |
---|
| 609 | <td class="md" nowrap></td> |
---|
| 610 | </tr> |
---|
| 611 | </table> |
---|
| 612 | </td> |
---|
| 613 | </tr> |
---|
| 614 | </table> |
---|
| 615 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 616 | <tr> |
---|
| 617 | <td> |
---|
| 618 | |
---|
| 619 | </td> |
---|
| 620 | <td> |
---|
| 621 | |
---|
| 622 | <p> |
---|
| 623 | function to update one of the two position RTT's ; if set to true, the primary texture will be updated </td> |
---|
| 624 | </tr> |
---|
| 625 | </table> |
---|
| 626 | <a class="anchor" name="f9de759fa82c8ec7042200d2370e74d6"></a><!-- doxytag: member="CloseDropsParticles::updateRainBilboardSideLength" ref="f9de759fa82c8ec7042200d2370e74d6" args="(float rainBbSide)" --><p> |
---|
| 627 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 628 | <tr> |
---|
| 629 | <td class="mdRow"> |
---|
| 630 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 631 | <tr> |
---|
| 632 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateRainBilboardSideLength </td> |
---|
| 633 | <td class="md" valign="top">( </td> |
---|
| 634 | <td class="md" nowrap valign="top">float </td> |
---|
| 635 | <td class="mdname1" valign="top" nowrap> <em>rainBbSide</em> </td> |
---|
| 636 | <td class="md" valign="top"> ) </td> |
---|
| 637 | <td class="md" nowrap></td> |
---|
| 638 | </tr> |
---|
| 639 | </table> |
---|
| 640 | </td> |
---|
| 641 | </tr> |
---|
| 642 | </table> |
---|
| 643 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 644 | <tr> |
---|
| 645 | <td> |
---|
| 646 | |
---|
| 647 | </td> |
---|
| 648 | <td> |
---|
| 649 | |
---|
| 650 | <p> |
---|
| 651 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 652 | </tr> |
---|
| 653 | </table> |
---|
| 654 | <a class="anchor" name="c6ecb49d550648cf42ca847088ba7f84"></a><!-- doxytag: member="CloseDropsParticles::updateRandomMove" ref="c6ecb49d550648cf42ca847088ba7f84" args="(Vector3 randomMove)" --><p> |
---|
| 655 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 656 | <tr> |
---|
| 657 | <td class="mdRow"> |
---|
| 658 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 659 | <tr> |
---|
| 660 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateRandomMove </td> |
---|
| 661 | <td class="md" valign="top">( </td> |
---|
| 662 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 663 | <td class="mdname1" valign="top" nowrap> <em>randomMove</em> </td> |
---|
| 664 | <td class="md" valign="top"> ) </td> |
---|
| 665 | <td class="md" nowrap></td> |
---|
| 666 | </tr> |
---|
| 667 | </table> |
---|
| 668 | </td> |
---|
| 669 | </tr> |
---|
| 670 | </table> |
---|
| 671 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 672 | <tr> |
---|
| 673 | <td> |
---|
| 674 | |
---|
| 675 | </td> |
---|
| 676 | <td> |
---|
| 677 | |
---|
| 678 | <p> |
---|
| 679 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 680 | </tr> |
---|
| 681 | </table> |
---|
| 682 | <a class="anchor" name="382d373910aeeca4da9c4c2c21d3c474"></a><!-- doxytag: member="CloseDropsParticles::updateShaderParameters" ref="382d373910aeeca4da9c4c2c21d3c474" args="(float tslf, float rainBbSide, float streaksHeight, int nbLights, Vector3 viewPos, Vector3 viewDir, Vector3 fallVect, Vector3 boxMin, Vector3 boxMax, Vector3 lastMove, Vector3 randomMove, int useShader)" --><p> |
---|
| 683 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 684 | <tr> |
---|
| 685 | <td class="mdRow"> |
---|
| 686 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 687 | <tr> |
---|
| 688 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateShaderParameters </td> |
---|
| 689 | <td class="md" valign="top">( </td> |
---|
| 690 | <td class="md" nowrap valign="top">float </td> |
---|
| 691 | <td class="mdname" nowrap> <em>tslf</em>, </td> |
---|
| 692 | </tr> |
---|
| 693 | <tr> |
---|
| 694 | <td class="md" nowrap align="right"></td> |
---|
| 695 | <td class="md"></td> |
---|
| 696 | <td class="md" nowrap>float </td> |
---|
| 697 | <td class="mdname" nowrap> <em>rainBbSide</em>, </td> |
---|
| 698 | </tr> |
---|
| 699 | <tr> |
---|
| 700 | <td class="md" nowrap align="right"></td> |
---|
| 701 | <td class="md"></td> |
---|
| 702 | <td class="md" nowrap>float </td> |
---|
| 703 | <td class="mdname" nowrap> <em>streaksHeight</em>, </td> |
---|
| 704 | </tr> |
---|
| 705 | <tr> |
---|
| 706 | <td class="md" nowrap align="right"></td> |
---|
| 707 | <td class="md"></td> |
---|
| 708 | <td class="md" nowrap>int </td> |
---|
| 709 | <td class="mdname" nowrap> <em>nbLights</em>, </td> |
---|
| 710 | </tr> |
---|
| 711 | <tr> |
---|
| 712 | <td class="md" nowrap align="right"></td> |
---|
| 713 | <td class="md"></td> |
---|
| 714 | <td class="md" nowrap>Vector3 </td> |
---|
| 715 | <td class="mdname" nowrap> <em>viewPos</em>, </td> |
---|
| 716 | </tr> |
---|
| 717 | <tr> |
---|
| 718 | <td class="md" nowrap align="right"></td> |
---|
| 719 | <td class="md"></td> |
---|
| 720 | <td class="md" nowrap>Vector3 </td> |
---|
| 721 | <td class="mdname" nowrap> <em>viewDir</em>, </td> |
---|
| 722 | </tr> |
---|
| 723 | <tr> |
---|
| 724 | <td class="md" nowrap align="right"></td> |
---|
| 725 | <td class="md"></td> |
---|
| 726 | <td class="md" nowrap>Vector3 </td> |
---|
| 727 | <td class="mdname" nowrap> <em>fallVect</em>, </td> |
---|
| 728 | </tr> |
---|
| 729 | <tr> |
---|
| 730 | <td class="md" nowrap align="right"></td> |
---|
| 731 | <td class="md"></td> |
---|
| 732 | <td class="md" nowrap>Vector3 </td> |
---|
| 733 | <td class="mdname" nowrap> <em>boxMin</em>, </td> |
---|
| 734 | </tr> |
---|
| 735 | <tr> |
---|
| 736 | <td class="md" nowrap align="right"></td> |
---|
| 737 | <td class="md"></td> |
---|
| 738 | <td class="md" nowrap>Vector3 </td> |
---|
| 739 | <td class="mdname" nowrap> <em>boxMax</em>, </td> |
---|
| 740 | </tr> |
---|
| 741 | <tr> |
---|
| 742 | <td class="md" nowrap align="right"></td> |
---|
| 743 | <td class="md"></td> |
---|
| 744 | <td class="md" nowrap>Vector3 </td> |
---|
| 745 | <td class="mdname" nowrap> <em>lastMove</em>, </td> |
---|
| 746 | </tr> |
---|
| 747 | <tr> |
---|
| 748 | <td class="md" nowrap align="right"></td> |
---|
| 749 | <td class="md"></td> |
---|
| 750 | <td class="md" nowrap>Vector3 </td> |
---|
| 751 | <td class="mdname" nowrap> <em>randomMove</em>, </td> |
---|
| 752 | </tr> |
---|
| 753 | <tr> |
---|
| 754 | <td class="md" nowrap align="right"></td> |
---|
| 755 | <td class="md"></td> |
---|
| 756 | <td class="md" nowrap>int </td> |
---|
| 757 | <td class="mdname" nowrap> <em>useShader</em></td> |
---|
| 758 | </tr> |
---|
| 759 | <tr> |
---|
| 760 | <td class="md"></td> |
---|
| 761 | <td class="md">) </td> |
---|
| 762 | <td class="md" colspan="2"></td> |
---|
| 763 | </tr> |
---|
| 764 | </table> |
---|
| 765 | </td> |
---|
| 766 | </tr> |
---|
| 767 | </table> |
---|
| 768 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 769 | <tr> |
---|
| 770 | <td> |
---|
| 771 | |
---|
| 772 | </td> |
---|
| 773 | <td> |
---|
| 774 | |
---|
| 775 | <p> |
---|
| 776 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 777 | </tr> |
---|
| 778 | </table> |
---|
| 779 | <a class="anchor" name="c12db346d5dcb629eece45cf16827718"></a><!-- doxytag: member="CloseDropsParticles::updateStreaksHeight" ref="c12db346d5dcb629eece45cf16827718" args="(float streaksHeight)" --><p> |
---|
| 780 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 781 | <tr> |
---|
| 782 | <td class="mdRow"> |
---|
| 783 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 784 | <tr> |
---|
| 785 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateStreaksHeight </td> |
---|
| 786 | <td class="md" valign="top">( </td> |
---|
| 787 | <td class="md" nowrap valign="top">float </td> |
---|
| 788 | <td class="mdname1" valign="top" nowrap> <em>streaksHeight</em> </td> |
---|
| 789 | <td class="md" valign="top"> ) </td> |
---|
| 790 | <td class="md" nowrap></td> |
---|
| 791 | </tr> |
---|
| 792 | </table> |
---|
| 793 | </td> |
---|
| 794 | </tr> |
---|
| 795 | </table> |
---|
| 796 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 797 | <tr> |
---|
| 798 | <td> |
---|
| 799 | |
---|
| 800 | </td> |
---|
| 801 | <td> |
---|
| 802 | |
---|
| 803 | <p> |
---|
| 804 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 805 | </tr> |
---|
| 806 | </table> |
---|
| 807 | <a class="anchor" name="faf0938f86626973a5f787a339d68e39"></a><!-- doxytag: member="CloseDropsParticles::updateTimeSinceLastFrame" ref="faf0938f86626973a5f787a339d68e39" args="(float tslf)" --><p> |
---|
| 808 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 809 | <tr> |
---|
| 810 | <td class="mdRow"> |
---|
| 811 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 812 | <tr> |
---|
| 813 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateTimeSinceLastFrame </td> |
---|
| 814 | <td class="md" valign="top">( </td> |
---|
| 815 | <td class="md" nowrap valign="top">float </td> |
---|
| 816 | <td class="mdname1" valign="top" nowrap> <em>tslf</em> </td> |
---|
| 817 | <td class="md" valign="top"> ) </td> |
---|
| 818 | <td class="md" nowrap></td> |
---|
| 819 | </tr> |
---|
| 820 | </table> |
---|
| 821 | </td> |
---|
| 822 | </tr> |
---|
| 823 | </table> |
---|
| 824 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 825 | <tr> |
---|
| 826 | <td> |
---|
| 827 | |
---|
| 828 | </td> |
---|
| 829 | <td> |
---|
| 830 | |
---|
| 831 | <p> |
---|
| 832 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 833 | </tr> |
---|
| 834 | </table> |
---|
| 835 | <a class="anchor" name="f1b8b1a995996677bd75584ef85b1596"></a><!-- doxytag: member="CloseDropsParticles::updateViewDir" ref="f1b8b1a995996677bd75584ef85b1596" args="(Vector3 viewDir)" --><p> |
---|
| 836 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 837 | <tr> |
---|
| 838 | <td class="mdRow"> |
---|
| 839 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 840 | <tr> |
---|
| 841 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateViewDir </td> |
---|
| 842 | <td class="md" valign="top">( </td> |
---|
| 843 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 844 | <td class="mdname1" valign="top" nowrap> <em>viewDir</em> </td> |
---|
| 845 | <td class="md" valign="top"> ) </td> |
---|
| 846 | <td class="md" nowrap></td> |
---|
| 847 | </tr> |
---|
| 848 | </table> |
---|
| 849 | </td> |
---|
| 850 | </tr> |
---|
| 851 | </table> |
---|
| 852 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 853 | <tr> |
---|
| 854 | <td> |
---|
| 855 | |
---|
| 856 | </td> |
---|
| 857 | <td> |
---|
| 858 | |
---|
| 859 | <p> |
---|
| 860 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 861 | </tr> |
---|
| 862 | </table> |
---|
| 863 | <a class="anchor" name="2925efdc8a09636534a780a34e8bffdf"></a><!-- doxytag: member="CloseDropsParticles::updateViewPos" ref="2925efdc8a09636534a780a34e8bffdf" args="(Vector3 viewPos)" --><p> |
---|
| 864 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 865 | <tr> |
---|
| 866 | <td class="mdRow"> |
---|
| 867 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 868 | <tr> |
---|
| 869 | <td class="md" nowrap valign="top">void CloseDropsParticles::updateViewPos </td> |
---|
| 870 | <td class="md" valign="top">( </td> |
---|
| 871 | <td class="md" nowrap valign="top">Vector3 </td> |
---|
| 872 | <td class="mdname1" valign="top" nowrap> <em>viewPos</em> </td> |
---|
| 873 | <td class="md" valign="top"> ) </td> |
---|
| 874 | <td class="md" nowrap></td> |
---|
| 875 | </tr> |
---|
| 876 | </table> |
---|
| 877 | </td> |
---|
| 878 | </tr> |
---|
| 879 | </table> |
---|
| 880 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 881 | <tr> |
---|
| 882 | <td> |
---|
| 883 | |
---|
| 884 | </td> |
---|
| 885 | <td> |
---|
| 886 | |
---|
| 887 | <p> |
---|
| 888 | function to update the different shader parameters used to update the particles positions, or render them </td> |
---|
| 889 | </tr> |
---|
| 890 | </table> |
---|
| 891 | <hr><h2>Member Data Documentation</h2> |
---|
| 892 | <a class="anchor" name="9812ff8eb6059ecc22d1a659a3581262"></a><!-- doxytag: member="CloseDropsParticles::mRainStreaksHeight" ref="9812ff8eb6059ecc22d1a659a3581262" args="" --><p> |
---|
| 893 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 894 | <tr> |
---|
| 895 | <td class="mdRow"> |
---|
| 896 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 897 | <tr> |
---|
| 898 | <td class="md" nowrap valign="top">float <a class="el" href="classCloseDropsParticles.html#9812ff8eb6059ecc22d1a659a3581262">CloseDropsParticles::mRainStreaksHeight</a> </td> |
---|
| 899 | </tr> |
---|
| 900 | </table> |
---|
| 901 | </td> |
---|
| 902 | </tr> |
---|
| 903 | </table> |
---|
| 904 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 905 | <tr> |
---|
| 906 | <td> |
---|
| 907 | |
---|
| 908 | </td> |
---|
| 909 | <td> |
---|
| 910 | |
---|
| 911 | <p> |
---|
| 912 | public variable : wheight of the particles (for streaks) </td> |
---|
| 913 | </tr> |
---|
| 914 | </table> |
---|
| 915 | <a class="anchor" name="1e01a41391f939b3f4e1f2b140f9f192"></a><!-- doxytag: member="CloseDropsParticles::mRainWidth" ref="1e01a41391f939b3f4e1f2b140f9f192" args="" --><p> |
---|
| 916 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 917 | <tr> |
---|
| 918 | <td class="mdRow"> |
---|
| 919 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 920 | <tr> |
---|
| 921 | <td class="md" nowrap valign="top">float <a class="el" href="classCloseDropsParticles.html#1e01a41391f939b3f4e1f2b140f9f192">CloseDropsParticles::mRainWidth</a> </td> |
---|
| 922 | </tr> |
---|
| 923 | </table> |
---|
| 924 | </td> |
---|
| 925 | </tr> |
---|
| 926 | </table> |
---|
| 927 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 928 | <tr> |
---|
| 929 | <td> |
---|
| 930 | |
---|
| 931 | </td> |
---|
| 932 | <td> |
---|
| 933 | |
---|
| 934 | <p> |
---|
| 935 | public variable : width of the particles </td> |
---|
| 936 | </tr> |
---|
| 937 | </table> |
---|
| 938 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 939 | <li><a class="el" href="RainCloseDropsParticles_8h-source.html">RainCloseDropsParticles.h</a><li>RainCloseDropsParticles.cpp</ul> |
---|
| 940 | <hr size="1"><address style="align: right;"><small>Generated on Wed May 17 16:55:30 2006 for gametools-rain by |
---|
| 941 | <a href="http://www.doxygen.org/index.html"> |
---|
| 942 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address> |
---|
| 943 | </body> |
---|
| 944 | </html> |
---|