PropInfo
PropInfo structures describe arguments to signals, and methods as well as return values from methods.
ClassServices.swift:199struct PropInfo
The supported types are those that can be wrapped as a Godot Variant type.
Citizens in SwiftGodot
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
Type members
init(propertyType: Variant.GType, propertyName: StringName, className: StringName, hint: PropertyHint, hintStr: GString, usage: PropertyUsageFlags
)
Instance members
let className: StringName
The class name where this is defined
var debugDescription: String
Provides a human-readable description of the property
let hint: PropertyHint
Property Hint for this property
let hintStr: GString
Human-readable hint
let propertyName: StringName
The name for the property
let propertyType: Variant.GType
The type of the property being defined
let usage: PropertyUsageFlags
Describes how the property can be used.