Click or drag to resize

CameraServer Class

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.

Inheritance Hierarchy
SystemObject
  GodotCameraServer

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static class CameraServer

The CameraServer type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberSingleton
Top
Methods
  NameDescription
Public methodStatic memberAddFeed

Adds a camera feed to the camera server.

Public methodStatic memberFeeds

Returns an array of CameraFeeds.

Public methodStatic memberGetFeed

Returns the CameraFeed with this id.

Public methodStatic memberGetFeedCount

Returns the number of CameraFeeds registered.

Public methodStatic memberRemoveFeed

Removes a CameraFeed.

Top
See Also