ConstructorOptions

Properties

Link copied to clipboard
abstract val blendOption: BlendOption?

The label blending option. The default is used for rendering both opaque and translucent labels. However, if either all of the labels are completely opaque or all are completely translucent, setting the technique to BlendOption.OPAQUE or BlendOption.TRANSLUCENT can improve performance by up to 2x. Default value - BlendOption.OPAQUE_AND_TRANSLUCENT

Link copied to clipboard

The distance from the camera, beyond which, labels are depth-tested against an approximation of the globe ellipsoid rather than against the full globe depth buffer. If unspecified, the default value is determined relative to the value of Ellipsoid.default.

Link copied to clipboard

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

Link copied to clipboard
abstract val modelMatrix: Matrix4?

The 4x4 transformation matrix that transforms each label from model to world coordinates. Default value - Matrix4.IDENTITY

Link copied to clipboard
abstract val scene: Scene?

Must be passed in for labels that use the height reference property or will be depth tested against the globe.

Link copied to clipboard
abstract val show: Boolean?

Determines if the labels in the collection will be shown. Default value - true

Link copied to clipboard

The distance from the camera, within which, lables with a Label.heightReference value of HeightReference.CLAMP_TO_GROUND or HeightReference.CLAMP_TO_TERRAIN are depth tested against three key points. This ensures that if any key point of the label is visible, the whole label will be visible. If unspecified, the default value is determined relative to the value of Ellipsoid.default.