Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun createGeometry(frustumGeometry: FrustumGeometry): Geometry?

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

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

Retrieves an instance from a packed array.