SetCameraFocus


SetCameraFocus() sets the object of focus for the specified camera. Make cam_int 1 for the external camera or 0 for the internal camera. SetCameraFocus() will not set the focus of a camera if the focus_object it is given does not exist. Syntax:

SetCameraFocus(cam_int, focus_object);