mars3d 3.9.3 → 3.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mars3d.css +2 -2
- package/mars3d.d.ts +16 -2
- package/mars3d.js +3 -3
- package/package.json +1 -1
package/mars3d.css
CHANGED
package/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.9.
|
|
6
|
-
* 编译日期:2025-03-
|
|
5
|
+
* 版本信息:v3.9.4
|
|
6
|
+
* 编译日期:2025-03-25 22:35
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:火星科技免费公开版 ,2025-02-01
|
|
9
9
|
*/
|
|
@@ -37885,6 +37885,7 @@ declare class TilesetBoxClip extends BaseThing {
|
|
|
37885
37885
|
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
|
|
37886
37886
|
* @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素),值过大时会WebGL报错: INVALID_VALUE: texImage2D: no canvas
|
|
37887
37887
|
* @param [options.czm = true] - true:使用cesium原生clippingPolygons接口来操作,false:使用mars3d自定义方式操作
|
|
37888
|
+
* @param [options.brightness = 1.0] - 亮度, czm: false时可以同时设置亮度 (因为与多个TilesetColorCorrection的shader有冲突)
|
|
37888
37889
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
37889
37890
|
* @param [options.enabled = true] - 对象的启用状态
|
|
37890
37891
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -37897,6 +37898,7 @@ declare class TilesetClip extends TilesetEditBase {
|
|
|
37897
37898
|
precise?: boolean;
|
|
37898
37899
|
maxCanvasSize?: number;
|
|
37899
37900
|
czm?: boolean;
|
|
37901
|
+
brightness?: number;
|
|
37900
37902
|
id?: string | number;
|
|
37901
37903
|
enabled?: boolean;
|
|
37902
37904
|
eventParent?: BaseClass | boolean;
|
|
@@ -37905,6 +37907,11 @@ declare class TilesetClip extends TilesetEditBase {
|
|
|
37905
37907
|
* 是否外裁剪
|
|
37906
37908
|
*/
|
|
37907
37909
|
clipOutSide: boolean;
|
|
37910
|
+
/**
|
|
37911
|
+
* 亮度,
|
|
37912
|
+
* czm: false时可以同时设置亮度 (因为与多个TilesetColorCorrection的shader有冲突)
|
|
37913
|
+
*/
|
|
37914
|
+
brightness: number;
|
|
37908
37915
|
/**
|
|
37909
37916
|
* 清除分析
|
|
37910
37917
|
* @returns 无
|
|
@@ -38134,6 +38141,7 @@ declare namespace TilesetFlood {
|
|
|
38134
38141
|
* @param [options.limitMin = false] - 显示效果中是否不显示最低高度以下的部分颜色
|
|
38135
38142
|
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
|
|
38136
38143
|
* @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素)
|
|
38144
|
+
* @param [options.brightness = 1.0] - 亮度, czm: false时可以同时设置亮度 (因为与多个TilesetColorCorrection的shader有冲突)
|
|
38137
38145
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
38138
38146
|
* @param [options.enabled = true] - 对象的启用状态
|
|
38139
38147
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -38150,6 +38158,7 @@ declare class TilesetFlood extends TilesetEditBase {
|
|
|
38150
38158
|
limitMin?: boolean;
|
|
38151
38159
|
precise?: boolean;
|
|
38152
38160
|
maxCanvasSize?: number;
|
|
38161
|
+
brightness?: number;
|
|
38153
38162
|
id?: string | number;
|
|
38154
38163
|
enabled?: boolean;
|
|
38155
38164
|
eventParent?: BaseClass | boolean;
|
|
@@ -38170,6 +38179,11 @@ declare class TilesetFlood extends TilesetEditBase {
|
|
|
38170
38179
|
* 淹没颜色
|
|
38171
38180
|
*/
|
|
38172
38181
|
color: Cesium.Color;
|
|
38182
|
+
/**
|
|
38183
|
+
* 亮度,
|
|
38184
|
+
* czm: false时可以同时设置亮度 (因为与多个TilesetColorCorrection的shader有冲突)
|
|
38185
|
+
*/
|
|
38186
|
+
brightness: number;
|
|
38173
38187
|
/**
|
|
38174
38188
|
* 开始播放淹没动画效果
|
|
38175
38189
|
* @returns 无
|