Updated AudioEmitter (markdown)

Chuck Walbourn 2023-09-21 13:41:27 -07:00
Родитель 54111664ff
Коммит 548e8f5e28
1 изменённых файлов: 1 добавлений и 1 удалений

@ -51,7 +51,7 @@ In addition to setting the members of ``X3DAUDIO_EMITTER`` directly, these helpe
* **EnableLinearCurves** sets linear distance attenuation for the volume, LFE, LPF, and reverb curves. This is equivalent to using ``X3DAudioDefault_LinearCurve``.
* **EnableInverseSquareCurves** sets the volume, LFE, LPF, and reverb curves to an inverse square fall-off with distance. This is the behavior for ``X3DAUDIO_EMITTER`` if you pass *nullptr* for these curves.
* **EnableInverseSquareCurves** sets the volume, LFE, LPF, and reverb curves to an inverse square fall-off with distance. This is the behavior for ``X3DAUDIO_EMITTER`` if you pass *nullptr* for these curves. Note: This is the state the default ctor already sets.
 
> You must use a distinct instance of ``AudioEmitter`` for each active 3D sound if using the **Update** method. Otherwise, if you reuse the emitter instance for multiple sounds you need to explicitly initialize both the position and velocity before each ``Apply3D`` call.