Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Blender ESCN 导出器¶
备注
本章涉及名为Godot Blender Exporter的Blender插件, 可在: https://github.com/godotengine/godot-blender- 下载
该插件可用于以Godot特定的场景格式ESCN, 来导出Blender场景, 该格式类似于TSCN(文本格式), 但将其导入为二进制SCN以提高性能.
导出细节¶
禁用特定对象¶
有时你不希望导出某些对象(例如用于烘焙的高分辨率模型). 如果未在场景中渲染对象, 则不会导出该对象. 可以在大纲视图中设置:
隐藏在视图中的对象将被导出, 但将隐藏在Godot场景中.
构建管线集成¶
如果你有数百个模型文件,不希望艺术家浪费时间手动导出他们的 blend 文件。为了解决这个问题,导出器提供了一个 Python 函数 io_scene_godot.export(out_file_path),可以调用它来导出文件。这样可以轻松地与其他构建系统集成。将所有 blend 文件导出到同一目录的示例 Makefile 和 Python 脚本位于 godot-blender-exporter 存储库 中。