Source:setDistance

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

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


Other Languages