AudioListener.Position Property

Gets or sets the position of this listener.

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

public Vector3 Position { get; set; }

Property Value

The position vector.

By default, the value of this property is Vector3.Zero.

The relative positions of an AudioEmitter and an AudioListener are used to determine speaker positioning of a sound.

Xbox 360, Windows XP SP2, Windows Vista