camSetFocus

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
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.

Syntax

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

Examples

Example 1:
_camera camSetFocus [50, 1];

Additional Information

Multiplayer:
-
See also:
camCreatecamCommandcamDestroycamCommitcamPrepareFocus

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section