ResourceImporter
继承: RefCounted < Object
派生: EditorImportPlugin, ResourceImporterBitMap, ResourceImporterBMFont, ResourceImporterCSVTranslation, ResourceImporterDynamicFont, ResourceImporterImage, ResourceImporterImageFont, ResourceImporterLayeredTexture, ResourceImporterMP3, ResourceImporterOBJ, ResourceImporterOggVorbis, ResourceImporterScene, ResourceImporterShaderFile, ResourceImporterTexture, ResourceImporterTextureAtlas, ResourceImporterWAV
资源导入器的基类。
描述
这是 Godot 资源导入器的基类。要使用编辑器插件实现你自己的资源导入器,请参考 EditorImportPlugin。
教程
枚举
enum ImportOrder:
ImportOrder IMPORT_ORDER_DEFAULT = 0
默认导入顺序。
ImportOrder IMPORT_ORDER_SCENE = 100
场景的导入顺序,确保场景被导入在所有其他核心资源(如纹理)之后。自定义导入器的导入顺序一般应低于100
,以避免导入依赖自定义资源的场景时出现问题。
© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7
.
Built with Sphinx using a theme provided by Read the Docs.