apertureParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Wiki code cleanup)
(further page filling)
Line 5: Line 5:
|version1= 2.03
|version1= 2.03


<!--
|descr= Returns current aperture parameters.
|arg= local or global


|eff= local or global
|mp= Needs to be executed where camera is local. {{Clarify}}
 
|serverExec= server or empty
-->
 
|descr= {{WIP}}
 
<!--
|mp= MP behaviour
 
|pr= Known problems
-->


|gr1= Camera Control
|gr1= Camera Control
Line 25: Line 13:
|s1= [[apertureParams]]
|s1= [[apertureParams]]


<!--
|r1= [[Array]] in format:
|p1= argumentName: [[Type]] - (Optional, default [[defaultValue]]) description
* [[Number]] - Current aperture
 
* [[Boolean]] - Whether aperture was forced by [[setApertureNew]]
|p2= target: [[Object]] - (Optional, default [[objNull]]) the command's target
* [[Number]] - Engine estimated aperture for the scene
-->
* [[Number]] - Engine estimated luminance
 
* [[Number]] - Minimal custom aperture
|r1= [[Array]]
* [[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]] _aperture = [[apertureParams]]</code>
|x1= <code>[[private]] _apertureParams= [[apertureParams]];</code>


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

Revision as of 17:58, 23 January 2021

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.03|2.03]]
Hover & click on the images for description

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:

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]]