Set the appearance of a solid. This only works on solids, not sketches or individual paths.
This will work on any solid, including extruded solids, revolved solids, and shelled solids.
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
solids | [Solid; 1+] or ImportedGeometry | The The solid(s) whose appearance is being set. | Yes |
color | string | Color of the new material, a hex string like '#ff0000'. | Yes |
metalness | number(_) | Metalness of the new material, a percentage like 95.7. | No |
roughness | number(_) | Roughness of the new material, a percentage like 95.7. | No |
Returns
[Solid; 1+] or ImportedGeometry