mat_set_slot
Assign a material to a specified Material Editor slot (1-24) to display newly created materials in the editor.
Instructions
把一个材质放进材质编辑器的指定槽位(1..24)。常用于把新建材质显示到编辑器里。 [English] Put a material into a Material Editor slot (1..24). Handy to surface a freshly created material in the editor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | 槽位编号 1..24。 | Slot index 1..24. | |
| material | Yes | 材质名称。 | Material name. |