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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | Yes | 材质名称。 | Material name. |