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 檔。

要在編輯器中匯出場景,請轉到**Project > Tools > Export GLTF...**\\

../../_images/gltf_godot_export.png

限制

Godot 沒有使用限制

  • 不支援匯出粒子,因為不同的引擎對粒子的實作是不同的。

  • 無法匯出 ShaderMaterial。

  • 尚未支援 MIDI 輸出。

也參考

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