![]() |
• Sound Manager | ||
|
API Links
Developer Links
|
SoundMgr::SetListenerVelocityDefined in:
Sets the listener's 3D velocity.
C4Sound.hPrototype
Parameters
Description
The SetListenerVelocity function sets the listener's 3D velocity in world space coordinates to the vector given by the velocity parameter. 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.
See Also
SoundMgr::GetListenerVelocity
Sound::GetVelocity
Sound::SetVelocity
|