IrrKlang.NET

ISound.Velocity Property

sets or returns the velocity of the sound in 3d space, needed for Doppler effects. To use doppler effects use ISound::setVelocity to set a sounds velocity, ISoundEngine::setListenerPosition() to set the listeners velocity and ISoundEngine::setDopplerEffectParameters() to adjust two parameters influencing the doppler effects intensity.

[Visual Basic]
Public Property Velocity As Vector3D
[C#]
public Vector3D Velocity {get; set;}

See Also

ISound Class | IrrKlang Namespace