module

Godot::Bridge

Class methods

alive_instance_count
Source
alive_instances

Retrieves the active Crystal instance root table for testing and diagnostics

Source
alive_mutex
Source
arg_to_string(arg_ptr : Pointer(Void)) : String
Source
arg_to_string_name(arg_ptr : Pointer(Void)) : String
Source
available?
Source
cached_string_name(str : String) : Pointer(Void)
Source
construct_object(class_name : String) : Pointer(Void)
Source
deinit
Source
emit_signal(godot_obj : Pointer(Void), signal_name : String) : Void
Source
emit_signal(godot_obj : Pointer(Void), signal_name : String, *args) : Void
Source
error(desc : String, msg : String = "", func : String = "", file : String = "", line : Int32 = 0) : Void
Source
find_alive_instance(godot_obj : Pointer(Void)) : Godot::Object | Nil
Source
free_string(ptr : Pointer(Void) | Nil) : Void
Source
free_string_name(ptr : Pointer(Void) | Nil) : Void
Source
get_axis(negative_action : String, positive_action : String) : Float32
Source
get_language_object
Source
get_method_bind(class_name : String, method_name : String, hash : Int64) : Pointer(Void)

Generic Engine Dispatchers

Source
get_singleton(name : String) : Pointer(Void)
Source
get_vector(negative_x : String, positive_x : String, negative_y : String, positive_y : String, deadzone : Float64 = -1.0) : Vector2
Source
get_velocity(godot_obj : Pointer(Void)) : Vector3
Source
has_alive_instance?(boxed : Pointer(Void)) : Bool
Source
highlighter_add_span(ret : Pointer(Void), col : Int64, r : Float32, g : Float32, b : Float32, a : Float32 = 1.0_f32) : Void
Source
init(api : Pointer(LibBridge::BridgeAPI))
Source
is_action_just_pressed(action : String, exact_match : Bool = false) : Bool
Source
is_action_just_released(action : String, exact_match : Bool = false) : Bool
Source
is_action_pressed(action : String, exact_match : Bool = false) : Bool
Source
is_instance_valid(id : UInt64) : Bool
Source
is_key_pressed(key : Int32) : Bool
Source
is_language_registered?
Source
is_loader_registered?
Source
is_mouse_button_pressed(button : Int64) : Bool
Source
is_on_floor(godot_obj : Pointer(Void)) : Bool

Engine Method Calls

