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.

[VisualBasic]
PublicPropertyVelocityAsVector3D
[C#]
publicVector3DVelocity{get;set;}

See Also

ISound Class | IrrKlang Namespace