Initializermigueldeicaza.swiftgodot 0.45.0SwiftGodot->Swift
init(_:)
VariantStorable.swift:67init?(_ variant: Variant)
init?(_ variant: Variant)
import SwiftGodot
Framework to write Godot Game Extensions using the Swift Programming Language.
import Swift
@frozen struct String
A Unicode string value that is a collection of characters.
class Variant
Variant objects box various Godot Objects, you create them with one of the constructors, and you can retrieve the contents using the various extension constructors that are declared on the various types that are wrapped.
init(_ n: StringName)
func toVariantRepresentable() -> GStringRaw