Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
FeedPosition
CameraFeed.swift:38enum FeedPosition
Cases
case unspecified
Unspecified position.
case front
Camera is mounted at the front of the device.
case back
Camera is mounted at the back of the device.
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.