ConstructorOptions

external interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract external val allowPicking: Boolean?

When true, primitives are pickable with Scene.pick. When false, memory and initialization cost are lower. Default value - false

Link copied to clipboard
abstract external val blendOption: BlendOption?

Determines how primitives in the collection are blended with the scene. Must be BlendOption.OPAQUE or BlendOption.TRANSLUCENT; BlendOption.OPAQUE_AND_TRANSLUCENT is not supported. Default value - BlendOption.TRANSLUCENT

Link copied to clipboard
abstract external val boundingVolume: BoundingSphere?

Bounding volume, in world space, for the collection.

Link copied to clipboard
abstract external val debugShowBoundingVolume: Boolean?
Link copied to clipboard
abstract external val heightReference: HeightReference?
Link copied to clipboard
abstract external val modelMatrix: Matrix4?

Transforms geometry from model to world coordinates. Default value - Matrix4.IDENTITY

Link copied to clipboard
abstract external val positionDatatype: ComponentDatatype?
Link copied to clipboard
abstract external val positionNormalized: Boolean?
Link copied to clipboard
abstract external val primitiveCountMax: Double?
Link copied to clipboard
abstract external val show: Boolean?
Link copied to clipboard
abstract external val vertexCountMax: Double?
Link copied to clipboard
abstract external val widthUnits: JsAny?

Unit of polyline widths in this collection: "pixels" on the screen, or "meters" in world space. A clamped HeightReference measures those meters on the ellipsoid surface, so elevation and terrain slope stretch the drawn width. Widths in meters have an upper limit to reduce discontinuities across tile seams. Default value - "pixels"