Source
is_physical_key_pressed(key : Int32) : Bool
Source
is_saver_registered?
Source
load_editor_help(xml : String) : Void
Source
make_string(str : String) : Pointer(Void)
Source
make_string_name(str : String) : Pointer(Void)
Source
move_and_slide(godot_obj : Pointer(Void)) : Bool
Source
node_find_child(godot_obj : Pointer(Void), pattern : String, recursive : Bool = true, owned : Bool = false) : Pointer(Void)
Source
node_get_name(godot_obj : Pointer(Void)) : String
Source
node_get_node(godot_obj : Pointer(Void), path : String) : Pointer(Void)
Source
node_rpc_config(godot_obj : Pointer(Void), method : String, rpc_mode : Int32, transfer_mode : Int32, call_local : Bool, channel : Int32) : Void
Source
object_call(godot_obj : Pointer(Void), method_name : String) : Void
Source
object_call(godot_obj : Pointer(Void), method_name : String, *args) : Void
Source
object_call_deferred(godot_obj : Pointer(Void), method_name : String) : Void
Source
object_call_deferred(godot_obj : Pointer(Void), method_name : String, *args) : Void
Source
object_call_ret_bool(godot_obj : Pointer(Void), method_name : String, *args) : Bool
Source
object_call_ret_float(godot_obj : Pointer(Void), method_name : String, *args) : Float64
Source
object_call_ret_int(godot_obj : Pointer(Void), method_name : String, *args) : Int64
Source
object_call_ret_object(godot_obj : Pointer(Void), method_name : String, *args) : Pointer(Void)
Source
object_call_ret_string(godot_obj : Pointer(Void), method_name : String, *args) : String
Source
object_class_name(obj : Pointer(Void)) : String
Source
object_connect_signal(godot_obj : Pointer(Void), signal_name : String, flags : UInt32 = 0_u32) : Void
Source
object_destroy(godot_obj : Pointer(Void)) : Void
Source
object_disconnect_signal(godot_obj : Pointer(Void), signal_name : String) : Void
Source
object_get_instance_from_id(id : UInt64) : Pointer(Void)
Source
object_get_instance_id(godot_obj : Pointer(Void)) : UInt64
Source
object_is_class(obj : Pointer(Void), class_name : String) : Bool
Source
packed_scene_instantiate(scene_ptr : Pointer(Void), edit_state : Int64 = 0_i64) : Pointer(Void)
Source
placeholder_script_instance_create(language : Pointer(Void), script : Pointer(Void), owner : Pointer(Void)) : Pointer(Void)
Source
printerr(msg : String) : Void
Source
ptrcall(method_bind : Pointer(Void), instance : Pointer(Void), args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void
Source
range_set_value(godot_obj : Pointer(Void), value : Float64) : Void
Source
ref_get_object(ref_ptr : Pointer(Void)) : Pointer(Void)
Source
register_alive_instance(boxed : Pointer(Void), inst : Godot::Object) : Void
Source
register_shutdown_callback
Source
resource_get_path(res_obj : Pointer(Void)) : String
Source
resource_loader_load(path : String, type_hint : String = "", cache_mode : Int64 = 0_i64) : Pointer(Void)
Source
ret_array_empty(ret : Pointer(Void)) : Void
Source
ret_dictionary_complete_code(ret : Pointer(Void)) : Void
Source
ret_dictionary_empty(ret : Pointer(Void)) : Void
Source
ret_dictionary_global_class(ret : Pointer(Void), class_name : String, base_type : String = "Node", icon_path : String = "") : Void
Source
ret_dictionary_lookup_code(ret : Pointer(Void)) : Void
Source
ret_dictionary_validate(ret : Pointer(Void), valid : Bool) : Void
Source
ret_object(ret : Pointer(Void), obj_ptr : Pointer(Void)) : Void
Source
ret_packed_string_array(ret : Pointer(Void), strings : Array(String)) : Void
Source
ret_ref(ret : Pointer(Void), obj_ptr : Pointer(Void)) : Void
Source
ret_string(ret : Pointer(Void), str : String) : Void
Source
ret_string_name(ret : Pointer(Void), str : String) : Void
Source
ret_variant_nil(ret : Pointer(Void)) : Void
Source
ret_variant_object(ret : Pointer(Void), obj_ptr : Pointer(Void)) : Void
Source
script_get_source_code(script_obj : Pointer(Void)) : String
Source
set_debugger_cleanup(callback : -> Void) : Void
Source
set_language_object(obj : Pointer(Void)) : Void
Source
set_language_registered(registered : Bool) : Void
Source
set_loader_registered(registered : Bool) : Void
Source
set_reloading(reloading : Bool) : Void
Source
set_saver_registered(registered : Bool) : Void
Source
set_velocity(godot_obj : Pointer(Void), v : Vector3) : Void
Source
text_edit_get_line(text_edit : Pointer(Void), line : Int64) : String
Source
trigger_debugger_cleanup
Source
type_from_variant(type : Int32, dst : Pointer(Void), variant_ptr : Pointer(Void)) : Void
Source
unregister_alive_instance(boxed : Pointer(Void)) : Void
Source
unregister_alive_instance_by_ptr(godot_obj : Pointer(Void)) : Void
Source
use_accumulated_input
Source
use_accumulated_input=(enable : Bool) : Void
Source
variant_from_type(type : Int32, variant_ptr : Pointer(Void), src : Pointer(Void)) : Void
Source
warning(desc : String, msg : String = "", func : String = "", file : String = "", line : Int32 = 0) : Void
Source