Companion

Properties

Link copied to clipboard
open external override val packedLength: Int

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

Functions

Link copied to clipboard
external fun createGeometry(rectangleGeometry: RectangleOutlineGeometry): Geometry?

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

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

Stores the provided instance into the provided array.

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

Retrieves an instance from a packed array.