unpackInterpolationResult
fun unpackInterpolationResult(array: ReadonlyArray<Double>, sourceArray: ReadonlyArray<Double>, 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.