SoundEffectInstance.Apply3D Method (Microsoft.Xna.Framework.Audio)

Applies 3D positioning to the SoundEffectInstance using a single listener.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void Apply3D(
	AudioListener listener, 
	AudioEmitter emitter
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

listener
Type: Microsoft.Xna.Framework.Audio.AudioListener
Data about the listener.
emitter
Type: Microsoft.Xna.Framework.Audio.AudioEmitter
Data about the source of emission.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web