camPrepareFov
- Arma 3 v0.50
- First in Armed Assault v1.00
Command · Markdown · JSON · original wiki page
Description
Prepares the camera field of view (zoom). The default zoom level is 0.75, 0.01 is the nearest and 2 the furthest zoom value. The angle of the field of view is *atan(FOV)2 radians when in 4:3 aspect ratio. Needs the call of camCommitPrepared to be conducted.
Syntax
camera camPrepareFov fieldOfView
Parameters:
Returns: Nothing
Examples
Example 1
_camera camPrepareFov 0.1;