Godot::PackedScene
Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
can_instantiate
Sourceget_state
Sourceinstantiate(as type : T.class, edit_state : Int64 = 0_i64) : T forall T
Instantiates the scene and casts directly to wrapper type T (named argument alias)
instantiate_as(type : T.class, edit_state : Int64 = 0_i64) : T forall T
Instantiates the scene and casts directly to wrapper type T
pack(path : Node) : Int64
Packs the node and all owned sub-nodes into this PackedScene via reflection.