| @@ -61,6 +61,7 @@ export default { | |||
| items: [ | |||
| { text: '全局 API', link: '/zh/api/global' }, | |||
| { text: '基础 API', link: '/zh/api/base' }, | |||
| { text: '原生 API', link: '/zh/api/origin' }, | |||
| { text: '地图 API', link: '/zh/api/tile' }, | |||
| { text: '图层 API', link: '/zh/api/layer' }, | |||
| { | |||
| @@ -35,27 +35,23 @@ global.viewer = viewer // 添加到全局变量 | |||
| ```js | |||
| //属性参数(可选) | |||
| const config = { | |||
| "contextOptions": { | |||
| "webgl": { | |||
| "alpha": false, //背景 | |||
| "depth": true, | |||
| "stencil": false, | |||
| "antialias": true, | |||
| "powerPreference": "high-performance", | |||
| "premultipliedAlpha": true, | |||
| "preserveDrawingBuffer": false, | |||
| "failIfMajorPerformanceCaveat": false | |||
| contextOptions: { | |||
| webgl: { | |||
| alpha: false, // 背景缓冲区是否包含 alpha 通道 | |||
| depth: true, // 开启深度缓冲区(通常必须开启,否则无法正确遮挡) | |||
| stencil: true, // 是否启用模板缓冲。false 可以节省显存和性能 | |||
| antialias: true, // 是否启用抗锯齿 | |||
| powerPreference: 'high-performance', // 提示浏览器优先用独显或性能更高的 GPU | |||
| premultipliedAlpha: true, // 颜色预乘 alpha, | |||
| preserveDrawingBuffer: false, // 渲染后是否保留缓冲内容。false 性能更好,但不能直接保存截图 | |||
| failIfMajorPerformanceCaveat: false, // 避免低性能环境直接报错 | |||
| }, | |||
| "allowTextureFilterAnisotropic": true | |||
| allowTextureFilterAnisotropic: true, // 启用各向异性纹理过滤,提高贴图锐度 | |||
| }, | |||
| "sceneMode": 3, | |||
| //1: 2.5D,2: 2D,3: 3D | |||
| "enableEventPropagation": false, | |||
| //是否开启鼠标事件冒泡 | |||
| "enableMouseMovePick": false, | |||
| // 是否开启鼠标移动拾取功能,开启后当覆盖物较多的情况下,帧率会下降 | |||
| "enableMouseOver": false | |||
| //是否开启鼠标移入事件,需要开启鼠标移动拾取功能 | |||
| sceneMode: 3, //1: 2.5D,2: 2D,3: 3D | |||
| enableEventPropagation: false, //是否开启鼠标事件冒泡 | |||
| enableMouseMovePick: false, // 是否开启鼠标移动拾取功能,开启后当覆盖物较多的情况下,帧率会下降 | |||
| enableMouseOver: false, //是否开启鼠标移入事件,需要开启鼠标移动拾取功能 | |||
| } | |||
| ``` | |||
| @@ -64,15 +60,13 @@ const config = { | |||
| - `{Element} container`:场景容器 **_`readonly`_** | |||
| - `{Element} widgetContainer`:场景组件容器 **_`readonly`_** | |||
| - `{Element} layerContainer`:场景图层容器 **_`readonly`_** | |||
| - `{Object} scene`:场景 **_`readonly`_**,详情参考:[Scene](http://resource.dvgis.cn/cesium-docs/Scene.html) | |||
| - `{Object} camera`:相机 **_`readonly`_**,详情参考:[Camera](http://resource.dvgis.cn/cesium-docs/Scene.html) | |||
| - `{Object} scene`:场景 **_`readonly`_**,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Scene.html) | |||
| - `{Object} camera`:相机 **_`readonly`_**,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Scene.html) | |||
| - `{Element} canvas`:canvas 节点 **_`readonly`_** | |||
| - `{Object} clock`:时钟,详情参考:[Clock](http://resource.dvgis.cn/cesium-docs/Clock.html) | |||
| - `{Object} dataSources` | |||
| :数据资源集合,详情参考:[DataSourceCollection](http://resource.dvgis.cn/cesium-docs/DataSourceCollection.html) | |||
| - `{Object} imageryLayers` | |||
| :瓦片集合,详情参考:[ImageryLayerCollection](http://resource.dvgis.cn/cesium-docs/ImageryLayerCollection.html) | |||
| - `{Object} entities`:实体集合,详情参考:[EntityCollection](http://resource.dvgis.cn/cesium-docs/EntityCollection.html) | |||
| - `{Object} clock`:时钟,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Clock.html) | |||
| - `{Object} dataSources` :数据资源集合,[详细使用说明](http://resource.dvgis.cn/cesium-docs/DataSourceCollection.html) | |||
| - `{Object} imageryLayers`:瓦片集合,[详细使用说明](http://resource.dvgis.cn/cesium-docs/ImageryLayerCollection.html) | |||
| - `{Object} entities`:实体集合,[详细使用说明](http://resource.dvgis.cn/cesium-docs/EntityCollection.html) | |||
| - [`{Popup} popup`](#popup):气泡窗口 **_`readonly`_** | |||
| - [`{ContextMenu} contextMenu`](#contextmenu):右击弹框 **_`readonly`_** | |||
| - [`{Tooltip} tooltip`](#tooltip):提示框 **_`readonly`_** | |||
| @@ -105,46 +99,48 @@ const config = { | |||
| ```js | |||
| // 属性参数(属性可选) | |||
| const config = { | |||
| "shadows": false,// 是否开启阴影 | |||
| "resolutionScale": 1,// 设置渲染分辨率的缩放比例 | |||
| "showAtmosphere": true,//是否显示大气层 | |||
| "showSun": true,//是否显示太阳 | |||
| "showMoon": true, //是否显示月亮 | |||
| "enableFxaa": true,//是否开启抗锯齿 | |||
| "msaaSamples": 1,//msaa抗拒出取样度 | |||
| "cameraController": { // 相机控制 | |||
| "enableRotate": true,// 是否可以旋转 | |||
| "enableTilt": true,// 是否可以翻转 | |||
| "enableTranslate": true,// 是否可以平移 | |||
| "enableZoom": true,// 是否可以缩放 | |||
| "enableCollisionDetection": true,// 是否支持碰撞检测 | |||
| "minimumZoomDistance": 1.0,// 最小缩放距离 | |||
| "maximumZoomDistance": 40489014.0// 最大缩放距离 | |||
| shadows: false, // 是否开启阴影 | |||
| resolutionScale: 1, // 设置渲染分辨率的缩放比例 | |||
| showAtmosphere: true, //是否显示大气层 | |||
| showSun: true, //是否显示太阳 | |||
| showMoon: true, //是否显示月亮 | |||
| enableFxaa: true, //是否开启抗锯齿 | |||
| msaaSamples: 1, //msaa抗拒出取样度 | |||
| cameraController: { | |||
| // 相机控制 | |||
| enableRotate: true, // 是否可以旋转 | |||
| enableTilt: true, // 是否可以翻转 | |||
| enableTranslate: true, // 是否可以平移 | |||
| enableZoom: true, // 是否可以缩放 | |||
| enableCollisionDetection: true, // 是否支持碰撞检测 | |||
| minimumZoomDistance: 1.0, // 最小缩放距离 | |||
| maximumZoomDistance: 40489014.0, // 最大缩放距离 | |||
| }, | |||
| "globe": { | |||
| "show": true,// 是否显示地球 | |||
| "showGroundAtmosphere": true,// 显示地面大气 | |||
| "enableLighting": false,//是否开启灯光,开启后地球会根据当前时间启用灯光 | |||
| "depthTestAgainstTerrain": false, //是否开启深度测试 | |||
| "tileCacheSize": 100, // 默认瓦片缓存大小 | |||
| "preloadSiblings": false,//是否应预加载渲染同级图块 | |||
| "terrainExaggeration": 1,//地形夸张系数 | |||
| "terrainExaggerationRelativeHeight": 1,//地形相对高度夸张系数 | |||
| "baseColor": new DC.Color(0, 0, 0.5, 1), //地球默认底色 | |||
| "filterColor": newDC.Color(0, 0, 0, 0),//瓦片过滤色,设置后不可逆 | |||
| "translucency": { //地表透明 | |||
| "enabled": false, // 是否开启地表透明 | |||
| "backFaceAlpha": 1, // 地球背面透明度 | |||
| "backFaceAlphaByDistance": null, //根据距离设置地球背面透明度: {near:400,nearValue:0.2,far:800,farValue:1} | |||
| "frontFaceAlpha": 1, // 地球正面透明度 | |||
| "frontFaceAlphaByDistance": null //根据距离设置地球正面透明度: {near:400,nearValue:0.2,far:800,farValue:1} | |||
| } | |||
| globe: { | |||
| show: true, // 是否显示地球 | |||
| showGroundAtmosphere: true, // 显示地面大气 | |||
| enableLighting: false, //是否开启灯光,开启后地球会根据当前时间启用灯光 | |||
| depthTestAgainstTerrain: false, //是否开启深度测试 | |||
| tileCacheSize: 100, // 默认瓦片缓存大小 | |||
| preloadSiblings: false, //是否应预加载渲染同级图块 | |||
| terrainExaggeration: 1, //地形夸张系数 | |||
| terrainExaggerationRelativeHeight: 1, //地形相对高度夸张系数 | |||
| baseColor: new DC.Color(0, 0, 0.5, 1), //地球默认底色 | |||
| filterColor: newDC.Color(0, 0, 0, 0), //瓦片过滤色,设置后不可逆 | |||
| translucency: { | |||
| //地表透明 | |||
| enabled: false, // 是否开启地表透明 | |||
| backFaceAlpha: 1, // 地球背面透明度 | |||
| backFaceAlphaByDistance: null, //根据距离设置地球背面透明度: {near:400,nearValue:0.2,far:800,farValue:1} | |||
| frontFaceAlpha: 1, // 地球正面透明度 | |||
| frontFaceAlphaByDistance: null, //根据距离设置地球正面透明度: {near:400,nearValue:0.2,far:800,farValue:1} | |||
| }, | |||
| }, | |||
| skyBox: { | |||
| sources: {}, // 六个面的贴图 | |||
| show: true, //是否显示 | |||
| offsetAngle: 0, //旋转角度 | |||
| }, | |||
| "skyBox": { | |||
| "sources": {}, // 六个面的贴图 | |||
| "show": true, //是否显示 | |||
| "offsetAngle": 0 //旋转角度 | |||
| } | |||
| } | |||
| ``` | |||
| @@ -186,16 +182,16 @@ const config = { | |||
| ```js | |||
| //属性参数 (属性可选) | |||
| const options = { | |||
| "name": "电子地图",//名称 | |||
| "iconUrl": "../preview.png",//缩略图 | |||
| "alpha": 1.0, | |||
| "nightAlpha": 1.0, | |||
| "dayAlpha": 1.0, | |||
| "brightness": 1.0, | |||
| "contrast": 1.0, | |||
| "hue": 1.0, | |||
| "saturation": 1.0, | |||
| "gamma": 1.0 | |||
| name: '电子地图', //名称 | |||
| iconUrl: '../preview.png', //缩略图 | |||
| alpha: 1.0, | |||
| nightAlpha: 1.0, | |||
| dayAlpha: 1.0, | |||
| brightness: 1.0, | |||
| contrast: 1.0, | |||
| hue: 1.0, | |||
| saturation: 1.0, | |||
| gamma: 1.0, | |||
| } | |||
| ``` | |||
| @@ -410,8 +406,8 @@ popup.setContent('<div></div>') | |||
| ```js | |||
| // 配置(属性可选),配置后会影响全局的popup的显示样式,请慎重。 | |||
| const config = { | |||
| "position": "center",// popup的位于鼠标的点击位置的方向,有:center,left ,right | |||
| "customClass": "custom"// 添加自定义的Css 类名到popup中,多个用空格隔开 | |||
| position: 'center', // popup的位于鼠标的点击位置的方向,有:center,left ,right | |||
| customClass: 'custom', // 添加自定义的Css 类名到popup中,多个用空格隔开 | |||
| } | |||
| ``` | |||
| @@ -676,48 +672,6 @@ viewer.loadingMask.enable = true | |||
| - `{Boolean} enable`:是否启用 | |||
| - `{String} state`:状态 **_`readonly`_** | |||
| ## DC.SkyBox | |||
| > 天空盒,[详情参考](http://resource.dvgis.cn/cesium-docs/SkyBox.html) | |||
| ### example | |||
| ```js | |||
| scene.skyBox = new DC.SkyBox({ | |||
| 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', | |||
| }, | |||
| }) | |||
| ``` | |||
| ### creation | |||
| - **_constructor(id)_** | |||
| 构造函数 | |||
| - 参数 | |||
| - `{Object} options`:配置 | |||
| - 返回值 `skyBox` | |||
| ```js | |||
| //options(属性可选) | |||
| const options = { | |||
| "sources": {},// 六个面的贴图 | |||
| "show": true//显示 | |||
| } | |||
| ``` | |||
| ### properties | |||
| - `{Object} sources`:六个面的贴图 | |||
| - `{Boolean} show`:显示 | |||
| ## DC.GroundSkyBox | |||
| > 近地天空盒,[详情参考](http://resource.dvgis.cn/cesium-docs/SkyBox.html) | |||
| @@ -750,9 +704,9 @@ scene.skyBox = new DC.GroundSkyBox({ | |||
| ```js | |||
| //options(属性可选) | |||
| const options = { | |||
| "sources": {},// 六个面的贴图 | |||
| "show": true,//显示 | |||
| "offsetAngle": 0//旋转角度 | |||
| sources: {}, // 六个面的贴图 | |||
| show: true, //显示 | |||
| offsetAngle: 0, //旋转角度 | |||
| } | |||
| ``` | |||
| @@ -884,100 +838,6 @@ let position3 = DC.Position.fromObject({ lng: 120, lat: 22, height: 102 }) | |||
| - `{String} valStr`:序列化的对象 | |||
| - 返回值 `position` | |||
| ## DC.Color | |||
| > 颜色类 | |||
| ### example | |||
| ```js | |||
| let red = DC.Color.RED | |||
| ``` | |||
| ### properties | |||
| - `{Color} RED`:红色 | |||
| - `{Color} YELLOW`:黄色 | |||
| - `{Color} WHITE`:白色 | |||
| - `{Color} GREEN`:绿色 | |||
| [其他颜色](http://resource.dvgis.cn/cesium-docs/Color.html) | |||
| ## DC.TilesetStyle | |||
| > tileset 样式,用于设置 3dtiles 的颜色设置 | |||
| ### example | |||
| ```js | |||
| let style = new DC.TilesetStyle() | |||
| style.color = { | |||
| conditions: [ | |||
| ['${floor} >= 5', 'rgb(198, 106, 11)'], | |||
| ['true', 'rgb(127, 59, 8)'], | |||
| ], | |||
| } | |||
| ``` | |||
| [详情参考](http://resource.dvgis.cn/cesium-docs/Cesium3DTileStyle.html) | |||
| ## DC.JulianDate | |||
| > 朱莉安日历 | |||
| ```js | |||
| let date = DC.JulianDate.now() | |||
| ``` | |||
| ### static methods | |||
| - **_now()_** | |||
| 当前朱莉安时间 | |||
| - 返回值 `date` | |||
| - **_fromDate(date)_** | |||
| 通过 Js 时间创建朱莉安时间 | |||
| - 参数 | |||
| - `{Date} date`:Js 时间 | |||
| - 返回值 `date` | |||
| [JulianDate](http://resource.dvgis.cn/cesium-docs/JulianDate.html) | |||
| ## DC.Rectangle | |||
| > 矩形相关函数 | |||
| ### example | |||
| ```js | |||
| let r = DC.Rectangle.fromDegrees(10, 20, 12, 31) | |||
| ``` | |||
| [详情参考](http://resource.dvgis.cn/cesium-docs/Rectangle.html) | |||
| ## DC.CallbackProperty | |||
| > 回调属性,用户通过自定义回调函数来返回需要的值。回调函数中,用户可以使用 time 给定 value,也可以自定设置。 | |||
| ```js | |||
| let position = new DC.Position(120, 20) | |||
| let point = new DC.Point(position) | |||
| let size = 0 | |||
| point.setStyle({ | |||
| pixelSize: new DC.CallbackProperty((time) => { | |||
| size += 1 | |||
| if (size == 10) { | |||
| size = 0 | |||
| } | |||
| return size | |||
| }), | |||
| }) | |||
| ``` | |||
| ## DC.Parse | |||
| > 坐标解析工具类,可简写为 DC.P | |||
| @@ -506,7 +506,7 @@ const options = { | |||
| - 参数 | |||
| - `{String} modelPath`:模型路径 | |||
| - `{Object} style`:样式,详情参考:[DC.Model](./overlay-vector#dc-model) | |||
| - `{Object} style`:样式,[详细使用说明](./overlay-vector#dc-model) | |||
| - 返回值 `this` | |||
| - **_setBillboard(icon,style)_** | |||
| @@ -515,7 +515,7 @@ const options = { | |||
| - 参数 | |||
| - `{String} icon`:图标路径 | |||
| - `{Object} style`:样式,参考:[DC.Billboard](./overlay-vector#dc-billboard) | |||
| - `{Object} style`:样式,[详细使用说明](./overlay-vector#dc-billboard) | |||
| - 返回值 `this` | |||
| - **_setLabel(text,style)_** | |||
| @@ -524,7 +524,7 @@ const options = { | |||
| - 参数 | |||
| - `{String} text`:文本 | |||
| - `{Object} style`:样式,参考:[DC.Label](./overlay-vector#dc-label) | |||
| - `{Object} style`:样式,[详细使用说明](./overlay-vector#dc-label) | |||
| - 返回值 `this` | |||
| - **_setPath(visible,style)_** | |||
| @@ -374,7 +374,7 @@ layer.eachOverlay((item) => { | |||
| - `{String} id`:图层唯一标识 | |||
| - `{String} url`:数据地址 | |||
| - `{Object} options` | |||
| :属性配置,详情参考:[GeoJsonDataSource](http://resource.dvgis.cn/cesium-docs/GeoJsonDataSource.html) | |||
| :属性配置,[详细使用说明](http://resource.dvgis.cn/cesium-docs/GeoJsonDataSource.html) | |||
| - 返回值 `geoJsonLayer` | |||
| ### methods | |||
| @@ -430,7 +430,7 @@ layer.eachOverlay((item) => { | |||
| - `{String} id`:图层唯一标识 | |||
| - `{String} url`:数据地址 | |||
| - `{Object} options` | |||
| :属性配置,详情参考:[GeoJsonDataSource](http://resource.dvgis.cn/cesium-docs/GeoJsonDataSource.html) | |||
| :属性配置,[详细使用说明](http://resource.dvgis.cn/cesium-docs/GeoJsonDataSource.html) | |||
| - 返回值 `topoJsonLayer` | |||
| ### methods | |||
| @@ -500,7 +500,7 @@ layer.eachOverlay((item) => { | |||
| - 参数 | |||
| - `{String} id`:图层唯一标识 | |||
| - `{String} url`:数据地址 | |||
| - `{Object} options`:属性配置,详情参考:[CzmlDataSource](http://resource.dvgis.cn/cesium-docs/CzmlDataSource.html) | |||
| - `{Object} options`:属性配置 [详细使用说明](http://resource.dvgis.cn/cesium-docs/CzmlDataSource.html) | |||
| - 返回值 `czmlLayer` | |||
| ## DC.KmlLayer | |||
| @@ -533,7 +533,7 @@ layer.eachOverlay((item) => { | |||
| - 参数 | |||
| - `{String} id`:图层唯一标识 | |||
| - `{String} url`:数据地址 | |||
| - `{Object} options`:属性配置,详情参考:[KmlDataSource](http://resource.dvgis.cn/cesium-docs/KmlDataSource.html) | |||
| - `{Object} options`:属性配置,[详细使用说明](http://resource.dvgis.cn/cesium-docs/KmlDataSource.html) | |||
| - 返回值 `kmlLayer` | |||
| ## DC.GpxLayer | |||
| @@ -555,7 +555,7 @@ let layer = new DC.GpxLayer('id', '**/**.gpx') | |||
| - 参数 | |||
| - `{String} id`:图层唯一标识 | |||
| - `{String} url`:数据地址 | |||
| - `{Object} options`:属性配置,详情参考:[GpxDataSource](http://resource.dvgis.cn/cesium-docs/GpxDataSource.html) | |||
| - `{Object} options`:属性配置,[详细使用说明](http://resource.dvgis.cn/cesium-docs/GpxDataSource.html) | |||
| - 返回值 `gpxLayer` | |||
| ## DC.ClusterLayer | |||
| @@ -748,7 +748,7 @@ viewer.addLayer(chartLayer) | |||
| - 参数 | |||
| - `{String} id`:唯一标识 | |||
| - `{Object} option`:echarts 配置,详情参考:[echarts](https://www.echartsjs.com/zh/option.html#title) | |||
| - `{Object} option`:echarts 配置,[详细使用说明](https://www.echartsjs.com/zh/option.html#title) | |||
| - 返回值 `chartLayer` | |||
| ```js | |||
| @@ -771,5 +771,5 @@ const options = { | |||
| 设置点位 | |||
| - 参数 | |||
| - `{Object} option`:echarts 配置,详情参考:[echarts](https://www.echartsjs.com/zh/option.html#title) | |||
| - `{Object} option`:echarts 配置,[详细使用说明](https://www.echartsjs.com/zh/option.html#title) | |||
| - 返回值 `this` | |||
| @@ -0,0 +1,230 @@ | |||
| # 原生 API 🌎 | |||
| Cesium 原生类扩展与重命名 | |||
| :::warning | |||
| 该文档只列举部分常用的内部类,如果需要更多的 Cesium 内部类,可以通过接口 ` getLib('cesium')` 获取到 Cesium | |||
| 对象 | |||
| ::: | |||
| ## DC.CallbackProperty | |||
| > 回调属性,用户通过自定义回调函数来返回需要的值。回调函数中,用户可以使用 time 给定 | |||
| > value,也可以自定设置。[详细使用说明](http://resource.dvgis.cn/cesium-docs/CallbackProperty.html) | |||
| ```js | |||
| let position = new DC.Position(120, 20) | |||
| let point = new DC.Point(position) | |||
| let size = 0 | |||
| point.setStyle({ | |||
| pixelSize: new DC.CallbackProperty((time) => { | |||
| size += 1 | |||
| if (size == 10) { | |||
| size = 0 | |||
| } | |||
| return size | |||
| }), | |||
| }) | |||
| ``` | |||
| ## DC.Cartesian2 | |||
| > 一个二维笛卡尔坐标点。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Cartesian2.html) | |||
| ### example | |||
| ```js | |||
| let c = new DC.Cartesian2(1, 1) | |||
| ``` | |||
| ## DC.Cartesian3 | |||
| > 一个三维笛卡尔坐标点。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Cartesian3.html) | |||
| ### example | |||
| ```js | |||
| let c = new DC.Cartesian3(1, 1, 1) | |||
| ``` | |||
| ## DC.Cartesian4 | |||
| > 一个四维笛卡尔坐标点。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Cartesian4.html) | |||
| ### example | |||
| ```js | |||
| let c = new DC.Cartesian4(1, 1, 1, 1) | |||
| ``` | |||
| ## DC.Matrix2 | |||
| > | |||
| 一个2x2矩阵,可作为列优先顺序数组进行索引。构造函数参数采用行优先顺序,以提高代码可读性。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Matrix2.html) | |||
| ### example | |||
| ```js | |||
| let m = new DC.Matrix2() | |||
| ``` | |||
| ## DC.Matrix3 | |||
| > | |||
| 一个3x3矩阵,可作为列优先顺序数组进行索引。构造函数参数采用行优先顺序,以提高代码可读性。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Matrix3.html) | |||
| ### example | |||
| ```js | |||
| let m = new DC.Matrix3() | |||
| ``` | |||
| ## DC.Matrix4 | |||
| > | |||
| 一个4x4矩阵,可作为列优先顺序数组进行索引。构造函数参数采用行优先顺序,以提高代码可读性。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Matrix4.html) | |||
| ### example | |||
| ```js | |||
| let m = new DC.Matrix4() | |||
| ``` | |||
| ## DC.Material | |||
| > | |||
| 材质通过漫反射、镜面反射、法线、发光和透明度等组件的组合来定义表面外观。这些数值使用名为Fabric的JSON模式进行定义,该模式会在后台被解析并组装成GLSL着色器代码。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Material.html) | |||
| ### example | |||
| ```js | |||
| let m = new DC.Material() | |||
| let m_1 = new Cesium.Material({ | |||
| fabric: { | |||
| type: 'Color', | |||
| uniforms: { | |||
| color: new Cesium.Color(1.0, 1.0, 0.0, 1.0) | |||
| } | |||
| } | |||
| }); | |||
| ``` | |||
| ## DC.SceneMode | |||
| > 指示场景是以3D、2D还是2.5D哥伦布视图显示。[详细使用说明](http://resource.dvgis.cn/cesium-docs/global.html#SceneMode) | |||
| ### example | |||
| ```js | |||
| const mode = DC.SceneMode.SCENE3D | |||
| ``` | |||
| ## DC.SkyBox | |||
| > 天空盒。[详细使用说明](http://resource.dvgis.cn/cesium-docs/SkyBox.html) | |||
| ### example | |||
| ``` | |||
| js | |||
| scene.skyBox = new DC.SkyBox({ | |||
| 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', | |||
| }, | |||
| }) | |||
| ``` | |||
| ### creation | |||
| - **_constructor(id)_** | |||
| 构造函数 | |||
| - 参数 | |||
| - `{Object} options`:配置 | |||
| - 返回值 `skyBox` | |||
| ```js | |||
| //options(属性可选) | |||
| const options = { | |||
| "sources": {},// 六个面的贴图 | |||
| "show": true//显示 | |||
| } | |||
| ``` | |||
| ### properties | |||
| - `{Object} sources`:六个面的贴图 | |||
| - `{Boolean} show`:显示 | |||
| ## DC.Color | |||
| > 颜色类。[详细使用说明](http://resource.dvgis.cn/cesium-docs/Color.html) | |||
| ### example | |||
| ```js | |||
| let red = DC.Color.RED | |||
| ``` | |||
| ## DC.TilesetStyle | |||
| > tileset 样式,用于设置 3d-tiles | |||
| > 的样式,Cesium3DTileStyle重命名。 [详细使用说明](http://resource.dvgis.cn/cesium-docs/Cesium3DTileStyle.html) | |||
| ### example | |||
| ```js | |||
| let style = new DC.TilesetStyle() | |||
| style.color = { | |||
| conditions: [ | |||
| ['${floor} >= 5', 'rgb(198, 106, 11)'], | |||
| ['true', 'rgb(127, 59, 8)'], | |||
| ], | |||
| } | |||
| ``` | |||
| ## DC.JulianDate | |||
| > 朱莉安日历。[详细参考](http://resource.dvgis.cn/cesium-docs/JulianDate.html) | |||
| ```js | |||
| let date = DC.JulianDate.now() | |||
| ``` | |||
| ### static methods | |||
| - **_now()_** | |||
| 当前朱莉安时间 | |||
| - 返回值 `date` | |||
| - **_fromDate(date)_** | |||
| 通过 Js 时间创建朱莉安时间 | |||
| - 参数 | |||
| - `{Date} date`:Js 时间 | |||
| - 返回值 `date` | |||
| ## DC.Rectangle | |||
| > 矩形相关函数,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Rectangle.html) | |||
| ### example | |||
| ```js | |||
| let r = DC.Rectangle.fromDegrees(10, 20, 12, 31) | |||
| ``` | |||
| @@ -31,7 +31,7 @@ let attackArrow = new DC.AttackArrow('-90.0,32.0;-94.0,36.0;-94.0,38.0') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Polygon](#dc-polygon) | |||
| - `{Object} style`:样式,[详细使用说明](#dc-polygon) | |||
| - 返回值 `this` | |||
| ## DC.DoubleArrow | |||
| @@ -65,7 +65,7 @@ let doubleArrow = new DC.DoubleArrow('-90.0,32.0;-94.0,36.0;-94.0,38.0') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Polygon](#dc-polygon) | |||
| - `{Object} style`:样式,[详细使用说明](#dc-polygon) | |||
| - 返回值 `this` | |||
| ## DC.FineArrow | |||
| @@ -99,7 +99,7 @@ let fineArrow = new DC.FineArrow('-90.0,32.0;-94.0,36.0') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Polygon](#dc-polygon) | |||
| - `{Object} style`:样式,[详细使用说明](#dc-polygon) | |||
| - 返回值 `this` | |||
| ## DC.GatheringPlace | |||
| @@ -133,7 +133,7 @@ let gatheringPlace = new DC.GatheringPlace('-90.0,32.0;-94.0,36.0') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Polygon](#dc-polygon) | |||
| - `{Object} style`:样式,[详细使用说明](#dc-polygon) | |||
| - 返回值 `this` | |||
| ## DC.TailedAttackArrow | |||
| @@ -167,5 +167,5 @@ let tailedAttackArrow = new DC.TailedAttackArrow('-90.0,32.0;-94.0,36.0') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Polygon](#dc-polygon) | |||
| - `{Object} style`:样式,[详细使用说明](#dc-polygon) | |||
| - 返回值 `this` | |||
| @@ -35,7 +35,7 @@ point.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PointGraphics](http://resource.dvgis.cn/cesium-docs/PointGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PointGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -102,7 +102,7 @@ billboard.size = [20, 20] | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Billboard](http://resource.dvgis.cn/cesium-docs/Billboard.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Billboard.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -162,7 +162,7 @@ billboard.size = [20, 20] | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Billboard](http://resource.dvgis.cn/cesium-docs/Billboard.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Billboard.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -208,7 +208,7 @@ let Label = new DC.LabelPrimitive(position, 'test') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Label](http://resource.dvgis.cn/cesium-docs/Label.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Label.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -273,7 +273,7 @@ let label = new DC.BounceLabelPrimitive(position, 'test') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Label](http://resource.dvgis.cn/cesium-docs/Label.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Label.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -321,7 +321,7 @@ polyline.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Polyline](http://resource.dvgis.cn/cesium-docs/Polyline.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Polyline.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -491,7 +491,7 @@ let model = new DC.ModelPrimitive(position, '**/**.glb') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[Model](http://resource.dvgis.cn/cesium-docs/Model.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Model.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -742,7 +742,7 @@ water.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PolygonGraphics](http://resource.dvgis.cn/cesium-docs/PolygonGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PolygonGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -5,7 +5,7 @@ | |||
| > 覆盖物基类 | |||
| :::warning | |||
| 该类无需实例化,既视实例化后也无法使用 | |||
| 该类作为一个基类,不建议实例化使用 | |||
| ::: | |||
| ### properties | |||
| @@ -41,7 +41,7 @@ | |||
| - 参数 | |||
| - `{String} text`:文本 | |||
| - `{String} textStyle`:文本样式,详情参考:[DC.Label](#dc-label) | |||
| - `{String} textStyle`:文本样式,[详细使用说明](#dc-label) | |||
| - 返回值 `this` | |||
| :::warning | |||
| @@ -129,7 +129,7 @@ point.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PointGraphics](http://resource.dvgis.cn/cesium-docs/PointGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PointGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -204,7 +204,7 @@ polyline.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PolylineGraphics](http://resource.dvgis.cn/cesium-docs/PolylineGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PolylineGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -268,7 +268,7 @@ polygon.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PolygonGraphics](http://resource.dvgis.cn/cesium-docs/PolygonGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PolygonGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -339,7 +339,7 @@ billboard.size = [20, 20] | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[BillboardGraphics](http://resource.dvgis.cn/cesium-docs/BillboardGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/BillboardGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -411,7 +411,7 @@ let Label = new DC.Label(position, 'test') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[LabelGraphics](http://resource.dvgis.cn/cesium-docs/LabelGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/LabelGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -490,7 +490,7 @@ let circle = new DC.Circle(position, 200) | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[EllipseGraphics](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -547,7 +547,7 @@ let rectangle = new DC.Rect('-90.0,32.0;-94.0,36.0;') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[RectangleGraphics](http://resource.dvgis.cn/cesium-docs/RectangleGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/RectangleGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -604,7 +604,7 @@ let wall = new DC.Wall('-90.0,32.0,1000;-94.0,36.0,1000;') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[WallGraphics](http://resource.dvgis.cn/cesium-docs/WallGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/WallGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -666,7 +666,7 @@ let model = new DC.Model(position, '**/**.glb') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[ModelGraphics](http://resource.dvgis.cn/cesium-docs/ModelGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/ModelGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -716,7 +716,7 @@ tileset.setPosition(position) | |||
| - 参数 | |||
| - `{String} url`:模型地址 | |||
| - `{Object} options`:参数设置,详情参考:[Tileset](http://resource.dvgis.cn/cesium-docs/Cesium3DTileset.html) | |||
| - `{Object} options`:参数设置,[详细使用说明](http://resource.dvgis.cn/cesium-docs/Cesium3DTileset.html) | |||
| - 返回值 `tileset` | |||
| ### properties | |||
| @@ -730,7 +730,7 @@ tileset.setPosition(position) | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[TileStyle](https://github.com/CesiumGS/3d-tiles/tree/master/specification/Styling) | |||
| - `{Object} style` :样式,[详细使用说明](https://github.com/CesiumGS/3d-tiles/tree/master/specification/Styling) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -912,7 +912,7 @@ let box = new DC.Box(position, 20, 30, 40) | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[BoxGraphics](http://resource.dvgis.cn/cesium-docs/BoxGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/BoxGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -966,7 +966,7 @@ corridor.setStyle({ | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[CorridorGraphics](http://resource.dvgis.cn/cesium-docs/CorridorGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/CorridorGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1037,7 +1037,7 @@ let cylinder = new DC.Cylinder(position, 20, 30, 40) | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[CylinderGraphics](http://resource.dvgis.cn/cesium-docs/CylinderGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/CylinderGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1093,7 +1093,7 @@ let ellipse = new DC.Ellipse(position, 20, 30) | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[EllipseGraphics](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1153,7 +1153,7 @@ let ellipsoid = new DC.Sphere(position, { x: 30, y: 30, z: 30 }) | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[EllipsoidGraphics](http://resource.dvgis.cn/cesium-docs/EllipsoidGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/EllipsoidGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1219,7 +1219,7 @@ const style = { | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PlaneGraphics](http://resource.dvgis.cn/cesium-docs/PlaneGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PlaneGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1286,8 +1286,7 @@ let polylineVolume = new DC.PolylineVolume( | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style` | |||
| :样式,详情参考:[PolylineVolumeGraphics](http://resource.dvgis.cn/cesium-docs/PolylineVolumeGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PolylineVolumeGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1360,7 +1359,7 @@ billboard.size = [20, 20] | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[BillboardGraphics](http://resource.dvgis.cn/cesium-docs/BillboardGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/BillboardGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1433,7 +1432,7 @@ let model = new DC.DynamicModel(position, '**/**.glb') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[ModelGraphics](http://resource.dvgis.cn/cesium-docs/ModelGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/ModelGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1490,7 +1489,7 @@ billboard.size = [20, 20] | |||
| 设置垂直线 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PolylineGraphics](http://resource.dvgis.cn/cesium-docs/PolylineGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PolylineGraphics.html) | |||
| - 返回值 `this` | |||
| - **_setBottomCircle(radius,style,rotateAmount)_** | |||
| @@ -1499,7 +1498,7 @@ billboard.size = [20, 20] | |||
| - 参数 | |||
| - `{Number} radius`:半径 | |||
| - `{Object} style`:样式,详情参考:[EllipseGraphics](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - `{Number} rotateAmount`:旋转量 | |||
| - 返回值 `this` | |||
| @@ -1508,7 +1507,7 @@ billboard.size = [20, 20] | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[BillboardGraphics](http://resource.dvgis.cn/cesium-docs/BillboardGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/BillboardGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -1572,7 +1571,7 @@ let label = new DC.CustomLabel(position, 'test') | |||
| 设置垂直线 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[PolylineGraphics](http://resource.dvgis.cn/cesium-docs/PolylineGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/PolylineGraphics.html) | |||
| - 返回值 `this` | |||
| - **_setBottomCircle(radius,style,rotateAmount)_** | |||
| @@ -1581,7 +1580,7 @@ let label = new DC.CustomLabel(position, 'test') | |||
| - 参数 | |||
| - `{Number} radius`:半径 | |||
| - `{Object} style`:样式,详情参考:[EllipseGraphics](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/EllipseGraphics.html) | |||
| - `{Number} rotateAmount`:旋转量 | |||
| - 返回值 `this` | |||
| @@ -1590,7 +1589,7 @@ let label = new DC.CustomLabel(position, 'test') | |||
| 设置样式 | |||
| - 参数 | |||
| - `{Object} style`:样式,详情参考:[LabelGraphics](http://resource.dvgis.cn/cesium-docs/LabelGraphics.html) | |||
| - `{Object} style`:样式,[详细使用说明](http://resource.dvgis.cn/cesium-docs/LabelGraphics.html) | |||
| - 返回值 `this` | |||
| ```js | |||
| @@ -49,7 +49,7 @@ const options = { | |||
| } | |||
| ``` | |||
| ## CustomMercatorTilingScheme | |||
| ## DC.CustomMercatorTilingScheme | |||
| > 自定义墨卡托平铺方案 | |||
| @@ -43,7 +43,7 @@ const options = { | |||
| 标绘 | |||
| - 参数 | |||
| - `{String} type`:覆盖物类型,参照 [OverlayType](./global#overlaytype) | |||
| - `{String} type`:覆盖物类型,[详细使用说明](./global#overlaytype) | |||
| - `{Function} callback`:标绘完成的回调函数,参数为覆盖物 | |||
| - `{Object} style`:标绘的覆盖物样式设置 | |||
| - `{Boolean} clampToModel`:点位是否获取模型表面坐标 | |||
| @@ -4,45 +4,62 @@ | |||
| import { Cesium } from '../../libs' | |||
| // C | |||
| export const CallbackProperty = Cesium.CallbackProperty | |||
| export const Cartesian2 = Cesium.Cartesian2 | |||
| export const Cartesian3 = Cesium.Cartesian3 | |||
| export const Matrix3 = Cesium.Matrix3 | |||
| export const Matrix4 = Cesium.Matrix4 | |||
| export const Material = Cesium.Material | |||
| export const SceneMode = Cesium.SceneMode | |||
| export const SkyBox = Cesium.SkyBox | |||
| export const Cartesian4 = Cesium.Cartesian4 | |||
| export const Cartographic = Cesium.Cartographic | |||
| export const ClassificationType = Cesium.ClassificationType | |||
| export const ClippingPlane = Cesium.ClippingPlane | |||
| export const ClippingPlaneCollection = Cesium.ClippingPlaneCollection | |||
| export const ClippingPolygon = Cesium.ClippingPolygon | |||
| export const ClippingPolygonCollection = Cesium.ClippingPolygonCollection | |||
| export const Color = Cesium.Color | |||
| export const Rectangle = Cesium.Rectangle | |||
| export const ShadowMode = Cesium.ShadowMode | |||
| export const JulianDate = Cesium.JulianDate | |||
| export const ColorMaterialProperty = Cesium.ColorMaterialProperty | |||
| export const createElevationBandMaterial = Cesium.createElevationBandMaterial | |||
| export const createGooglePhotorealistic3DTileset = | |||
| Cesium.createGooglePhotorealistic3DTileset | |||
| export const CustomShader = Cesium.CustomShader | |||
| export const CustomShaderMode = Cesium.CustomShaderMode | |||
| export const CustomShaderTranslucencyMode = Cesium.CustomShaderTranslucencyMode | |||
| // E | |||
| export const Ellipsoid = Cesium.Ellipsoid | |||
| // G | |||
| export const GeographicTilingScheme = Cesium.GeographicTilingScheme | |||
| // H | |||
| export const HeightReference = Cesium.HeightReference | |||
| export const HorizontalOrigin = Cesium.HorizontalOrigin | |||
| export const VerticalOrigin = Cesium.VerticalOrigin | |||
| export const CallbackProperty = Cesium.CallbackProperty | |||
| export const ClassificationType = Cesium.ClassificationType | |||
| export const TilesetStyle = Cesium.Cesium3DTileStyle | |||
| export const GeographicTilingScheme = Cesium.GeographicTilingScheme | |||
| export const WebMercatorTilingScheme = Cesium.WebMercatorTilingScheme | |||
| export const ColorMaterialProperty = Cesium.ColorMaterialProperty | |||
| // I | |||
| export const ImageMaterialProperty = Cesium.ImageMaterialProperty | |||
| // J | |||
| export const JulianDate = Cesium.JulianDate | |||
| // M | |||
| export const Matrix2 = Cesium.Matrix2 | |||
| export const Matrix3 = Cesium.Matrix3 | |||
| export const Matrix4 = Cesium.Matrix4 | |||
| export const Material = Cesium.Material | |||
| export const ModelAnimationLoop = Cesium.ModelAnimationLoop | |||
| // P | |||
| export const PolylineArrowMaterialProperty = | |||
| Cesium.PolylineArrowMaterialProperty | |||
| export const PolylineDashMaterialProperty = Cesium.PolylineDashMaterialProperty | |||
| export const PolylineGlowMaterialProperty = Cesium.PolylineGlowMaterialProperty | |||
| export const PolylineOutlineMaterialProperty = | |||
| Cesium.PolylineOutlineMaterialProperty | |||
| export const PolylineArrowMaterialProperty = | |||
| Cesium.PolylineArrowMaterialProperty | |||
| export const writeTextToCanvas = Cesium.writeTextToCanvas | |||
| export const CustomShaderMode = Cesium.CustomShaderMode | |||
| export const CustomShaderTranslucencyMode = Cesium.CustomShaderTranslucencyMode | |||
| export const CustomShader = Cesium.CustomShader | |||
| export const UniformType = Cesium.UniformType | |||
| export const Ellipsoid = Cesium.Ellipsoid | |||
| // R | |||
| export const Rectangle = Cesium.Rectangle | |||
| export const Resource = Cesium.Resource | |||
| export const createGooglePhotorealistic3DTileset = | |||
| Cesium.createGooglePhotorealistic3DTileset | |||
| export const createElevationBandMaterial = Cesium.createElevationBandMaterial | |||
| export const ModelAnimationLoop = Cesium.ModelAnimationLoop | |||
| export const ClippingPlane = Cesium.ClippingPlane | |||
| export const ClippingPlaneCollection = Cesium.ClippingPlaneCollection | |||
| export const ClippingPolygon = Cesium.ClippingPolygon | |||
| export const ClippingPolygonCollection = Cesium.ClippingPolygonCollection | |||
| // S | |||
| export const SceneMode = Cesium.SceneMode | |||
| export const SkyBox = Cesium.SkyBox | |||
| export const ShadowMode = Cesium.ShadowMode | |||
| // T | |||
| export const TilesetStyle = Cesium.Cesium3DTileStyle | |||
| // U | |||
| export const UniformType = Cesium.UniformType | |||
| // V | |||
| export const VerticalOrigin = Cesium.VerticalOrigin | |||
| // W | |||
| export const WebMercatorTilingScheme = Cesium.WebMercatorTilingScheme | |||
| export const writeTextToCanvas = Cesium.writeTextToCanvas | |||