EditorSceneFormatImporterBlend¶
继承: EditorSceneFormatImporter < RefCounted < Object
Blender 的 .blend 场景文件格式的导入器。
描述¶
通过 glTF 2.0 三维导入管道导入以.blend 文件格式保存的 Blender 场景。此导入器需要用户先安装 Blender,以便能够将场景导出为 glTF 2.0 格式。
Blender 二进制文件的位置是通过 filesystem/import/blender/blender_path 编辑器设置确定的。
只有在 ProjectSettings.filesystem/import/blender/enabled 选项被启用的情况下,此导入器才会被使用;否则,项目文件夹中存在的 .blend 文件将不会被导入。
“混合导入”功能需要使用 Blender 3.0 版本。
在内部,编辑场景格式导入器混合模式使用 Blender glTF 的“使用原始”模式来引用外部纹理。