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
Sourcenew(pointer : Pointer(Void) = Pointer(Void).null)
SourceClass methods
_godot_has_virtual_method(method_name : String) : Bool
Sourceclear_instance
Sourceensure_registered
Sourcegodot_class_name
Sourcegodot_parent_class_name
Sourceresolve_file_path(target_path : String) : String
Resolves a virtual path (res:// or user://) or relative path to a readable file on disk
unregister
SourceInstance methods
_godot_call_tool_button(button_name : String) : Void
Dispatches inspector tool button clicks on this object.
_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).
_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.
_godot_get_property(prop_name : String, ret_ptr : Pointer(Void)) : Void
Invoked by the GDExtension bridge when retrieving an exposed @export property.
_godot_set_property(prop_name : String, val_ptr : Pointer(Void)) : Void
Invoked by the GDExtension bridge when setting an exposed @export property.
call(method : String, *args) : Pointer(Void)
Calls the named method on the object with variable arguments.
get_recognized_extensions
Sourceget_resource_type(path : String) : String
Sourcehandles_type(typename : String) : Bool
Source