Camera Controls

Camera Controls

getLookAt

Gets data about where the user is looking, passes it to the optional callback function (if provided), and returns it.

setLookAt

Sets the pan and tilt.

getFov

Gets the current field of view for the active sphere, passes it to the optional callback function (if provided), and returns it.

setFov

Sets the current field of view for the active sphere.

getFovRange

Gets the range for the field of view for the active sphere, passes it to the optional callback function (if provided), and returns it.

setFovRange

Sets the range for the field of view for the active sphere.

getZoom

Gets the current zoom level for the active sphere, passes it to the optional callback function (if provided), and returns it.

setZoom

Sets the current zoom level for the active sphere.

getZoomRange

Gets the zoom level range for the active sphere, passes it to the optional callback function (if provided), and returns it.

setZoomRange

Sets the zoom level range for the active sphere.