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.
33 lines (32 loc) • 619 B
TypeScript
import Viewer from "../viewer/Viewer";
/**
* 场景动画基类
*/
declare abstract class Animation {
protected _viewer: Viewer;
protected _options: any;
/**
* @param viewer 3D场景
* @internal
*/
constructor(viewer: Viewer);
/**
* 绑定事件
*/
protected abstract _bindEvent(): any;
/**
* 解绑事件
*/
protected abstract _unbindEvent(): any;
/**
* 开始动画
* @returns
*/
start(): this;
/**
* 停止动画
* @returns
*/
stop(): this;
}
export default Animation;