Appearance
KBE3D / KBCore / Cesium / Transforms / preloadIcrfFixed
函数: preloadIcrfFixed()
preloadIcrfFixed(
timeInterval:TimeInterval):Promise<void>
Preloads the data necessary to transform between the ICRF and Fixed axes, in either direction, over a given interval. This function returns a promise that, when resolved, indicates that the preload has completed.
参数
timeInterval
The interval to preload.
返回
Promise<void>
A promise that, when resolved, indicates that the preload has completed and evaluation of the transformation between the fixed and ICRF axes will no longer return undefined for a time inside the interval.
示例
ts
const interval = new Cesium.TimeInterval(...);
await Cesium.Transforms.preloadIcrfFixed(interval));
// the data is now loaded