IrrKlang.NET

ISoundSource.DefaultMaxDistance Property

Sets or gets the default maximal distance for 3D sounds played from this source. This value influences how loud a sound is heard based on its distance. See ISound::setMaxDistance() for details about what the max distance is. This method only influences the initial distance value of sounds. For changing the distance after the sound has been started to play, use ISound::setMaxDistance() and ISound::setMaxDistance().

[Visual Basic]
Public Property DefaultMaxDistance As Single
[C#]
public float DefaultMaxDistance {get; set;}

See Also

ISoundSource Class | IrrKlang Namespace