Source:setRolloff

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Sets the rolloff factor which affects the strength of the used distance attenuation.

Extended information and detailed formulas can be found in the chapter "3.4. Attenuation By Distance" of OpenAL 1.1 specification.

Function

Synopsis

Source:setRolloff( rolloff )

Arguments

number rolloff
The new rolloff factor.

Returns

Nothing.

See Also


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Source:setRolloff