Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun createGeometry(corridorOutlineGeometry: CorridorOutlineGeometry): Geometry?

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

Link copied to clipboard
external fun pack(value: CorridorOutlineGeometry, 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: CorridorOutlineGeometry? = definedExternally): CorridorOutlineGeometry

Retrieves an instance from a packed array.