Companion
Types
Link copied to clipboard
interface ComputeRectangleOptions
Functions
Link copied to clipboard
fun computeRectangle(options: RectangleGeometry.Companion.ComputeRectangleOptions, result: Rectangle? = definedExternally): Rectangle
Computes the bounding rectangle based on the provided options
Link copied to clipboard
Computes the geometric representation of a rectangle, including its vertices, indices, and a bounding sphere.
Link copied to clipboard
open override fun pack(value: RectangleGeometry, 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: RectangleGeometry? = definedExternally): RectangleGeometry
Retrieves an instance from a packed array.