Difference between revisions of "Source:setRolloff"

(Added Source:setRolloff.)
 
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function}}
 
{{newin|[[0.8.0]]|080|type=function}}
Sets the rolloff factor.
+
Sets the rolloff factor for [[DistanceModel]].
  
 
== Function ==
 
== Function ==

Revision as of 13:26, 30 May 2016

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

Sets the rolloff factor for DistanceModel.

Function

Synopsis

Source:setRolloff( rolloff )

Arguments

number rolloff
The new rolloff factor.

Returns

Nothing.

See Also


Other Languages