apertureParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3dev |version1= 2.03" to " |game1= arma3 |version1= 2.04") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.04 | |version1= 2.04 | ||
Line 15: | Line 14: | ||
|s1= [[apertureParams]] | |s1= [[apertureParams]] | ||
|r1= [[Array]] in format: | |r1= [[Array]] in format [aperture, isForced, estimatedAperture, estimatedLuminance, minCustom, stdCustom, maxCustom, customLuminance, isCustomForced, blinding], where: | ||
* [[Number]] - | * aperture: [[Number]] - current aperture | ||
* [[Boolean]] - | * isForced: [[Boolean]] - whether aperture was forced by [[setAperture]] | ||
* [[Number]] - | * estimatedAperture: [[Number]] - engine-estimated scene aperture | ||
* [[Number]] - | * estimatedLuminance: [[Number]] - engine-estimated luminance | ||
* [[Number]] - | * minCustom: [[Number]] - minimal custom aperture, see [[setApertureNew]] | ||
* [[Number]] - | * stdCustom: [[Number]] - standard custom aperture, see [[setApertureNew]] | ||
* [[Number]] - | * maxCustom: [[Number]] - maximal custom aperture, see [[setApertureNew]] | ||
* [[Number]] - | * customLuminance: [[Number]] - custom luminance, see [[setApertureNew]] | ||
* [[Boolean]] - | * isCustomForced: [[Boolean]] - whether custom values were forced | ||
* [[Number]] - | * blinding: [[Number]] - blinding intensity of the light | ||
|x1= < | |x1= <sqf>private _apertureParams = apertureParams;</sqf> | ||
|seealso= [[setApertureNew]] [[setAperture]] | |seealso= [[setApertureNew]] [[setAperture]] | ||
}} | }} |
Latest revision as of 17:18, 5 May 2022
Description
- Description:
- Returns current aperture parameters.
- Groups:
- Camera ControlLights
Syntax
- Syntax:
- apertureParams
- Return Value:
- Array in format [aperture, isForced, estimatedAperture, estimatedLuminance, minCustom, stdCustom, maxCustom, customLuminance, isCustomForced, blinding], where:
- aperture: Number - current aperture
- isForced: Boolean - whether aperture was forced by setAperture
- estimatedAperture: Number - engine-estimated scene aperture
- estimatedLuminance: Number - engine-estimated luminance
- minCustom: Number - minimal custom aperture, see setApertureNew
- stdCustom: Number - standard custom aperture, see setApertureNew
- maxCustom: Number - maximal custom aperture, see setApertureNew
- customLuminance: Number - custom luminance, see setApertureNew
- isCustomForced: Boolean - whether custom values were forced
- blinding: Number - blinding intensity of the light
Examples
- Example 1:
Additional Information
- See also:
- setApertureNew setAperture
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note