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.

45 lines (44 loc) 1.01 kB
import { Cesium } from "../namespace"; /** * 近景天空盒子 * @noInheritDoc * @example * ```ts * scene.skyBox = new BC.GroundSkyBox({ * sources: { * positiveX: 'skybox_px.png', * negativeX: 'skybox_nx.png', * positiveY: 'skybox_py.png', * negativeY: 'skybox_ny.png', * positiveZ: 'skybox_pz.png', * negativeZ: 'skybox_nz.png', * }, * }) * ``` */ declare class GroundSkyBox extends Cesium.SkyBox { offsetAngle: number; _sources: any; _cubeMap: any; _command: any; _attributeLocations: any; _useHdr: any; show: any; sources: any; /** * * @param options * @example * ```json * //options(可选) * { * "sources": {}, // 六个面的贴图 * "show": true, //显示 * "offsetAngle": 0 //旋转角度 * } * ``` */ constructor(options?: any); update(frameState?: any, useHdr?: any): any; } export default GroundSkyBox;