Buffer3D.Position Property

Language:

Retrieves or sets the position of the sound source.

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
A Vector3 object that specifies the coordinates of the sound source in 3-D space.

This property is read/write. 

Remarks

The default unit of measurement is meters, but this can be changed by using the Listener3D.DistanceFactor property.

Exceptions
ArgumentException Leave Site An invalid parameter was passed to the called method.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center