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.

Blender ESCN 导出器

备注

本章涉及名为Godot Blender Exporter的Blender插件, 可在: https://github.com/godotengine/godot-blender- 下载

该插件可用于以Godot特定的场景格式ESCN, 来导出Blender场景, 该格式类似于TSCN(文本格式), 但将其导入为二进制SCN以提高性能.

导出细节

禁用特定对象

有时您不希望导出某些对象(例如用于烘焙的高分辨率模型). 如果未在场景中渲染对象, 则不会导出该对象. 可以在大纲视图中设置:

../../../_images/hide.jpg

隐藏在视图中的对象将被导出, 但将隐藏在Godot场景中.

构建管线集成

If you have hundreds of model files, you don't want your artists to waste time manually exporting their blend files. To combat this, the exporter provides a Python function io_scene_godot.export(out_file_path) that can be called to export a file. This allows easy integration with other build systems. An example Makefile and Python script that exports all the blends in a directory are present in the godot-blender-exporter repository.