Open Class Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
godotClassName
CameraServer.swift:31override class var godotClassName: StringName { get }
Overrides
Other members in extension
Types
enum FeedImage
class Signal1
Signal support.
class Signal2
Signal support.
Type members
static func addFeed(CameraFeed?
) Adds the camera
feed
to the camera server.static func feeds(
) -> ObjectCollection<CameraFeed> Returns an array of
CameraFeed
s.static func getFeed(index: Int32
) -> CameraFeed? Returns the
CameraFeed
corresponding to the camera with the givenindex
.static func getFeedCount(
) -> Int32 Returns the number of
CameraFeed
s registered.static func removeFeed(CameraFeed?
) Removes the specified camera
feed
.
Instance members
var cameraFeedAdded: Signal1
Emitted when a
CameraFeed
is added (e.g. a webcam is plugged in).var cameraFeedRemoved: Signal2
Emitted when a
CameraFeed
is removed (e.g. a webcam is unplugged).