Companion

external object Companion(source)

Functions

Link copied to clipboard
suspend external fun initializeTerrainHeights()

Initializes the minimum and maximum terrain heights. This only needs to be called if you are creating the GroundPolylinePrimitive synchronously.

Link copied to clipboard
Link copied to clipboard
external fun isSupported(scene: Scene): Boolean

Checks if the given Scene supports GroundPolylinePrimitives. GroundPolylinePrimitives require support for the WEBGL_depth_texture extension.