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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::snd::SoundArchive::Sound3DInfo</title> 51 </head> 52 <body> 53 <h1>nw::snd::SoundArchive::Sound3DInfo Structure</h1> 54 <div class="section"> 55 <b>Header file: </b>nw/snd/snd_SoundArchive.h</div> 56 <h2>Syntax</h2> 57 <div class="section"> 58 <pre class="definition">struct Sound3DInfo 59{ 60 <span>u32</span> flags; 61 <span>f32</span> decayRatio; 62 <span>u8</span> decayCurve; 63 <span>u8</span> dopplerFactor; 64}; 65</pre> 66 </div> 67 <h2>Description</h2> 68 <div class="section"> 69 <p>Structure storing a sound's 3D sound setting information.</p> 70 </div> 71 <a name="enum" id="enum"> 72 <h2>Enumerated Types</h2> 73 <div class="section"> 74 <table class="members"> 75 <tr> 76 <td width="100"> </td> 77 <th> 78 <a href="../../../../nw/snd/SoundArchive/Sound3DInfo/DecayCurve.html">DecayCurve</a> 79 </th> 80 <td>Enum indicating the shape of the 3D decay curve.</td> 81 </tr> </table> 82 </div> 83 </a> <a name="constant" id="constant"> 84 <h2>Member Constants</h2> 85 <div class="section"> 86 <table class="members"> 87 <tr> 88 <td width="100"> 89 <span class="static_style" title="static">S</span> 90 </td> 91 <th> 92 <span class="argument"><a href="../../../../nw/snd/SoundArchive/Sound3DInfo/FLAG_CTRL_VOLUME.html">FLAG_CTRL_VOLUME</a></span> 93 </th> 94 <td>Flag indicating that volume calculations are being made for 3D sound.</td> 95 </tr> 96 <tr> 97 <td width="100"> 98 <span class="static_style" title="static">S</span> 99 </td> 100 <th> 101 <span class="argument"><a href="../../../../nw/snd/SoundArchive/Sound3DInfo/FLAG_CTRL_PRIORITY.html">FLAG_CTRL_PRIORITY</a></span> 102 </th> 103 <td>Flag indicating that priority calculations are being made for 3D sound.</td> 104 </tr> 105 <tr> 106 <td width="100"> 107 <span class="static_style" title="static">S</span> 108 </td> 109 <th> 110 <span class="argument"><a href="../../../../nw/snd/SoundArchive/Sound3DInfo/FLAG_CTRL_PAN.html">FLAG_CTRL_PAN</a></span> 111 </th> 112 <td>Flag indicating that pan calculations are being made for 3D sound.</td> 113 </tr> </table> 114 </div> 115 </a> <a name="variable" id="variable"> 116 <h2>Member Variables</h2> 117 <div class="section"> 118 <table class="members"> 119 <tr> 120 <td width="100"> </td> 121 <th> 122 <span class="argument">flags</span> 123 </th> 124 <td>Bit flags representing parameters to be processed during 3D calculations. Flags are represented using the logical sum of FLAG_***.</td> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129 <span class="argument">decayRatio</span> 130 </th> 131 <td>The 3D attenuation ratio.</td> 132 </tr> 133 <tr> 134 <td width="100"> </td> 135 <th> 136 <span class="argument">decayCurve</span> 137 </th> 138 <td>The shape of a 3D attenuation curve. Stored <a href="../../../../nw/snd/SoundArchive/Sound3DInfo/DecayCurve.html">DecayCurve</a>.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <span class="argument">dopplerFactor</span> 144 </th> 145 <td>The 3D Doppler factor.</td> 146 </tr> </table> 147 </div> 148 </a> 149 <h2>See Also</h2> 150 <div class="section"> 151 <p class="reference"><a href="../../../../nw/snd/SoundArchive/ReadSound3DInfo.html"><CODE>ReadSound3DInfo</CODE></a><br /> </p> 152 </div> 153 <h2>Revision History</h2> 154 <div class="section"> 155 <dl class="history"> 156 <dt>2010/03/05</dt> 157 <dd>Initial version.<br /> 158 </dd> 159 </dl> 160 </div> 161 <hr><p>CONFIDENTIAL</p></body> 162</html>