Godot::SceneTree
Inherits Godot::MainLoop < Godot::Object < Reference < Object
Manages the hierarchy of scene nodes and execution loops.
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
auto_accept_quit?
Sourcechange_scene_to_file(path : String) : Int64
Sourcechange_scene_to_node(node : Node) : Int64
Sourcechange_scene_to_packed(packed_scene : PackedScene) : Int64
Sourcecreate_timer(time_sec : Float64, process_always : Bool, process_in_physics : Bool, ignore_time_scale : Bool) : SceneTreeTimer
Sourcecreate_timer(time_sec : Number, process_always : Bool = true, process_in_physics : Bool = false, ignore_time_scale : Bool = false) : SceneTreeTimer
Creates a SceneTreeTimer with default arguments matching GDScript ergonomics
create_tween
Sourcecurrent_scene
Sourcecurrent_scene=(current_scene : Node)
Sourcedebug_collisions_hint?
Sourcedebug_paths_hint?
Sourceget_current_scene
Sourceget_edited_scene_root
Sourceget_first_node_in_group(group : String) : Node
Sourceget_first_node_in_group_as(type : T.class, group_name : String) : T | Nil forall T
Sourceget_frame
Sourceget_multiplayer(for_path : NodePath) : MultiplayerAPI
Sourceget_node_count
Sourceget_node_count_in_group(group : String) : Int64
Sourceget_nodes_in_group(group : String) : Godot::Array
Sourceget_processed_tweens
Sourceget_root
Sourcehas_group(name : String) : Bool
Sourceis_accessibility_enabled
Sourceis_accessibility_supported
Sourceis_auto_accept_quit
Sourceis_debugging_collisions_hint
Sourceis_debugging_paths_hint
Sourceis_multiplayer_poll_enabled
Sourceis_paused
Sourceis_physics_interpolation_enabled
Sourceis_quit_on_go_back
Sourcemultiplayer_poll?
Sourcenotify_group(group : String, notification : Int64) : Void
Sourcenotify_group_flags(call_flags : Int64, group : String, notification : Int64) : Void
Sourcepaused?
Sourcephysics_interpolation?
Sourcequit(exit_code : Int64) : Void
Sourcequit_on_go_back?
Sourcereload_current_scene
Sourceroot
Sourceroot=(root : Node)
Sourceset_auto_accept_quit(enabled : Bool) : Void
Sourceset_current_scene(child_node : Node) : Void
Sourceset_debug_collisions_hint(enable : Bool) : Void
Sourceset_debug_paths_hint(enable : Bool) : Void
Sourceset_edited_scene_root(scene : Node) : Void
Sourceset_group(group : String, property : String, value : Pointer(Void)) : Void
Sourceset_group_flags(call_flags : Int64, group : String, property : String, value : Pointer(Void)) : Void
Sourceset_multiplayer(multiplayer : MultiplayerAPI, root_path : NodePath) : Void
Sourceset_multiplayer_poll_enabled(enabled : Bool) : Void
Sourceset_pause(enable : Bool) : Void
Sourceset_physics_interpolation_enabled(enabled : Bool) : Void
Sourceset_quit_on_go_back(enabled : Bool) : Void
Sourceunload_current_scene
Source