Share via


AudioEmitter.Position Property

Gets or sets the position of this emitter.

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

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

Platforms

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