apertureParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command |game1= arma3dev |version1= 2.03 |arg= local or global |eff= local or global |serverExec= server or empty |descr= {{WIP}} |mp= MP behaviour |pr= Known probl...")
 
m (Some wiki formatting)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


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


|version1= 2.03
|arg= local


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


|eff= local or global
|gr1= Camera Control


|serverExec= server or empty
|gr2= Lights


|descr= {{WIP}}
|s1= [[apertureParams]]


|mp= MP behaviour
|r1= [[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


|pr= Known problems
|x1= <sqf>private _apertureParams = apertureParams;</sqf>


|gr1= command group
|seealso= [[setApertureNew]] [[setAperture]]
 
|s1= [[{{PAGENAMEE}}]]
 
|p1= argumentName: [[Type]] - (Optional, default [[defaultValue]]) description
 
|p2= target: [[Object]] - (Optional, default [[objNull]]) the command's target
 
|p3= ↓ to delete if unused ↓
 
|p4=
 
|p5=
 
|p6=
 
|p7=
 
|p8=
 
|p9=
 
|p10=
 
|p11=
 
|p12=
 
|p13=
 
|p14=
 
|p15=
 
|p16=
 
|p17=
 
|p18=
 
|p19=
 
|p20=
 
|r1=
 
 
 
|s2=
 
|p21=
 
|p22=
 
|p23=
 
|p24=
 
|p25=
 
|p26=
 
|p27=
 
|p28=
 
|p29=
 
|p30=
 
|p31=
 
|p32=
 
|p33=
 
|p34=
 
|p35=
 
|p36=
 
|p37=
 
|p38=
 
|p39=
 
|p40=
 
|r2=
 
 
 
|s3=
 
|p41=
 
|p42=
 
|p43=
 
|p44=
 
|p45=
 
|p46=
 
|p47=
 
|p48=
 
|p49=
 
|p50=
 
|p51=
 
|p52=
 
|p53=
 
|p54=
 
|p55=
 
|p56=
 
|p57=
 
|p58=
 
|p59=
 
|p60=
 
|r3=
 
 
 
|s4=
 
|p61=
 
|p62=
 
|p63=
 
|p64=
 
|p65=
 
|p66=
 
|p67=
 
|p68=
 
|p69=
 
|p70=
 
|p71=
 
|p72=
 
|p73=
 
|p74=
 
|p75=
 
|p76=
 
|p77=
 
|p78=
 
|p79=
 
|p80=
 
|r4=
 
 
 
|s5=
 
|p81=
 
|p82=
 
|p83=
 
|p84=
 
|p85=
 
|p86=
 
|p87=
 
|p88=
 
|p89=
 
|p90=
 
|p91=
 
|p92=
 
|p93=
 
|p94=
 
|p95=
 
|p96=
 
|p97=
 
|p98=
 
|p99=
 
|p100=
 
|r5=
 
 
 
|x1= <code></code>
 
|x2= <code></code>
 
|x3= <code></code>
 
|x4= <code></code>
 
|x5= <code></code>
 
|x6= <code></code>
 
|x7= <code></code>
 
|x8= <code></code>
 
|x9= <code></code>
 
|x10= <code></code>
 
|seealso= [[seeAlso1]] [[seeAlso2]]
}}
}}

Latest revision as of 18: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