class

Godot::ResourceFormatLoaderCrystal

Inherits Godot::ResourceFormatLoader < Godot::RefCounted < Godot::Object < Reference < Object

Loader connecting .cr files in Godot's FileSystem dock to CrystalScript resources.

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

_godot_has_virtual_method(method_name : String) : Bool
Source
clear_instance
Source
ensure_registered
Source
godot_class_name
Source
godot_parent_class_name
Source
resolve_file_path(target_path : String) : String

Resolves a virtual path (res:// or user://) or relative path to a readable file on disk

Source
unregister
Source

Instance methods

_godot_call_tool_button(button_name : String) : Void

Dispatches inspector tool button clicks on this object.

Source
_godot_call_virtual(method_name : String, delta : Float64) : Void

Virtual method and property dispatch hooks overridden by class registration macros. Delta timestep is received with 64-bit precision (Float64).

Source
_godot_call_virtual_with_data(method_name : String, args : Pointer(Pointer(Void)), ret : Pointer(Void)) : Void

Dispatches generic virtual methods with raw arguments and return buffer.

Source
_godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void

Invoked by the GDExtension bridge when retrieving an exposed @export property.

Source
_godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void

Invoked by the GDExtension bridge when setting an exposed @export property.

Source
call(method : String, *args) : Pointer(Void)

Calls the named method on the object with variable arguments.

Source
get_recognized_extensions
Source
get_resource_type(path : String) : String
Source
handles_type(typename : String) : Bool
Source
load(path : String, original_path : String = "") : CrystalScript | Nil
Source