camSetFocus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see [[camCommit]]). Use [-1, -1] to disable focus completely.
| Sets camera focus range in format [distance, blur]. blur param - sets the camera focus blur. It does not automatically commit changes (see [[camCommit]]). Use [-1, -1] to disable focus completely.


| camera '''camSetFocus''' focusRange
|s1=  camera '''camSetFocus''' focusRange


|p1= camera: [[Object]]
|p1= camera: [[Object]]

Revision as of 23:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Camera Control

Syntax

Syntax:
camera camSetFocus focusRange
Parameters:
camera: Object
focusRange: Array
Return Value:
Nothing

Examples

Example 1:
_camera camSetFocus [50, 1];

Additional Information

See also:
camCreatecamCommandcamDestroycamCommitcamPrepareFocus

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