The CameraServer keeps track of different cameras accessible in Godot. These are external cameras such as webcams or the cameras on your phone.
It is notably used to provide AR modules with a video feed from the camera.
Emitted when a CameraFeed is added (e.g. a webcam is plugged in).
Emitted when a CameraFeed is removed (e.g. a webcam is unplugged).
FEED_RGBA_IMAGE = 0
The RGBA camera image.
FEED_YCBCR_IMAGE = 0
The YCbCr camera image.
FEED_Y_IMAGE = 0
The Y component camera image.
FEED_CBCR_IMAGE = 1
The CbCr component camera image.
Adds the camera feed
to the camera server.
Returns an array of CameraFeeds.
Returns the CameraFeed corresponding to the camera with the given index
.
Returns the number of CameraFeeds registered.
Removes the specified camera feed
.