Difference between revisions of "Source:setDistance"

(Added Source:setDistance.)
 
m (added oldin)
 
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function}}
 
{{newin|[[0.8.0]]|080|type=function}}
 +
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[Source:setAttenuationDistances]]}}
 
Sets the reference and maximum distance of the source.
 
Sets the reference and maximum distance of the source.
  

Latest revision as of 04:08, 13 October 2013

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


Other Languages