Share via


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)

Syntax

public Vector3 Position { get; set; }

Property Value

The position vector.

Remarks

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.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista