Arma 3 Scripting

Command in Camera Control

camPrepareFocus

Also available as Markdown and JSON, or read the original wiki page.

Description

focusRange is . Prepares the camera focus blur.

[-1,1] will reset default values (auto focusing), [-1,-1] will disable postprocessing (all is focused). Needs the call of camCommitPrepared to be conducted.

Syntax

camera camPrepareFocus [distance, blur]

Parameters:

Returns: Nothing

Examples

Example 1

_camera camPrepareFocus [50, 1];

See also

camPreload · camCommitPrepared · camSetFocus