Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val packedLength: Int

The number of elements used to pack the object into an array.

Functions

Link copied to clipboard

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

Link copied to clipboard

Creates an outline of a cube from the dimensions of an AxisAlignedBoundingBox.

Link copied to clipboard

Creates an outline of a cube centered at the origin given its dimensions.

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

Stores the provided instance into the provided array.

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

Retrieves an instance from a packed array.