setApertureNew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(moving note to talk)
(Proper example)
Line 26: Line 26:


|x1= <code>[[setApertureNew]] [0.3, 0.2, 0.1, 1];</code>|= EXAMPLE1  
|x1= <code>[[setApertureNew]] [0.3, 0.2, 0.1, 1];</code>|= EXAMPLE1  
|x2= Simulate eye adjustment at night
<code>setDate [2016, 8, 10, 4, 0];
setApertureNew setApertureNew [2, 8, 14, .9];</code> |= Example 2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 05:37, 30 October 2016

Hover & click on the images for description

Description

Description:
Sets custom camera aperture ([-1] to do it automatically).
Groups:
Uncategorised

Syntax

Syntax:
setApertureNew [min, std, max, stdLum]
Parameters:
[min, std, max, stdLum]: Array
min: Number
std: Number
max: Number
stdLum: Number
Return Value:
Nothing

Examples

Example 1:
setApertureNew [0.3, 0.2, 0.1, 1];
Example 2:
Simulate eye adjustment at night setDate [2016, 8, 10, 4, 0]; setApertureNew setApertureNew [2, 8, 14, .9];

Additional Information

See also:
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

Notes

Bottom Section