MaterialFillSymbolLayer

A fill used to render 3D volumetric meshes. It can also render the surfaces of 2D polygon geometries in a scene view. A MaterialFillSymbolLayer is a symbol layer used to shade a geometry with a material that defines a color by blending the color property with the geometry's color/texture information based on the selected ColorMixMode.

Since

200.5.0

Constructors

Link copied to clipboard
constructor(color: Color = Color.white)

Creates a material fill symbol layer with a given color, and default values for color mix mode (ColorMixMode.Multiply) and edges (null). Specifying a white color (default) and default color mix mode (ColorMixMode.Multiply) results in original color/texture of the meshes or geometries.

Properties

Link copied to clipboard

The Color used in the symbol layer's material fill. The alpha value of the color sets the transparency of the material fill. If alpha is 255 for a RgbColor then the material fill is opaque. If a color is not explicitly set, the default is white, RGBA(255, 255, 255, 255).

Link copied to clipboard

Specifies how the material color is applied to the geometry's color/texture. This property applies only to MultilayerMeshSymbol. The default value is ColorMixMode.Multiply.

Link copied to clipboard

Specifies the contour edges. Currently only applies to MultilayerMeshSymbol.

Inherited properties

Link copied to clipboard

The symbol layer color locked property. The color-locked status of the symbol layer. If color_locked is true, the color of that layer will not change.

Link copied to clipboard

The symbol layer enabled property. The enable status of the symbol layer. Layer will be rendered only if it is enabled.

Functions

Link copied to clipboard
open override fun clone(): MaterialFillSymbolLayer