Companion

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
fun createGeometry(boxGeometry: BoxGeometry): Geometry?

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

Link copied to clipboard

Creates a cube from the dimensions of an AxisAlignedBoundingBox.

Link copied to clipboard

Creates a cube centered at the origin given its dimensions.

Link copied to clipboard
open override fun pack(value: BoxGeometry, array: ReadonlyArray<Double>, startingIndex: Int?): ReadonlyArray<Double>

Stores the provided instance into the provided array.

Link copied to clipboard
open override fun unpack(array: ReadonlyArray<Double>, startingIndex: Int?, result: BoxGeometry?): BoxGeometry

Retrieves an instance from a packed array.