mat_create_standard
Create a classic Standard material with an optional diffuse color and assign it to objects for legacy shading workflows.
Instructions
创建一个 StandardMaterial(经典标准材质),可选漫反射颜色,并可顺手赋给对象。在 PBR/物理灯光下它表现偏旧;新项目优先用 mat_create_physical。 [English] Create a StandardMaterial (classic standard) with an optional diffuse colour, optionally assigning it to objects. Looks dated under PBR/physical lighting; prefer mat_create_physical for new work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 材质名称。 | Material name. | |
| diffuse | No | 漫反射颜色 [0-255],也可传 "#RRGGBB"。 | Diffuse colour [0-255], or a "#RRGGBB" string. | |
| objects | No | 创建后赋给这些对象;省略则不赋值。 | Assign to these objects after creation; omit to skip. |