Skip to content

KBE3D / KBCore / Cesium / PackableForInterpolation / unpackInterpolationResult

函数: unpackInterpolationResult()

unpackInterpolationResult(array: number[], sourceArray: number[], startingIndex?: number, lastIndex?: number, result?: any): any

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

参数

array

number[]

The array previously packed for interpolation.

sourceArray

number[]

The original packed array.

startingIndex?

number

The startingIndex used to convert the array.

lastIndex?

number

The lastIndex used to convert the array.

result?

any

The object into which to store the result.

返回

any

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

KBE3D @3.0.0 Copyright © 2024-present KBE3D