Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
FeedDataType
CameraFeed.swift:16enum FeedDataType
Cases
case noimage
No image set for the feed.
case rgb
Feed supplies RGB images.
case ycbcr
Feed supplies YCbCr images that need to be converted to RGB.
case ycbcrSep
Feed supplies separate Y and CbCr images that need to be combined and converted to RGB.
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (8) members.
Types
Type members
Instance members
var feedIsActive: Bool
If
true
, the feed is active.var feedTransform: Transform2D
The transform applied to the camera’s image.
func getDatatype(
) -> CameraFeed.FeedDataType Returns feed image data type.
func getId(
) -> Int32 Returns the unique ID for this feed.
func getName(
) -> String Returns the camera’s name.
func getPosition(
) -> CameraFeed.FeedPosition Returns the position of camera on the device.
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.