Up to date

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

导出 3D 场景


In Godot, it is possible to export 3D scenes as a glTF 2.0 file. You can export as a glTF binary (.glb file) or glTF embedded with textures (gltf + .bin + textures). This allows you to create scenes in Godot, such as a CSG mesh blockout for a level, export it to clean it up in a program such as Blender, and then bring it back into Godot.


只有 Blender 2.83 及之后的版本才能导入由 Godot 导出的 glTF 文件。

To export a scene in the editor go to Scene > Export As... > glTF 2.0 Scene...



glTF 导出有一些限制。

  • 不支持导出粒子,因为不同的引擎对粒子的实现是不同的。

  • 无法导出 ShaderMaterial。

  • 不支持导出 2D 场景。


3D scenes can be saved at runtime using runtime file loading and saving, including from an exported project.