SoundEffectInstance.Apply3D Method (AudioListener, AudioEmitter)

Applys 3D positioning to the sound using a single listener.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public void Apply3D (
         AudioListener listener,
         AudioEmitter emitter
)

Parameters

  • listener
    Position of the listener.
  • emitter
    Position of the emitter.

See Also

Reference

SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune