Difference between revisions of "love.audio.getDistanceModel"

(Created page with "{{newin|0.8.0|080|type=function}} Returns the distance attenuation model. == Function == === Synopsis === <source lang="lua"> model = love.audio.getDistanceModel( ) </source...")
 
m (Update default to 0.10)
 
(7 intermediate revisions by 4 users not shown)
Line 10: Line 10:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|string|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