class_resourceloader - vkbsb/godot GitHub Wiki
ResourceLoader
####Inherits: Object ####Category: Core
Brief Description
Resource Loader.
Member Functions
- ResourceInteractiveLoader load_interactive ( String path, String type_hint="" )
- Resource load ( String path, String type_hint="" )
- StringArray get_recognized_extensions_for_type ( String type )
- void set_abort_on_missing_resources ( bool abort )
- StringArray get_dependencies ( String arg0 )
- bool has ( String arg0 )
Description
Resource Loader. This is a static object accessible as ResourceLoader. GDScript has a simplified load() function, though.
Member Function Description
load_interactive
- ResourceInteractiveLoader load_interactive ( String path, String type_hint="" )
Load a resource interactively, the returned object allows to load with high granularity.
load
Load a resource. Optionally a hint can be given for the resource type to load.
get_recognized_extensions_for_type
- StringArray get_recognized_extensions_for_type ( String type )
Return the list of recognized extensions for a resource type.
set_abort_on_missing_resources
- void set_abort_on_missing_resources ( bool abort )
Change the behavior on missing sub-resources. Default is to abort load.