cube

fun cube(color: Color, size: Double, anchorPosition: SceneSymbolAnchorPosition = SceneSymbolAnchorPosition.Bottom): SimpleMarkerSceneSymbol

Creates a simple marker scene symbol with cube style.

Return

A SimpleMarkerSceneSymbol.

Since

200.1.0

Parameters

color

The color of the symbol.

size

The size in meters of base of the cube in each dimension symbol.

anchorPosition

The anchor position SceneSymbolAnchorPosition of the cube symbol.

Throws

if size is not a positive or valid number