assign_material
Apply a material to an object by targeting an existing slot or creating a new slot when none is specified.
Instructions
Assign a material to an object. If slot is specified, replaces that slot; otherwise appends a new slot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | ||
| object | Yes | ||
| material | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||