mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
41 lines
1010 B
XML
41 lines
1010 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptPreload" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
|
|
<brief_description>
|
|
Creates a new [Resource] or loads one from the filesystem.
|
|
</brief_description>
|
|
<description>
|
|
Creates a new [Resource] or loads one from the filesystem.
|
|
[b]Input Ports:[/b]
|
|
none
|
|
[b]Output Ports:[/b]
|
|
- Data (object): [code]res[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_preload" qualifiers="const">
|
|
<return type="Resource">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_preload">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="resource" type="Resource">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="resource" type="Resource" setter="set_preload" getter="get_preload">
|
|
The [Resource] to load.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|