Source:setDistance

Source:setDistance

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

Removed in LÖVE 0.9.0
It has been renamed to Source:setAttenuationDistances.

Sets the reference and maximum distance of the source.

Function

Synopsis

Source:setDistance( ref, max )

Arguments

number ref
The new reference distance.
number max
The new maximum distance.

Returns

Nothing.

See Also


doc_love
2017-03-21 15:53:27
Comments
Leave a Comment

Please login to continue.