Material

The material used to shade the geometry.

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.
  • 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.

If property is present, must be one of the following values:
  • tint
  • replace
  • multiply
transparency Type:Integer

Example

{
  "material": {
    "color": [
      255,
      0,
      0
    ],
    "transparency": 20,
    "colorMixMode": "tint"
  }
}

Feedback on this topic?