ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract var allowPicking: Boolean?

When true, each geometry instance will only be pickable with Scene.pick. When false, GPU memory is saved. Default value - true

Link copied to clipboard
abstract var appearance: Appearance?

The Appearance used to render the polyline. Defaults to a white color Material on a PolylineMaterialAppearance.

Link copied to clipboard
abstract var asynchronous: Boolean?

Determines if the primitive will be created asynchronously or block until ready. If false initializeTerrainHeights() must be called first. Default value - true

Link copied to clipboard

Determines whether terrain, 3D Tiles or both will be classified. Default value - ClassificationType.BOTH

Link copied to clipboard

For debugging only. Determines if this primitive's commands' bounding spheres are shown. Default value - false

Link copied to clipboard

For debugging only. Determines if the shadow volume for each geometry in the primitive is drawn. Must be true on creation to have effect. Default value - false

Link copied to clipboard

GeometryInstances containing GroundPolylineGeometry

Link copied to clipboard
abstract var interleave: Boolean?

When true, geometry vertex attributes are interleaved, which can slightly improve rendering performance but increases load time. Default value - false

Link copied to clipboard

When true, the primitive does not keep a reference to the input geometryInstances to save memory. Default value - true

Link copied to clipboard
abstract var show: Boolean?

Determines if this primitive will be shown. Default value - true