ResourcePreloader

Resource Preloader Node.

This node is used to preload sub-resources inside a scene, so when the scene is loaded all the resources are ready to use and be retrieved from here.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_getResources
Array _getResources()
_setResources
void _setResources(Array arg0)
addResource
void addResource(StringArg0 name, Resource resource)
getResource
Ref!Resource getResource(StringArg0 name)

Return the resource given a text-id.

getResourceList
PoolStringArray getResourceList()

Return the list of resources inside the preloader.

hasResource
bool hasResource(StringArg0 name)

Return true if the preloader has a given resource.

opAssign
ResourcePreloader opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(ResourcePreloader other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
removeResource
void removeResource(StringArg0 name)

Remove a resource from the preloader by text id.

renameResource
void renameResource(StringArg0 name, StringArg1 newname)

Rename a resource inside the preloader, from a text-id to a new text-id.

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

resources
Array resources [@property getter]
Array resources [@property setter]

Static functions

_new
ResourcePreloader _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta