The material used to shade the geometry, including colorMixMode options.

Referenced by: FillSymbol3DLayer

Properties

PropertyDetails
colorColor is represented as a three or four-element array.
colorMixModeControls how symbolLayer or visualVariable color is applied onto the underlying geometry color/texture. This property only applies to FillSymbol3DLayer within MeshSymbol3D.
  • tint: the feature’s appearance (in terms of color) should be altered to match the symbol / visual variable color.
  • replace: the feature’s color is replaced with the symbol / visual variable color.
  • multiply: the feature’s color is multiplied with the symbol color.

Valid values:
  • multiply
  • replace
  • tint
emissiveProperties for emissive materials.
transparencyA 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"
}
}