mars3d 3.11.0 → 3.11.1

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/README.md CHANGED
@@ -34,7 +34,7 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
34
34
 
35
35
  ## 平台介绍
36
36
 
37
- `Mars3D平台` 是[火星科技](http://marsgis.cn/)研发的一款基于 WebGL 技术实现的三维客户端开发平台,基于[Cesium](https://cesium.com/cesiumjs/)优化提升与B/S架构设计,支持多行业扩展的轻量级高效能GIS开发平台,能够免安装、无插件地在浏览器中高效运行,并可快速接入与使用多种GIS数据和三维模型,呈现三维空间的可视化,完成平台在不同行业的灵活应用。
37
+ `Mars3D平台` 是一款基于 WebGL 技术实现的三维客户端开发平台,基于[Cesium](https://cesium.com/cesiumjs/)优化提升与B/S架构设计,支持多行业扩展的轻量级高效能GIS开发平台,能够免安装、无插件地在浏览器中高效运行,并可快速接入与使用多种GIS数据和三维模型,呈现三维空间的可视化,完成平台在不同行业的灵活应用。
38
38
 
39
39
 
40
40
 
@@ -143,6 +143,6 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
143
143
 
144
144
 
145
145
  ## 版权说明
146
- 1. Mars3D平台由[火星科技](http://marsgis.cn/)自主研发,拥有所有权利。
146
+ 1. Mars3D平台由[mars3d团队](http://mars3d.cn/)自主研发,拥有所有权利。
147
147
  2. 任何个人或组织可以在遵守相关要求下可以免费无限制使用。
148
148
 
package/mars3d.css CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Mars3D三维可视化平台 mars3d
3
3
  *
4
- * 版本信息:v3.11.0
5
- * 编译日期:2026-02-14 19:28
6
- * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
- * 使用单位:火星科技免费公开版 ,2026-02-01
4
+ * 版本信息:v3.11.1
5
+ * 编译日期:2026-03-17 19:22
6
+ * 版权所有:Copyright by http://mars3d.cn
7
+ * 使用单位:免费公开版 ,2026-02-01
8
8
  */
9
9
 
10
10
  /**地球容器div*/
package/mars3d.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.11.0
6
- * 编译日期:2026-02-14 19:28
7
- * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
- * 使用单位:火星科技免费公开版 ,2026-02-01
5
+ * 版本信息:v3.11.1
6
+ * 编译日期:2026-03-17 19:22
7
+ * 版权所有:Copyright by http://mars3d.cn
8
+ * 使用单位:免费公开版 ,2026-02-01
9
9
  */
10
10
 
11
11
  import * as Cesium from "mars3d-cesium"
@@ -12758,7 +12758,7 @@ declare namespace ModelEntity {
12758
12758
  * @property [incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
12759
12759
  * @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
12760
12760
  * @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
12761
- * @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
12761
+ * @property [lightColor] - 控制模型自身接收的光源颜色的参数,核心作用是为模型的光照计算指定一个 “滤镜色”—— 所有照射到该模型上的光源(定向光、环境光、太阳光等)都会先与这个颜色相乘,最终改变模型呈现的整体色调和亮度。
12762
12762
  * @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
12763
12763
  * @property [articulations] - An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
12764
12764
  * @property [clippingPlanes] - 用于裁剪模型的Plane平面集合
@@ -19406,8 +19406,8 @@ declare class EllipsoidPrimitive extends BasePointPrimitive {
19406
19406
  declare namespace FrustumPrimitive {
19407
19407
  /**
19408
19408
  * 四棱锥体 支持的样式信息
19409
- * @property [angle] - 四棱锥体张角(角度值,取值范围 0.01-89.99
19410
- * @property [angle2 = angle] - 四棱锥体张角2,(角度值,取值范围 0.01-89.99
19409
+ * @property [angle] - 四棱锥体张角,竖直角(角度值,取值范围 0.01-89.99)。 已知问题:垂直角建议小于10°-80°,超出这个范围会出现明显的透视畸变。
19410
+ * @property [angle2 = angle] - 四棱锥体张角2,水平角(角度值,取值范围 0.01-89.99), 水平角计算为aspectRatio宽高比传给视锥体对象,如果你的宽高比必须匹配画布(避免画面拉伸),就不能同时强制匹配水平角 —— 二者只能选其一,这是透视投影的数学特性;
19411
19411
  * @property [heading = 0] - 方向角 (度数值,0至360度),没有指定targetPosition时有效
19412
19412
  * @property [pitch = 0] - 俯仰角(度数值,0至360度),没有指定targetPosition时有效
19413
19413
  * @property [roll = 0] - 翻滚角(度数值,0至360度),没有指定targetPosition时有效
@@ -19834,7 +19834,7 @@ declare namespace ModelPrimitive {
19834
19834
  * @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
19835
19835
  * @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
19836
19836
  * @property [releaseGltfJson = false] - When true, the glTF JSON is released once the glTF is loaded. This is is especially useful for cases like 3D Tiles, where each .gltf model is unique and caching the glTF JSON is not effective.
19837
- * @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
19837
+ * @property [lightColor] - 控制模型自身接收的光源颜色的参数,核心作用是为模型的光照计算指定一个 “滤镜色”—— 所有照射到该模型上的光源(定向光、环境光、太阳光等)都会先与这个颜色相乘,最终改变模型呈现的整体色调和亮度。
19838
19838
  * @property [imageBasedLighting] - The properties for managing image-based lighting on this model.
19839
19839
  * @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
19840
19840
  * @property [articulations] - An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
@@ -19914,7 +19914,7 @@ declare namespace ModelPrimitive {
19914
19914
  runAnimations?: boolean;
19915
19915
  clampAnimations?: boolean;
19916
19916
  releaseGltfJson?: boolean;
19917
- lightColor?: Cesium.Color;
19917
+ lightColor?: Cesium.Color | number;
19918
19918
  imageBasedLighting?: Cesium.ImageBasedLighting;
19919
19919
  nodeTransformations?: Cesium.PropertyBag | {
19920
19920
  [key: string]: Cesium.TranslationRotationScale;
@@ -33804,7 +33804,7 @@ declare class CylinderWaveMaterial extends Cesium.Material {
33804
33804
  * style: {
33805
33805
  * diffHeight: 5,
33806
33806
  * material: new mars3d.material.TextMaterial({
33807
- * text: "火星科技",
33807
+ * text: "欢迎使用Mars3D平台",
33808
33808
  * color: "#3388cc",
33809
33809
  * outlineWidth: 4,
33810
33810
  * }),
@@ -42316,8 +42316,8 @@ declare namespace Util {
42316
42316
  /**
42317
42317
  * 根据数据和格式化字符串模板,返回字符串
42318
42318
  * @example
42319
- * let str = mars3d.Util.template("<div>名称:{name}</div>", { name:"火星科技", date:"2017-8-25"} );
42320
- * //str结果为 : "<div>名称:火星科技</div>"
42319
+ * let str = mars3d.Util.template("<div>名称:{name}</div>", { name:"欢迎使用Mars3D平台", date:"2017-8-25"} );
42320
+ * //str结果为 : "<div>名称:欢迎使用Mars3D平台</div>"
42321
42321
  * @param str - 格式化字符串模版,属性字段为大括号,如 {name}
42322
42322
  * @param data - 数据对象
42323
42323
  * @param [toEmpty = false] - 是否将模板中未匹配项转为空值