Companion

external object Companion(source)

Types

Link copied to clipboard
external interface ComputeRectangleOptions

Functions

Link copied to clipboard
external fun computeRectangle(options: CorridorGeometry.Companion.ComputeRectangleOptions, result: Rectangle? = definedExternally): Rectangle

Computes the bounding rectangle given the provided options

Link copied to clipboard
external fun createGeometry(corridorGeometry: CorridorGeometry): Geometry?

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

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

Retrieves an instance from a packed array.