Source:getFalloff
Returns parameters that control how the volume of the Source falls of with distance.
reference, max, rolloff = Source:getFalloff()
Arguments
None
Returns
Name | Type | Description |
reference | number | The distance at which the volume will start to decrease. |
max | number | The distance at which the Source will be its quietest. |
rolloff | number | How quickly the sound falls off between the reference and max distances (1.0 is the default). |
See also
Source:getVolumeLimits
Source:setVolumeLimits
Source:setFalloff
Source