Listener3D.Position Property (Microsoft.DirectX.DirectSound)

Retrieves or sets the listener's position.

Definition

Visual Basic Public Property Position As Vector3
C# public Vector3 Position { get; set; }
C++ public:
property Vector3 Position {
        Vector3 get();
        void set(Vector3 value);
}
JScript public function get Position() : Vector3
public function set Position(Vector3);

Property Value

Microsoft.DirectX.Vector3
The listener's position.

This property is read/write. 

Remarks

By default, measurement units are in meters. This can be changed using the Listener3D.DistanceFactor property.

Exceptions

ArgumentExceptionLeave Site

An invalid parameter was passed to the called method.