set_mesh_surface_material
Assign a material to any surface of a MeshInstance in a Godot scene using scene path, node name, material file, and optional surface index.
Instructions
Set surface material on MeshInstance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | MeshInstance node name | |
| scene_path | Yes | Path to .tscn scene | |
| material_path | Yes | Path to material .tres file | |
| surface_index | No | Surface index |