Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

EditorSceneFormatImporterBlend

继承: EditorSceneFormatImporter < RefCounted < Object

Blender 的 .blend 场景文件格式的导入器。

描述

通过 glTF 2.0 3D 导入管道导入使用 .blend 文件格式的 Blender 场景。该导入器要求用户安装 Blender,以便将场景导出为 glTF 2.0。

Blender 可执行文件的位置是通过 filesystem/import/blender/blender3_path 编辑器设置来设置的。

该导入器仅在启用 ProjectSettings.filesystem/import/blender/enabled 时使用,否则不会导入项目文件夹中存在的 .blend 文件。

Blend 导入需要 Blender 3.0。

在内部,EditorSceneFormatImporterBlend 使用 Blender glTF“使用原始”模式来引用外部纹理。