set_camera_mode
set_camera_mode
allows you to change the operating mode of a client’s camera.
Reference
set_camera_mode(peer_id, mode)
Call set_camera_mode
in your script to change the camera mode of a client.
Parameters
peer_id
: The id of the client to change the camera mode of.mode
: The camera mode to apply. See CameraMode.
Returns
set_camera_mode
does not return anything.
Caveats
No known caveats.
Usage
Set the camera mode to free-flight on join
Troubleshooting
No known troubleshooting steps.