Source:getFalloff

Returns parameters that control how the volume of the Source falls of with distance.

reference, max, rolloff = Source:getFalloff()

Arguments

None

Returns

NameTypeDescription
referencenumberThe distance at which the volume will start to decrease.
maxnumberThe distance at which the Source will be its quietest.
rolloffnumberHow quickly the sound falls off between the reference and max distances (1.0 is the default).

See also