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
  • C#
  • VB
  • F#
public void Apply3D(
	AudioListener listener, 
	AudioEmitter emitter

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


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

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop