sucata.camera
Camera module of the Sucata.
sucata.camera.get_camera_position
Gets the current camera position.
return
- x
number- X coordinate of the camera position - y
number- Y coordinate of the camera position
sucata.camera.set_camera_position
Sets the camera position.
parameters
- x
number- X coordinate of the camera position - y
number- Y coordinate of the camera position
sucata.camera.get_camera_rotation
Gets the current camera rotation.
return
- rotation
number- Camera rotation in radians
sucata.camera.set_camera_rotation
Sets the camera rotation.
parameters
- rotation
number- Camera rotation in radians
sucata.camera.get_camera_zoom
Gets the current camera zoom.
return
- zoom
number- Camera zoom level
sucata.camera.set_camera_zoom
Sets the camera zoom.
parameters
- zoom
number- Camera zoom level