class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS Object CameraServer
Server keeping track of different cameras accessible in Godot.

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.

Signal camera_feed_added<>( int id=, id:int=, ):Signal

Emitted when a CameraFeed is added (e.g. a webcam is plugged in).

Signal camera_feed_removed<>( int id=, id:int=, ):Signal

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

Enum FeedImage<>():Enum

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.

void add_feed<>( CameraFeed feed=, feed:CameraFeed=, ):void

Adds the camera feed to the camera server.

Array feeds<>():Array

Returns an array of CameraFeeds.

CameraFeed get_feed<>( int index=, index:int=, ):CameraFeed

Returns the CameraFeed corresponding to the camera with the given index.

int get_feed_count<>():int

Returns the number of CameraFeeds registered.

void remove_feed<>( CameraFeed feed=, feed:CameraFeed=, ):void

Removes the specified camera feed.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...