Bind EditorFileSystem::is_importing()
This commit is contained in:
parent
68410acc61
commit
03d6e70dba
2 changed files with 7 additions and 0 deletions
|
|
@ -36,6 +36,12 @@
|
|||
Returns the scan progress for 0 to 1 if the FS is being scanned.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_importing" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if resources are currently being imported.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_scanning" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
|
|
|
|||
|
|
@ -3676,6 +3676,7 @@ bool EditorFileSystem::_scan_extensions() {
|
|||
void EditorFileSystem::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_filesystem"), &EditorFileSystem::get_filesystem);
|
||||
ClassDB::bind_method(D_METHOD("is_scanning"), &EditorFileSystem::is_scanning);
|
||||
ClassDB::bind_method(D_METHOD("is_importing"), &EditorFileSystem::is_importing);
|
||||
ClassDB::bind_method(D_METHOD("get_scanning_progress"), &EditorFileSystem::get_scanning_progress);
|
||||
ClassDB::bind_method(D_METHOD("scan"), &EditorFileSystem::scan);
|
||||
ClassDB::bind_method(D_METHOD("scan_sources"), &EditorFileSystem::scan_changes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue