Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
FeedImage
CameraServer.swift:32enum FeedImage
Cases
case rgbaImage
The RGBA camera image.
case cbcrImage
The YCbCr camera image. The Y component camera image. The CbCr component camera image.
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (11) members.
Types
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
.class var godotClassName: StringName
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).
Citizens in SwiftGodot
Conformances
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.