UNPKG

bcgis-type

Version:

The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.

57 lines (56 loc) 1.18 kB
import Viewer from "../../viewer/Viewer"; import Animation from "../Animation"; /** * 地球自转 * @example * ```ts * let globeRotate = new BC.GlobeRotate(viewer, { * duration: 5, * speed: 1000, * callback: () => {}, * }) * globeRotate.start() * ``` */ declare class GlobeRotate extends Animation { /** * @param viewer 3D场景 * @param options 选项 */ constructor(viewer: Viewer, options?: { /** * 速度 */ speed: number; /**持续时间,当此值大于0时,callback才会生效 */ duration: number; /** * 执行完成的回调函数 */ callback: any; /** * 回调函数执行上下文 */ context: any; }); /** * 类型 * @internal */ get type(): any; /** * @param scene * @param time * @returns {boolean} */ private _icrf; /** * Bind the Event */ protected _bindEvent(): void; /** * Unbind the Event */ protected _unbindEvent(): void; } export default GlobeRotate;