Difference between revisions of "love.audio.setDistanceModel"

(Added love.audio.setDistanceModel)
 
 
Line 8: Line 8:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|string|model|The new distance model.}}
+
{{param|DistanceModel|model|The new distance model.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.

Latest revision as of 08:57, 16 April 2012

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Sets the distance attenuation model.

Function

Synopsis

love.audio.setDistanceModel( model )

Arguments

DistanceModel model
The new distance model.

Returns

Nothing.

See Also


Other Languages