createMaterial
Create custom materials for 3D scenes by defining properties like color, roughness, metalness, and opacity to apply realistic surface appearances to objects.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| name | Yes | Material name | |
| type | Yes | Material type | |
| color | No | Base color (hex) | |
| roughness | No | Surface roughness (0-1) | |
| metalness | No | Metalness factor (0-1) | |
| opacity | No | Opacity (0-1) | |
| transparent | No | Whether the material is transparent | |
| wireframe | No | Whether to render as wireframe | |
| emissive | No | Emissive color (hex) | |
| emissiveIntensity | No | Intensity of emission | |
| side | No | Which side to render | |
| flatShading | No | Use flat shading | |
| properties | No | Additional properties |