apertureParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Wiki code cleanup) |
(further page filling) |
||
Line 5: | Line 5: | ||
|version1= 2.03 | |version1= 2.03 | ||
|descr= Returns current aperture parameters. | |||
| | |||
| | |mp= Needs to be executed where camera is local. {{Clarify}} | ||
|gr1= Camera Control | |gr1= Camera Control | ||
Line 25: | Line 13: | ||
|s1= [[apertureParams]] | |s1= [[apertureParams]] | ||
|r1= [[Array]] in format: | |||
| | * [[Number]] - Current aperture | ||
* [[Boolean]] - Whether aperture was forced by [[setApertureNew]] | |||
* [[Number]] - Engine estimated aperture for the scene | |||
-- | * [[Number]] - Engine estimated luminance | ||
* [[Number]] - Minimal custom aperture | |||
* [[Number]] - Standard custom aperture | |||
* [[Number]] - Maximal custom aperture | |||
* [[Number]] - Custom luminance | |||
* [[Boolean]] - Whether custom values were forced | |||
* [[Number]] - Blinding intensity of the light | |||
|x1= <code>[[private]] | |x1= <code>[[private]] _apertureParams= [[apertureParams]];</code> | ||
|seealso= [[setApertureNew]] [[setAperture]] | |seealso= [[setApertureNew]] [[setAperture]] | ||
}} | }} |
Revision as of 16:58, 23 January 2021
Description
- Description:
- Returns current aperture parameters.
- Multiplayer:
- Needs to be executed where camera is local. Clarify
- Groups:
- Camera Control
Syntax
- Syntax:
- apertureParams
- Return Value:
- Array in format:
- Number - Current aperture
- Boolean - Whether aperture was forced by setApertureNew
- Number - Engine estimated aperture for the scene
- Number - Engine estimated luminance
- Number - Minimal custom aperture
- Number - Standard custom aperture
- Number - Maximal custom aperture
- Number - Custom luminance
- Boolean - Whether custom values were forced
- Number - Blinding intensity of the light
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
[[Category:Introduced with arma3dev version 2.03]][[ Category: arma3dev: New Scripting Commands | APERTUREPARAMS]][[ Category: arma3dev: Scripting Commands | APERTUREPARAMS]]