set_material_3d
Replace a MeshInstance3D surface material with a fresh StandardMaterial3D, setting properties like albedo, metallic, roughness, emission, and textures. Omitted values reset to defaults.
Instructions
Set a fresh StandardMaterial3D as a MeshInstance3D surface override — omitted params reset to class defaults, replacing any previous override
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_path": "<node_path>"
},
"name": "set_material_3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emission | No | ||
| metallic | No | ||
| cull_mode | No | ||
| node_path | Yes | ||
| roughness | No | ||
| albedo_color | No | ||
| transparency | No | ||
| surface_index | No | ||
| albedo_texture | No | ||
| emission_color | No | ||
| normal_texture | No | ||
| emission_energy | No | ||
| emission_texture | No | ||
| metallic_texture | No | ||
| roughness_texture | No |