Difference between revisions of "Source:setRolloff"
Antoniomoder (talk | contribs) |
Antoniomoder (talk | contribs) (add link to OpenAL documentation) |
||
Line 1: | Line 1: | ||
{{newin|[[0.8.0]]|080|type=function}} | {{newin|[[0.8.0]]|080|type=function}} | ||
Sets the rolloff factor. Affect on [[DistanceModel]]. | Sets the rolloff factor. Affect on [[DistanceModel]]. | ||
+ | |||
+ | Extended information can be found in the chapter "3.4. Attenuation By Distance" of [https://www.openal.org/documentation/openal-1.1-specification.pdf OpenAL 1.1 specification]. | ||
== Function == | == Function == |
Revision as of 13:40, 30 May 2016
Available since LÖVE 0.8.0 |
This function is not supported in earlier versions. |
Sets the rolloff factor. Affect on DistanceModel.
Extended information can be found in the chapter "3.4. Attenuation By Distance" of OpenAL 1.1 specification.
Function
Synopsis
Source:setRolloff( rolloff )
Arguments
number rolloff
- The new rolloff factor.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info