Instance Method (Default implementation)migueldeicaza.swiftgodot 0.46.0SwiftGodot
toVariantRepresentable
VariantRepresentable.swift:30func toVariantRepresentable() -> Self func toVariantRepresentable() -> Self import SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
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.
func toVariantRepresentable() -> Representable