mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
3fa77b3172
It has no practical use case and just generates noise for each alpha, beta, etc.
73 lines
2.0 KiB
XML
73 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ResourcePreloader" inherits="Node" category="Core" version="3.1">
|
|
<brief_description>
|
|
Resource Preloader Node.
|
|
</brief_description>
|
|
<description>
|
|
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.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="add_resource">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<argument index="1" name="resource" type="Resource">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_resource" qualifiers="const">
|
|
<return type="Resource">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<description>
|
|
Return the resource given a text-id.
|
|
</description>
|
|
</method>
|
|
<method name="get_resource_list" qualifiers="const">
|
|
<return type="PoolStringArray">
|
|
</return>
|
|
<description>
|
|
Return the list of resources inside the preloader.
|
|
</description>
|
|
</method>
|
|
<method name="has_resource" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<description>
|
|
Return true if the preloader has a given resource.
|
|
</description>
|
|
</method>
|
|
<method name="remove_resource">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<description>
|
|
Remove a resource from the preloader by text id.
|
|
</description>
|
|
</method>
|
|
<method name="rename_resource">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="name" type="String">
|
|
</argument>
|
|
<argument index="1" name="newname" type="String">
|
|
</argument>
|
|
<description>
|
|
Rename a resource inside the preloader, from a text-id to a new text-id.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|