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...")
 
Line 10: Line 10:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|string|model|The current distance model.}}
+
{{param|DistanceModel|model|The current distance model.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.audio]]
 
* [[parent::love.audio]]

Revision as of 08:57, 16 April 2012

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.

See Also


Other Languages