setAperture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 35: | Line 35: | ||
|x1= <code>setAperture 0.3;</code> | |x1= <code>setAperture 0.3;</code> | ||
|x2= <code>[] spawn { | |x2= <code>[] spawn { sleep 0.2; [[setAperture]] 100 };</code> | ||
|seealso= [[setApertureNew]] [[apertureParams]] | |seealso= [[setApertureNew]] [[apertureParams]] |
Revision as of 11:14, 12 May 2022
Description
- Description:
- Sets custom eye accommodation camera aperture.
- Groups:
- Camera ControlLights
Syntax
- Syntax:
- setAperture aperture
- Parameters:
- aperture: Number - Aperture value. A value <= 0 will set the aperture automatically. Maximum value which has an effect seems to be 100.
- Return Value:
- Nothing
Examples
- Example 1:
setAperture 0.3;
- Example 2:
[] spawn { sleep 0.2; setAperture 100 };
Additional Information
- See also:
- setApertureNew apertureParams
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
- 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.
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Camera Control
- Command Group: Lights
- Scripting Commands: Local Effect