SoundRange3D()

Syntax

SoundRange3D(#Sound3D, Minimum, Maximum)
Description
Set the range, in world units, for the sound emission.

Parameters

#Sound3D The sound to use.
Minimum The distance from the sound location when the sound volume starts fading.
Maximum The distance from the sound location when the sound can still be heard. Above this distance, the sound will stop playing. Between the minimum and maximum value, the sound will fade according to the current listener position. To change the listener location, use SoundListenerLocate().

Return value

None.

See Also

SoundListenerLocate()

Supported OS

All

<- SoundListenerLocate() - Sound3D Index - SoundVolume3D() ->