mat_delete
Remove a material from the scene by unassigning it from every object that uses it and clearing its editor slots, while leaving the objects intact.
Instructions
从场景中删除一个材质:把所有引用它的对象材质设为空,并清空编辑器里对应的槽位。这会断开对象与材质的关联,但对象本身不会被删除。 [English] Delete a material from the scene: unassign it from every object that uses it and clear the matching editor slots. This detaches the material but does not delete the objects.
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": {
"material": "<material>"
},
"name": "mat_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | Yes | 材质名称。 | Material name. |