Stage Material Set
stage_material_setSet a material's base colour in linear RGB on the open page as one undoable edit; every mesh using it updates, and changes save like a hand edit.
Instructions
Set a material's base colour (linear RGB) on the open page now, as one undoable edit that saves like a hand edit (page command: material). Every mesh using that material changes, merged pieces included. object= instead of material: that object's material when it has exactly one. Saved in edits.json materials (the build applies base_color). Errors: no such material (exact name, then case insensitive), no color, an object with more or fewer than one material. Page replies {material, color, color0, meshes}. Emits: material_change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| scene | Yes | ||
| object | No | ||
| material | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |