Companion

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 convertPackedArrayForInterpolation(packedArray: ReadonlyArray<JsDouble>, startingIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: ReadonlyArray<JsDouble>? = definedExternally)

Converts a packed array into a form suitable for interpolation.

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

Retrieves an instance from a packed array.

Link copied to clipboard
fun unpackInterpolationResult(array: ReadonlyArray<JsDouble>, sourceArray: ReadonlyArray<JsDouble>, firstIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: Rotation? = definedExternally): Rotation

Retrieves an instance from a packed array converted with Rotation.convertPackedArrayForInterpolation.