ConstructorOptions

external interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract external val 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 external val appearance: Appearance?

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

Link copied to clipboard
abstract external val 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
abstract external val classificationType: ClassificationType?

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

Link copied to clipboard
abstract external val debugShowBoundingVolume: Boolean?

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

Link copied to clipboard
abstract external val debugShowShadowVolume: Boolean?

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
abstract external val geometryInstances: GeometryInstance?

GeometryInstances containing GroundPolylineGeometry

Link copied to clipboard
abstract external val 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
abstract external val releaseGeometryInstances: Boolean?

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

Link copied to clipboard
abstract external val show: Boolean?

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