SQCSimulator2023/SQCSim2021/external/irrKlang-64bit-1.6.0/doc/dotnet/IrrKlang.ISoundEngine.SetRolloffFactor.html

61 lines
2.6 KiB
HTML
Raw Normal View History

<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>ISoundEngine.SetRolloffFactor Method</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">ISoundEngine.SetRolloffFactor<6F>Method<6F></h1>
</div>
</div>
<div id="nstext">
<p> Sets the roll off factor for 3d sounds. </p>
<div class="syntax">
<span class="lang">[Visual<61>Basic]</span>
<br />Public<EFBFBD>Sub<EFBFBD>SetRolloffFactor( _<br /><EFBFBD><EFBFBD><EFBFBD>ByVal <i>rolloffFactor</i><EFBFBD>As<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">Single</a><EFBFBD>_<br />)</div>
<div class="syntax">
<span class="lang">[C#]</span>
<br />public<EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a><EFBFBD>SetRolloffFactor(<br /><EFBFBD><EFBFBD><EFBFBD><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemSingleClassTopic.htm">float</a><EFBFBD><i>rolloffFactor</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>rolloffFactor</i>
</dt>
<dd>The rolloff factor can range from 0.0 to 10.0, where 0 is no rolloff. 1.0 is the default rolloff factor set, the value which we also experience in the real world. A value of 2 would mean twice the real-world rolloff.</dd>
</dl>
<h4 class="dtH4">See Also</h4>
<p>
<a href="IrrKlang.ISoundEngine.html">ISoundEngine 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="SetRolloffFactor method">
</param>
<param name="Keyword" value="SetRolloffFactor method, ISoundEngine class">
</param>
<param name="Keyword" value="ISoundEngine.SetRolloffFactor method">
</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>