CameraServer

    Server keeping track of different cameras accessible in Godot.

    The 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.

    • camera_feed_added ( id )

    • camera_feed_removed ( int id )

    Emitted when a is removed (e.g. webcam is unplugged).

    enum FeedImage:

    • FEED_RGBA_IMAGE = 0 —- The RGBA camera image.
    • FEED_YCBCR_IMAGE = 0 —- The YCbCr camera image.
    • FEED_CBCR_IMAGE = 1 —- The CbCr component camera image.

    Adds a camera feed to the camera server.


    • feeds ( )

    Returns the CameraFeed with this id.


    Returns the number of s registered.


    Removes a .