configureGlassLayer
Configure glass material properties in 3D scenes by setting tint color, index of refraction, roughness, and thickness parameters for realistic glass rendering.
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": {
"sceneId": "<sceneId>",
"materialId": "<materialId>",
"layerId": "<layerId>"
},
"name": "configureGlassLayer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| materialId | Yes | Material ID | |
| layerId | Yes | Layer ID | |
| tint | No | Glass tint color (hex, rgb, or rgba) | |
| ior | No | Index of refraction | |
| roughness | No | Glass roughness | |
| thickness | No | Glass thickness |