Difference between revisions of "Source:getDistance"

(Added Source:getDistance.)
 
(Parent corrected)
Line 13: Line 13:
 
{{param|string|max|The maximum distance.}}
 
{{param|string|max|The maximum distance.}}
 
== See Also ==
 
== See Also ==
* [[parent::love.audio]]
+
* [[parent::Source]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the reference and maximum distance of the source.}}
 
{{#set:Description=Returns the reference and maximum distance of the source.}}

Revision as of 22:47, 8 April 2012

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

Returns the reference and maximum distance of the source.

Function

Synopsis

ref, max = Source:getDistance( )

Arguments

None.

Returns

string ref
The reference distance.
string max
The maximum distance.

See Also


Other Languages