1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>CalcVolumeAndPriority</title> 8 </head> 9 <body> 10 <h1>nw::snd::Sound3DCalculator::CalcVolumeAndPriority Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nw/snd/snd_Sound3DCalculator.h> 14 15static void CalcVolumeAndPriority( 16 const <a href="../../../nw/snd/Sound3DManager/Overview.html">Sound3DManager</a> & manager, 17 const <a href="../../../nw/snd/Sound3DListener/Overview.html">Sound3DListener</a> & listener, 18 const <a href="../../../nw/snd/Sound3DParam/Overview.html">Sound3DParam</a> & actorParam, 19 <span>f32</span> * volumePtr, 20 int* priorityPtr 21); 22</pre> 23 </div> 24 <h2>Arguments</h2> 25 <div class="section"> 26 <table class="arguments"> 27 <thead> 28 <tr> 29 <td width="15" /> 30 <th>Name</th> 31 <td>Description</td> 32 </tr> 33 </thead> 34 <tr> 35 <td>in</td> 36 <th>manager</th> 37 <td>3D sound manager used in the calculation.</td> 38 </tr> 39 <tr> 40 <td>in</td> 41 <th>listener</th> 42 <td>3D sound listener used in the calculation.</td> 43 </tr> 44 <tr> 45 <td>in</td> 46 <th>actorParam</th> 47 <td>3D sound parameter used in the calculation.</td> 48 </tr> 49 <tr> 50 <td>out</td> 51 <th>volumePtr</th> 52 <td>Pointer that stores the result of the volume calculation.</td> 53 </tr> 54 <tr> 55 <td>out</td> 56 <th>priorityPtr</th> 57 <td>Pointer that stores the result of the priority calculation.</td> 58 </tr> </table> 59 </div> 60 <h2>Return Values</h2> 61 <div class="section"> 62 None. 63 </div> 64 <h2>Description</h2> 65 <div class="section"> 66 <p>Performs standard 3D sound parameter calculations for volume and priority.</p><p>Volume and priority are calculated together by this function because they are connected to each other for 3D sounds.</p></div> 67 <h2>See Also</h2> 68 <div class="section"> 69 <p class="reference"><a href="../../../nw/snd/Sound3DManager/Overview.html">Sound3DManager</a> Class<br /><a href="../../../nw/snd/Sound3DListener/Overview.html">Sound3DListener</a> Class<br /><a href="../../../nw/snd/Sound3DParam/Overview.html">Sound3DParam</a> Structure<br /> </p> 70 </div> 71 <h2>Revision History</h2> 72 <div class="section"> 73 <dl class="history"> 74 <dt>2010/03/12</dt> 75 <dd>Initial version.<br /> 76 </dd> 77 </dl> 78 </div> 79 <hr><p>CONFIDENTIAL</p></body> 80</html>