Difference between revisions of "Source:getDistance"
(Added Source:getDistance.) |
m (Added oldin) |
||
(3 intermediate revisions by 2 users not shown) | |||
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:getAttenuationDistances]]}} | ||
Returns the reference and maximum distance of the source. | Returns the reference and maximum distance of the source. | ||
− | + | {{notice|There's a bug in [[0.8.0]] preventing this function from working}} | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 10: | Line 11: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param| | + | {{param|number|ref|The reference distance.}} |
− | {{param| | + | {{param|number|max|The maximum distance.}} |
== See Also == | == See Also == | ||
− | * [[parent:: | + | * [[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.}} |
Latest revision as of 04:07, 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:getAttenuationDistances. |
Returns the reference and maximum distance of the source.
There's a bug in 0.8.0 preventing this function from working |
Function
Synopsis
ref, max = Source:getDistance( )
Arguments
None.
Returns
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info