mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
f7f6115f76
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
111 lines
2.9 KiB
XML
111 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="EditorFileSystem" inherits="Node" category="Core" version="3.2">
|
|
<brief_description>
|
|
Resource filesystem, as the editor sees it.
|
|
</brief_description>
|
|
<description>
|
|
This object holds information of all resources in the filesystem, their types, etc.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_file_type" qualifiers="const">
|
|
<return type="String">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<description>
|
|
Gets the type of the file, given the full path.
|
|
</description>
|
|
</method>
|
|
<method name="get_filesystem">
|
|
<return type="EditorFileSystemDirectory">
|
|
</return>
|
|
<description>
|
|
Gets the root directory object.
|
|
</description>
|
|
</method>
|
|
<method name="get_filesystem_path">
|
|
<return type="EditorFileSystemDirectory">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<description>
|
|
Returns a view into the filesystem at [code]path[/code].
|
|
</description>
|
|
</method>
|
|
<method name="get_scanning_progress" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<description>
|
|
Returns the scan progress for 0 to 1 if the FS is being scanned.
|
|
</description>
|
|
</method>
|
|
<method name="is_scanning" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<description>
|
|
Returns [code]true[/code] of the filesystem is being scanned.
|
|
</description>
|
|
</method>
|
|
<method name="scan">
|
|
<return type="void">
|
|
</return>
|
|
<description>
|
|
Scan the filesystem for changes.
|
|
</description>
|
|
</method>
|
|
<method name="scan_sources">
|
|
<return type="void">
|
|
</return>
|
|
<description>
|
|
Check if the source of any imported resource changed.
|
|
</description>
|
|
</method>
|
|
<method name="update_file">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="path" type="String">
|
|
</argument>
|
|
<description>
|
|
Update a file information. Call this if an external program (not Godot) modified the file.
|
|
</description>
|
|
</method>
|
|
<method name="update_script_classes">
|
|
<return type="void">
|
|
</return>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<signals>
|
|
<signal name="filesystem_changed">
|
|
<description>
|
|
Emitted if the filesystem changed.
|
|
</description>
|
|
</signal>
|
|
<signal name="resources_reimported">
|
|
<argument index="0" name="resources" type="PoolStringArray">
|
|
</argument>
|
|
<description>
|
|
Remitted if a resource is reimported.
|
|
</description>
|
|
</signal>
|
|
<signal name="resources_reload">
|
|
<argument index="0" name="resources" type="PoolStringArray">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</signal>
|
|
<signal name="sources_changed">
|
|
<argument index="0" name="exist" type="bool">
|
|
</argument>
|
|
<description>
|
|
Emitted if the source of any imported file changed.
|
|
</description>
|
|
</signal>
|
|
</signals>
|
|
<constants>
|
|
</constants>
|
|
</class>
|