unpackInterpolationResult

fun unpackInterpolationResult(array: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, sourceArray: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>, firstIndex: Int? = definedExternally, lastIndex: Int? = definedExternally, result: Quaternion? = definedExternally): Quaternion(source)

Retrieves an instance from a packed array converted with convertPackedArrayForInterpolation.

Return

The modified result parameter or a new Quaternion instance if one was not provided.

Parameters

array

The array previously packed for interpolation.

sourceArray

The original packed array.

firstIndex

The firstIndex used to convert the array. Default value - 0

lastIndex

The lastIndex used to convert the array. Default value - packedArray.size

result

The object into which to store the result.

See also