IrrKlang.NET

ISoundEngine.Default3DSoundMinDistance Property

Sets or gets the default minimal distance for 3D sounds. This value influences how loud a sound is heard based on its distance. See ISound::setMinDistance() for details about what the min distance is. It is also possible to influence this default value for every sound file using ISoundSource::setDefaultMinDistance(). This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMinDistance() and ISound::setMaxDistance().

[VisualBasic]
PublicPropertyDefault3DSoundMinDistanceAsSingle
[C#]
publicfloatDefault3DSoundMinDistance{get;set;}

See Also

ISoundEngine Class | IrrKlang Namespace