document Apply3D

pull/50/head
cosmonaut 2023-08-02 18:36:00 -07:00
parent 8d5ac8e17b
commit cb153cff3a
1 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,11 @@ namespace MoonWorks.Audio
Submit(buffer.ToFAudioBuffer()); Submit(buffer.ToFAudioBuffer());
} }
/// <summary>
/// Calculates positional sound. This must be called continuously to update positional sound.
/// </summary>
/// <param name="listener"></param>
/// <param name="emitter"></param>
public unsafe void Apply3D(AudioListener listener, AudioEmitter emitter) public unsafe void Apply3D(AudioListener listener, AudioEmitter emitter)
{ {
Is3D = true; Is3D = true;