Export a MeshLibrary
export_mesh_libraryConverts MeshInstance3D nodes from a 3D scene into a MeshLibrary resource for GridMap, letting you reuse scene meshes as grid tiles.
Instructions
Export the meshes in a 3D scene as a MeshLibrary resource for GridMap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenePath | Yes | The 3D scene (.tscn) containing MeshInstance3D nodes. | |
| outputPath | Yes | Where to save the library, e.g. "res://tiles.res". | |
| projectPath | No | Folder containing project.godot. Optional: defaults to the project Claude Code is running in. | |
| meshItemNames | No | Only include these mesh names (default: all). |