apertureParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(further page filling)
m (Some wiki formatting)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
|version1= 2.04


|version1= 2.03
|arg= local


|descr= Returns current aperture parameters.
|descr= Returns current aperture parameters.


|mp= Needs to be executed where camera is local. {{Clarify}}
|gr1= Camera Control


|gr1= Camera Control
|gr2= Lights


|s1= [[apertureParams]]
|s1= [[apertureParams]]


|r1= [[Array]] in format:
|r1= [[Array]] in format [aperture, isForced, estimatedAperture, estimatedLuminance, minCustom, stdCustom, maxCustom, customLuminance, isCustomForced, blinding], where:
* [[Number]] - Current aperture
* aperture: [[Number]] - current aperture
* [[Boolean]] - Whether aperture was forced by [[setApertureNew]]
* isForced: [[Boolean]] - whether aperture was forced by [[setAperture]]
* [[Number]] - Engine estimated aperture for the scene
* estimatedAperture: [[Number]] - engine-estimated scene aperture
* [[Number]] - Engine estimated luminance
* estimatedLuminance: [[Number]] - engine-estimated luminance
* [[Number]] - Minimal custom aperture
* minCustom: [[Number]] - minimal custom aperture, see [[setApertureNew]]
* [[Number]] - Standard custom aperture
* stdCustom: [[Number]] - standard custom aperture, see [[setApertureNew]]
* [[Number]] - Maximal custom aperture
* maxCustom: [[Number]] - maximal custom aperture, see [[setApertureNew]]
* [[Number]] - Custom luminance
* customLuminance: [[Number]] - custom luminance, see [[setApertureNew]]
* [[Boolean]] - Whether custom values were forced
* isCustomForced: [[Boolean]] - whether custom values were forced
* [[Number]] - Blinding intensity of the light
* blinding: [[Number]] - blinding intensity of the light


|x1= <code>[[private]] _apertureParams= [[apertureParams]];</code>
|x1= <sqf>private _apertureParams = apertureParams;</sqf>


|seealso= [[setApertureNew]] [[setAperture]]
|seealso= [[setApertureNew]] [[setAperture]]
}}
}}

Latest revision as of 17:18, 5 May 2022

Hover & click on the images for description

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:

Examples

Example 1:
private _apertureParams = apertureParams;

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