Inherits: Object
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.
void | add_feed ( CameraFeed feed ) |
Array | feeds ( ) |
CameraFeed | get_feed ( int index ) |
int | get_feed_count ( ) |
void | remove_feed ( CameraFeed feed ) |
Emitted when a CameraFeed is added (e.g. webcam is plugged in).
Emitted when a CameraFeed is removed (e.g. webcam is unplugged).
enum FeedImage:
Adds a camera feed to the camera server.
Returns an array of CameraFeeds.
Returns the CameraFeed with this id.
Returns the number of CameraFeeds registered.
Removes a CameraFeed.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_cameraserver.html