зеркало из https://github.com/microsoft/DirectXTK.git
Updated AudioEmitter (markdown)
Родитель
eebbfa9b72
Коммит
50f2ee2c80
|
@ -101,7 +101,6 @@ Be aware that ``pCone`` is ignored for multi-channel emitters.
|
|||
# Custom distance curves
|
||||
The AudioEmitter constructor sets pVolumeCurve, pLFECurve, pLPFDirectCurve, pLPFReverbCurve, and pReverbCurve to nullptr which uses X3DAudio default curves. Any custom curve definitions must have a pointer to valid memory at the time Apply3D is called.
|
||||
|
||||
If ``pVolumeCurve`` or ``pLFECurve`` is nullptr, X3DAudio uses a 'square of the distance' curve. The curve set by **EnableDefaultCurves** is a linear curve.
|
||||
|
||||
# Example
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче