The material used to shade the geometry, including colorMixMode options.
Referenced by: FillSymbol3DLayer
Properties
| Property | Details |
|---|---|
| color | Color is represented as a three or four-element array. |
| colorMixMode | Controls how symbolLayer or visualVariable color is applied onto the underlying geometry color/texture. This property only applies to FillSymbol3DLayer within MeshSymbol3D.
Valid values:
|
| emissive | Properties for emissive materials. |
| transparency | A value between 100 (full transparency) and 0 (full opacity). Ignored if no color is specified. |
Color mix mode material Example
{ "color": [ 255, 0, 0 ], "transparency": 20, "colorMixMode": "tint"}Material with color, color mix mode and emissive Example
{ "color": [ 255, 0, 0 ], "transparency": 20, "colorMixMode": "tint", "emissive": { "strength": 0.8, "source": "emissive" }}