Skip to content

KBE3D / KBCore / Cesium / Rotation / unpackInterpolationResult

函数: unpackInterpolationResult()

unpackInterpolationResult(array: number[], sourceArray: number[], firstIndex?: number, lastIndex?: number, result?: Rotation): Rotation

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

参数

array

number[]

The array previously packed for interpolation.

sourceArray

number[]

The original packed array.

firstIndex?

number

The firstIndex used to convert the array.

lastIndex?

number

The lastIndex used to convert the array.

result?

Rotation

The object into which to store the result.

返回

Rotation

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

KBE3D @3.0.0 Copyright © 2024-present KBE3D