Listener3DSettings.Velocity Property (Microsoft.DirectX.DirectSound)
Retrieves and sets the listener's velocity.
Definition
Visual Basic Public Property Velocity As Vector3 C# public Vector3 Velocity { get; set; } C++ public:
property Vector3 Velocity {
Vector3 get();
void set(Vector3 value);
}JScript public function get Velocity() : Vector3
public function set Velocity(Vector3);
Property Value
Microsoft.DirectX.Vector3
The listener's velocity.This property is read/write.
Remarks
Velocity is used only for Doppler effects. It does not actually move the listener. To change the listener's position, use the Listener3DSettings.Position property. The default velocity is (0,0,0).
By default, measurement units are meters per second, but this can be changed by changing the Listener3DSettings.DistanceFactor property.