setAperture

From Bohemia Interactive Community
Revision as of 19:54, 1 September 2019 by Lou Montana (talk | contribs) (Text replacement - "|= Game name" to "|Game name=")
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

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

Syntax

Syntax:
setAperture aperture
Parameters:
aperture: Number
Return Value:
Nothing

Examples

Example 1:
setAperture 0.3;

Additional Information

See also:
setApertureNew

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

Namikaze
The aperture value to simulate typical daylight (outdoor) conditions is 50. The aperture value to simulate typical daylight (indoor) conditions is 30. Setting the value to less than 20 will result in a very bright scene, suitable for night conditions. The closer the number is to 0, the more light will be let into the lens, to carry on the aperture metaphor. Different lighting/weather conditions can change the actual indoor and outdoor aperture values. Experiment and test to be sure.

Bottom Section