The material used to shade the geometry.
Referenced by: ExtrudeSymbol3DLayer, IconSymbol3DLayer, LineSymbol3DLayer, ObjectSymbol3DLayer, PathSymbol3DLayer, TextSymbol3DLayer
Properties
| Property | Details |
|---|---|
| color | Color is represented as a three or four-element array. |
| emissive | Properties for emissive materials. |
| transparency | A value between 100 (full transparency) and 0 (full opacity). Ignored if no color is specified. |
Color material Example
{
"color": [
255,
0,
0
],
"transparency": 20
}
Material with color and emissive Example
{
"color": [
255,
0,
0
],
"transparency": 20,
"emissive": {
"strength": 0.8,
"source": "emissive"
}
}