FillSymbol3DLayer

FillSymbol3DLayer is used to render the surfaces of flat 2D Polygon geometries and 3D volumetric meshes in a SceneView.

Referenced by: MeshSymbol3D, PolygonSymbol3D

Properties

Property Details
castShadows Boolean to control the shadow casting behaviour of the rendered geometries (only applies to MeshSymbol3D).
edges Specifies an edge visualization style (only applies to MeshSymbol3D).
enable
material The material used to shade the geometry, including colorMixMode options.
outline The outline of the symbol layer (only applies to PolygonSymbol3D).
pattern The pattern used to render the fill of the polygon (only applies to PolygonSymbol3D).
type Specifies the type of symbol used.
Valid value of this property Fill

Fill SymbolLayer Example

{
  "type": "Fill",
  "material": {
    "color": [
      255,
      0,
      0
    ],
    "colorMixMode": "replace"
  },
  "outline": {
    "size": 1,
    "color": [
      255,
      0,
      0
    ],
    "pattern": {
      "type": "style",
      "style": "dash"
    }
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.