EditorFileSystemDirectory

继承: Object

类别: 核心

简要说明

资源文件系统的目录。

描述

目录概念的一个更广泛的、低级的变化。

方法说明

返回名为的目录索引 name-1 如果找不到。

返回名为的文件的索引 name-1 如果找不到。

返回索引处的文件名 idx .

  • int get_file_count ( ) const

返回此目录中的文件数。

  • bool get_file_import_is_valid ( int idx ) const

返回 true 如果索引处的文件 idx 正确导入。

返回索引处文件的路径 idx .

  • String get_file_script_class_extends ( int idx ) const

  • String get_file_script_class_name ( int idx ) const

返回位于索引处的文件扩展名 idx .

返回此目录的名称。

返回此目录的父目录或 null 如果在目录上调用 res://user:// .

返回此目录的路径。

返回索引处的子目录 idx .

  • int get_subdir_count ( ) const

返回此目录中的子目录数。