poly_assign_material_id
Assign a material ID to selected faces for multi/sub-object materials. Faces sharing an ID use the same sub-material slot.
Instructions
给所选面设置材质 ID(多材质的前缀)。同一 ID 的面共享子材质槽。 [English] Assign a material ID to the selected faces (for multi/sub-object materials). Faces with the same ID share a sub-material slot.
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": {
"materialId": "<materialId>"
},
"name": "poly_assign_material_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| faces | No | 要设置的面索引;省略则全部面。 | Face indices to set; omit for all. | |
| objects | No | 对象名列表;省略则使用当前选择。 | Object names; omit to use the current selection. | |
| materialId | Yes | 材质 ID(从 1 开始)。 | Material ID (1-based). |