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><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/snd/Overview.html">snd</a>::<a href="../../../../nw/snd/SoundArchive/Overview.html">SoundArchive</a>::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> 82 <tr> 83 <td width="100"> </td> 84 <th> 85 <a href="../../../../nw/snd/SoundArchive/Sound3DInfo/FlagCtrl.html">FlagCtrl</a> 86 </th> 87 <td>These flags indicate whether each parameter associated with 3D sound should be calculated.</td> 88 </tr> </table> 89 </div> 90 </a> <a name="variable" id="variable"> 91 <h2>Member Variables</h2> 92 <div class="section"> 93 <table class="members"> 94 <tr> 95 <td width="100"> </td> 96 <th> 97 <span class="argument">flags</span> 98 </th> 99 <td width="100"><span>u32</span></td> 100 <td>Bit flags representing parameters to be processed during 3D calculations. Flags are represented using the logical sum of FLAG_CTRL_***.</td> 101 </tr> 102 <tr> 103 <td width="100"> </td> 104 <th> 105 <span class="argument">decayRatio</span> 106 </th> 107 <td width="100"><span>f32</span></td> 108 <td>The 3D attenuation ratio.</td> 109 </tr> 110 <tr> 111 <td width="100"> </td> 112 <th> 113 <span class="argument">decayCurve</span> 114 </th> 115 <td width="100"><span>u8</span></td> 116 <td>The shape of a 3D attenuation curve. Stored <a href="../../../../nw/snd/SoundArchive/Sound3DInfo/DecayCurve.html">DecayCurve</a>.</td> 117 </tr> 118 <tr> 119 <td width="100"> </td> 120 <th> 121 <span class="argument">dopplerFactor</span> 122 </th> 123 <td width="100"><span>u8</span></td> 124 <td>The 3D Doppler factor.</td> 125 </tr> </table> 126 </div> 127 </a> 128 <h2>See Also</h2> 129 <div class="section"> 130 <p class="reference"><a href="../../../../nw/snd/SoundArchive/ReadSound3DInfo.html"><CODE>ReadSound3DInfo</CODE></a><br /> </p> 131 </div> 132 <h2>Revision History</h2> 133 <div class="section"> 134 <dl class="history"> 135 <dt>2010/11/30</dt> 136 <dd>Changed the type of FLAG_CTRL_*** from static constant u32 to enum.<BR> 137 </dd> 138 <dt>2010/03/05</dt> 139 <dd>Initial version.<br /> 140 </dd> 141 </dl> 142 </div> 143 <hr><p>CONFIDENTIAL</p></body> 144</html>