Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the listener's velocity.
object.GetVelocity() As D3DVECTOR
Returns a D3DVECTOR type containing the listener's velocity.
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
The default velocity is (0,0,0).
Velocity is used only for Doppler effects. It does not move the listener.
DirectSound3DListener8.SetVelocity, Listener Position and Velocity