56 lines
2.6 KiB
HTML
56 lines
2.6 KiB
HTML
|
<html dir="LTR">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
|
|||
|
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
|
|||
|
<title>MaxDistance Property</title>
|
|||
|
<xml>
|
|||
|
</xml>
|
|||
|
<link rel="stylesheet" type="text/css" href="MSDN.css" />
|
|||
|
</head>
|
|||
|
<body id="bodyID" class="dtBODY">
|
|||
|
<div id="nsbanner">
|
|||
|
<div id="bannerrow1">
|
|||
|
<table class="bannerparthead" cellspacing="0">
|
|||
|
<tr id="hdr">
|
|||
|
<td class="runninghead">IrrKlang.NET</td>
|
|||
|
<td class="product">
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<div id="TitleRow">
|
|||
|
<h1 class="dtH1">ISound.MaxDistance Property</h1>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div id="nstext">
|
|||
|
<p> Sets the maximal distance if this is a 3D sound. Specify the distances at which 3D sounds stop getting louder or quieter. This works like this: As a listener approaches a 3D sound source, the sound gets louder. Past a certain point, it is not reasonable for the volume to continue to increase. Either the maximum (zero) has been reached, or the nature of the sound source imposes a logical limit. This is the minimum distance for the sound source. Similarly, the maximum distance for a sound source is the distance beyond which the sound does not get any quieter. The default minimum distance is 1, the default max distance is a huge number nearly to infinite. </p>
|
|||
|
<div class="syntax">
|
|||
|
<span class="lang">[Visual<61>Basic]</span>
|
|||
|
<br />Public<EFBFBD>Property<EFBFBD>MaxDistance<EFBFBD>As<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a></div>
|
|||
|
<div class="syntax">
|
|||
|
<span class="lang">[C#]</span>
|
|||
|
<br />public<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a><EFBFBD>MaxDistance<EFBFBD>{get;<3B>set;}</div>
|
|||
|
<p>
|
|||
|
</p>
|
|||
|
<h4 class="dtH4">See Also</h4>
|
|||
|
<p>
|
|||
|
<a href="IrrKlang.ISound.html">ISound Class</a> | <a href="IrrKlang.html">IrrKlang Namespace</a></p>
|
|||
|
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
|
|||
|
<param name="Keyword" value="MaxDistance property">
|
|||
|
</param>
|
|||
|
<param name="Keyword" value="MaxDistance property, ISound class">
|
|||
|
</param>
|
|||
|
<param name="Keyword" value="ISound.MaxDistance property">
|
|||
|
</param>
|
|||
|
</object>
|
|||
|
<hr />
|
|||
|
<div id="footer">
|
|||
|
<p>
|
|||
|
<a>The irrKlang Sound Engine Documentation <20> 2003-2010 by Nikolaus Gebhardt.</a>
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|