This style can be used to add an outline to meshes and/or point clouds.

This object can only be used with TileSet3DLayer.outlineStyle and OcclusionStyle.outlineStyle.

Since

2020.1

Hierarchy

  • OutlineStyle

Properties

outlineColorExpression?: null | Expression<string>

Outline color that is applied to the object that is obscured by another object. Note that this outline is only applied to the part of the object that is hidden.

Note: The expression must not use an attribute expression.

Since

2020.1

outlineWidth?: number

The width of the outline in pixels. See outlineColorExpression for more information. The width for the outline, must be larger than or equal to 0. To disable the outline it is recommended to set outlineColorExpression to null.

Note: Setting a large width can have a performance impact.

Default

1

Since

2020.1