batch_instance_scene
Instance a scene multiple times in one operation, each with distinct position and rotation transforms, to batch populate a Godot scene efficiently.
Instructions
Instance a scene multiple times with different transforms in a single operation. Much more efficient than calling instance_scene repeatedly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the parent scene file | |
| instancePath | Yes | Path to the scene to instance (e.g. scenes/rail.tscn) | |
| parentPath | No | Parent node path (default: root) | |
| transforms | Yes | Array of transforms: [{position: [x,y,z], rotation: [x,y,z]}, ...] |