Defined in:Sets the listener's 3D velocity.
void SetListenerVelocity(const Vector3D& velocity);
||The listener's velocity in units of meters per second.|
SetListenerVelocityfunction sets the listener's 3D velocity in world space coordinates to the vector given by the
velocityparameter. The listener's velocity is subtracted from the velocity of each sound when the doppler effect is calculated. The listener's velocity is measured in units of meters per second and is initially set to the zero vector.