{"name":"camPrepareFov","title":"camPrepareFov","type":"command","url":"https://community.bistudio.com/wiki/camPrepareFov","revid":323072,"updated":"2022-06-28T21:43:12Z","groups":["Camera Control"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","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.","syntaxes":[{"syntax":"camera camPrepareFov fieldOfView","params":[{"name":"camera","type":"Object","type_expr":"Object"},{"name":"fieldOfView","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"camera"},"right":{"text":"fieldOfView"}}],"examples":[{"code":["_camera camPrepareFov 0.1;"]}],"see_also":["camSetFov","camPreload","camCommitPrepared"]}