Difference between revisions of "love.audio.getDistanceModel"

m (Undo revision 13367 by Bozodel (talk))
m (Update default to 0.10)
 
(4 intermediate revisions by 3 users not shown)
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