blob: 41fdbd05ef530a8a894e03e6d54347e0fb936596 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<?xml version="1.0" encoding="UTF-8" ?>
<class name="ResourceLoader" inherits="Object" category="Core" version="3.2">
<brief_description>
Resource Loader.
</brief_description>
<description>
Resource Loader. This is a static object accessible as [code]ResourceLoader[/code]. GDScript has a simplified load() function, though.
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="exists">
<return type="bool">
</return>
<argument index="0" name="path" type="String">
</argument>
<argument index="1" name="type_hint" type="String" default="""">
</argument>
<description>
</description>
</method>
<method name="get_dependencies">
<return type="PoolStringArray">
</return>
<argument index="0" name="path" type="String">
</argument>
<description>
</description>
</method>
<method name="get_recognized_extensions_for_type">
<return type="PoolStringArray">
</return>
<argument index="0" name="type" type="String">
</argument>
<description>
Return the list of recognized extensions for a resource type.
</description>
</method>
<method name="has">
<return type="bool">
</return>
<argument index="0" name="path" type="String">
</argument>
<description>
</description>
</method>
<method name="has_cached">
<return type="bool">
</return>
<argument index="0" name="path" type="String">
</argument>
<description>
</description>
</method>
<method name="load">
<return type="Resource">
</return>
<argument index="0" name="path" type="String">
</argument>
<argument index="1" name="type_hint" type="String" default="""">
</argument>
<argument index="2" name="no_cache" type="bool" default="false">
</argument>
<description>
</description>
</method>
<method name="load_interactive">
<return type="ResourceInteractiveLoader">
</return>
<argument index="0" name="path" type="String">
</argument>
<argument index="1" name="type_hint" type="String" default="""">
</argument>
<description>
Load a resource interactively, the returned object allows to load with high granularity.
</description>
</method>
<method name="set_abort_on_missing_resources">
<return type="void">
</return>
<argument index="0" name="abort" type="bool">
</argument>
<description>
Change the behavior on missing sub-resources. Default is to abort load.
</description>
</method>
</methods>
<constants>
</constants>
</class>
|