Difference between revisions of "love.audio.getDistanceModel"
m (testing a feature of the wiki) |
m (Update default to 0.10) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0. | + | {{newin|[[0.8.0]]|080|type=function}} |
Returns the distance attenuation model. | Returns the distance attenuation model. | ||
Line 10: | Line 10: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|DistanceModel|model|The current distance model.}} | + | {{param|DistanceModel|model|The current distance model. The default is 'inverseclamped'.}} |
+ | |||
== See Also == | == See Also == | ||
* [[parent::love.audio]] | * [[parent::love.audio]] |
Latest revision as of 04:56, 21 January 2016
Available since LÖVE 0.8.0 |
This function is not supported in earlier versions. |
Returns the distance attenuation model.
Function
Synopsis
model = love.audio.getDistanceModel( )
Arguments
None.
Returns
DistanceModel model
- The current distance model. The default is 'inverseclamped'.
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