CameraTexture
Texture provided by a CameraFeed.
class CameraTextureThis texture gives access to the camera texture provided by a CameraFeed.
Texture provided by a CameraFeed.
class CameraTextureThis texture gives access to the camera texture provided by a CameraFeed.
import SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
class CameraFeedA camera feed gives you access to a single physical camera attached to your device.
class Texture2DTexture for 2D and 3D.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol Identifiable<ID>A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable : VariantStorableTypes that conform to VariantRepresentable can be stored directly in Variant with no conversion. These include all of the Variant types from Godot (for example GString, Rect, Plane), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.
protocol VariantStorableTypes that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
override class var godotClassName: StringName { get }final var cameraFeedId: Int32 { get set }The ID of the CameraFeed for which we want to display the image.
final var cameraIsActive: Bool { get set }Convenience property that gives access to the active property of the CameraFeed.
final var whichFeed: CameraServer.FeedImage { get set }Which image within the CameraFeed we want access to, important if the camera image is split in a Y and CbCr component.