Companion

external object Companion(source)

Types

Link copied to clipboard
external interface FromConstantHeightsOptions

Functions

Link copied to clipboard
external fun createGeometry(wallGeometry: WallOutlineGeometry): Geometry?

Computes the geometric representation of a wall outline, including its vertices, indices, and a bounding sphere.

Link copied to clipboard

A description of a walloutline. A wall is defined by a series of points, which extrude down to the ground. Optionally, they can extrude downwards to a specified height.

Link copied to clipboard
external fun pack(value: WallOutlineGeometry, array: ReadonlyArray<JsDouble>, startingIndex: Int? = definedExternally): ReadonlyArray<JsDouble>

Stores the provided instance into the provided array.

Link copied to clipboard
external fun unpack(array: ReadonlyArray<JsDouble>, startingIndex: Int? = definedExternally, result: WallOutlineGeometry? = definedExternally): WallOutlineGeometry

Retrieves an instance from a packed array.