/
lockCamera()

lockCamera()

Information

Implementation version: beta 1.06

Description

Locks or releases the viewfinder camera movement.

Invocation

lockCamera(
	status
)

Input parameters

status

Parameter that collects the camera's status. It is introduced as a text string, accepting one of these two possibilities:

  1. lock: to lock the camera.
  2. unlock: to unlock the camera.

Use examples

Lock the camera:

lockCamera(
	'lock'
)

Unlock the camera:

lockCamera(
	'unlock'
)

Related content

sceneCameraBehavior()
sceneCameraBehavior()
More like this
disableDoubleClickEntityFocus()
disableDoubleClickEntityFocus()
More like this
(ES) sceneCameraBehavior()
(ES) sceneCameraBehavior()
More like this
(ES) disableDoubleClickEntityFocus()
(ES) disableDoubleClickEntityFocus()
More like this
(ES) getCameraHeight()
(ES) getCameraHeight()
More like this
(ES) cameraToPosition()
(ES) cameraToPosition()
More like this