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

Tasks

Applying a 3D Positional Effect to a Sound
Applying a 3D Positional Effect to a Cue (XACT)

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone