earthsdk3 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/dist/earthsdk3.iife.js +1429 -87
- package/dist/earthsdk3.js +7912 -5276
- package/dist/earthsdk3.umd.cjs +1421 -75
- package/dist/types/ESJTypes/ScreenManager/index.d.ts +1 -2
- package/dist/types/ESObjectManager/index.d.ts +22 -0
- package/dist/types/ESObjects/base/ESTestObject.d.ts +127 -1
- package/dist/types/ESObjects/general/ES3DTileset/index.d.ts +2 -8
- package/dist/types/ESObjects/general/ES3DTileset/type.d.ts +1 -2
- package/dist/types/ESObjects/general/ESAlarm.d.ts +1 -0
- package/dist/types/ESObjects/general/ESApertureEffect.d.ts +1 -0
- package/dist/types/ESObjects/general/ESAreaMeasurement.d.ts +1 -0
- package/dist/types/ESObjects/general/ESAttackArrow.d.ts +1 -0
- package/dist/types/ESObjects/general/ESBlastParticleSystem.d.ts +1 -0
- package/dist/types/ESObjects/general/ESBoxClipping.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCameraView.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCameraVisibleRange.d.ts +2 -0
- package/dist/types/ESObjects/general/ESCar.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCityBasePoint.d.ts +1 -0
- package/dist/types/ESObjects/general/ESClassification.d.ts +1 -0
- package/dist/types/ESObjects/general/ESClippingPlane.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/_types.d.ts +44 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/defaults.d.ts +26 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/funcs.d.ts +5 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/index.d.ts +188 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/attributes.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/boundingVolume.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/index.d.ts +6 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/indexTypeArray.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/renderState.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/shaderSource.d.ts +2 -0
- package/dist/types/ESObjects/general/ESCustomPrimitive/readme/uniformMap.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCylinder.d.ts +1 -0
- package/dist/types/ESObjects/general/ESCzml.d.ts +1 -0
- package/dist/types/ESObjects/general/ESDataMesh.d.ts +1 -0
- package/dist/types/ESObjects/general/ESDatasmithRuntimeModel.d.ts +1 -0
- package/dist/types/ESObjects/general/ESDirectionMeasurement.d.ts +1 -0
- package/dist/types/ESObjects/general/ESDistanceMeasurement.d.ts +1 -0
- package/dist/types/ESObjects/general/ESDynamicWater.d.ts +1 -0
- package/dist/types/ESObjects/general/ESEntityCluster.d.ts +1 -0
- package/dist/types/ESObjects/general/ESExcavate.d.ts +1 -0
- package/dist/types/ESObjects/general/ESFeatureLayer/FeatureLayer.d.ts +12 -0
- package/dist/types/ESObjects/general/ESFireParticleSystem.d.ts +1 -0
- package/dist/types/ESObjects/general/ESFireWall.d.ts +10 -0
- package/dist/types/ESObjects/general/ESForestTileset.d.ts +2 -0
- package/dist/types/ESObjects/general/ESFountainParticleSystem.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGaussianSplatting.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeHistoryImagery/index.d.ts +62 -0
- package/dist/types/ESObjects/general/ESGeHistoryImagery/type.d.ts +14 -0
- package/dist/types/ESObjects/general/ESGeoBezierPath/index.d.ts +104 -0
- package/dist/types/ESObjects/general/ESGeoDivTextPoi.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeoExtrudedPolygon.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeoIcon.d.ts +58 -0
- package/dist/types/ESObjects/general/ESGeoLineString.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeoPoint.d.ts +58 -0
- package/dist/types/ESObjects/general/ESGeoPoints/index.d.ts +4 -0
- package/dist/types/ESObjects/general/ESGeoPolygon.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeoPolygonWithFire.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeoRectangle.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGeoSmoothPolygon.d.ts +66 -0
- package/dist/types/ESObjects/general/ESGeoWater.d.ts +1 -0
- package/dist/types/ESObjects/general/ESGltfModel.d.ts +2 -1
- package/dist/types/ESObjects/general/ESHeightLimitAnalysis.d.ts +1 -0
- package/dist/types/ESObjects/general/ESHeightMeasurement.d.ts +2 -0
- package/dist/types/ESObjects/general/ESHole.d.ts +1 -0
- package/dist/types/ESObjects/general/ESHuman.d.ts +1 -0
- package/dist/types/ESObjects/general/ESHumanFountain.d.ts +2 -3
- package/dist/types/ESObjects/general/ESHumanPoi.d.ts +1 -0
- package/dist/types/ESObjects/general/ESHumans.d.ts +10 -0
- package/dist/types/ESObjects/general/ESImageLabel.d.ts +2 -0
- package/dist/types/ESObjects/general/ESKml.d.ts +70 -0
- package/dist/types/ESObjects/general/ESLandSlide.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLevelRuntimeModel.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLocalCircle.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLocalLineString.d.ts +73 -0
- package/dist/types/ESObjects/general/ESLocalLineStringZ.d.ts +79 -0
- package/dist/types/ESObjects/general/ESLocalPolygon.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLocalPolygonZ.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLocalRectangle.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLocalSkyBox.d.ts +1 -0
- package/dist/types/ESObjects/general/ESLocationMeasurement.d.ts +2 -0
- package/dist/types/ESObjects/general/ESMVTLayer.d.ts +4 -0
- package/dist/types/ESObjects/general/ESNavigator.d.ts +2 -0
- package/dist/types/ESObjects/general/ESParticleSystemPrimitive.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPath/ESPathImpl/PolylineResetting.d.ts +4 -0
- package/dist/types/ESObjects/general/ESPipeFence.d.ts +2 -0
- package/dist/types/ESObjects/general/ESPipeline.d.ts +2 -0
- package/dist/types/ESObjects/general/ESPipeserTileset.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPit.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPoi2D.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPoi3D.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPoiTileset.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPolygonFence.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPolygonFlattenedPlane.d.ts +2 -0
- package/dist/types/ESObjects/general/ESPolygonWithHole.d.ts +1 -0
- package/dist/types/ESObjects/general/ESPolygonsFlattenedPlane.d.ts +2 -0
- package/dist/types/ESObjects/general/ESRectangle.d.ts +2 -0
- package/dist/types/ESObjects/general/ESRoad.d.ts +65 -0
- package/dist/types/ESObjects/general/ESScale.d.ts +1 -0
- package/dist/types/ESObjects/general/ESSignalInterference.d.ts +22 -0
- package/dist/types/ESObjects/general/ESSignalTransmission.d.ts +90 -0
- package/dist/types/ESObjects/general/ESSquadCombatArrow.d.ts +2 -0
- package/dist/types/ESObjects/general/ESStaticMesh.d.ts +1 -0
- package/dist/types/ESObjects/general/ESSurfaceAreaMeasurement.d.ts +1 -0
- package/dist/types/ESObjects/general/ESTerrainLayer.d.ts +1 -0
- package/dist/types/ESObjects/general/ESTerrainLayerEditing/EditingESGeoPolygon.d.ts +8 -0
- package/dist/types/ESObjects/general/ESTextLabel.d.ts +6 -0
- package/dist/types/ESObjects/general/ESUEWidget.d.ts +2 -0
- package/dist/types/ESObjects/general/ESUnrealActor.d.ts +1 -0
- package/dist/types/ESObjects/general/ESVideoFusion.d.ts +1 -0
- package/dist/types/ESObjects/general/ESViewShed.d.ts +1 -0
- package/dist/types/ESObjects/general/ESViewerStatusBar.d.ts +1 -0
- package/dist/types/ESObjects/general/ESViewerStatusBarScale.d.ts +1 -0
- package/dist/types/ESObjects/general/ESVisibilityAnalysis.d.ts +2 -0
- package/dist/types/ESObjects/general/ESVolumeMeasurement.d.ts +1 -0
- package/dist/types/ESObjects/general/ESWidget.d.ts +1 -0
- package/dist/types/ESObjects/general/ESXYZLayer.d.ts +106 -0
- package/dist/types/ESObjects/general/index.d.ts +12 -0
- package/dist/types/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/types/ESMCPTools/ESMCPClient.d.ts +0 -16
- package/dist/types/ESMCPTools/index.d.ts +0 -3
- package/dist/types/ESMCPTools/tools/camera.d.ts +0 -14
- package/dist/types/ESMCPTools/tools/index.d.ts +0 -4
- package/dist/types/ESMCPTools/tools/sceneObject.d.ts +0 -18
- package/dist/types/ESMCPTools/types/CallToolResultSchema.d.ts +0 -2477
- package/dist/types/ESMCPTools/types/MCPToolType.d.ts +0 -61
- package/dist/types/ESMCPTools/types/index.d.ts +0 -2
- package/dist/types/getESProperties/ESGltfModelEditingProperties.d.ts +0 -2
- package/dist/types/getESProperties/ESObjectWithLocationProperties.d.ts +0 -2
- package/dist/types/getESProperties/index.d.ts +0 -7
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ESJEditingBindModeType, ESJFillStyle } from '../../ESJTypes';
|
|
2
|
+
import { SceneObjectKey, UniteChanged } from '../../xbsj-base';
|
|
3
|
+
import { ESGeoVector } from '../base';
|
|
4
|
+
/**
|
|
5
|
+
* 平滑多边形类,继承自 ESGeoVector。
|
|
6
|
+
* 用于在场景中创建平滑多边形对象,支持填充和描边,并额外提供贴地(ground)和厚度(depth)属性。
|
|
7
|
+
* 编辑模式支持圆形追加和圆形插入。
|
|
8
|
+
* @remarks 平滑多边形
|
|
9
|
+
*/
|
|
10
|
+
export declare class ESGeoSmoothPolygon extends ESGeoVector {
|
|
11
|
+
static readonly createDefaultProps: () => {
|
|
12
|
+
/** 是否贴地 @deprecated */
|
|
13
|
+
ground: boolean;
|
|
14
|
+
/** 厚度 */
|
|
15
|
+
depth: number;
|
|
16
|
+
/** 是否描边 */
|
|
17
|
+
stroked: boolean;
|
|
18
|
+
/** 是否填充 */
|
|
19
|
+
filled: boolean;
|
|
20
|
+
/** 填充样式 */
|
|
21
|
+
fillStyle: import('../..').ReactiveVariable<ESJFillStyle>;
|
|
22
|
+
pointed: boolean;
|
|
23
|
+
pointStyle: import('../..').ReactiveVariable<import('../..').ESJPointStyle>;
|
|
24
|
+
strokeStyle: import('../..').ReactiveVariable<import('../..').ESJStrokeStyle>;
|
|
25
|
+
points: import('../..').ReactiveVariable<[number, number, number][] | undefined>;
|
|
26
|
+
show: boolean;
|
|
27
|
+
collision: boolean;
|
|
28
|
+
allowPicking: boolean;
|
|
29
|
+
flyToParam: import('../..').ReactiveVariable<import('../..').ESJFlyToParam | undefined>;
|
|
30
|
+
flyInParam: import('../..').ReactiveVariable<import('../..').ESJFlyInParam | undefined>;
|
|
31
|
+
name: string;
|
|
32
|
+
ref: string | undefined;
|
|
33
|
+
extras: import('../..').ReactiveVariable<import('../..').JsonValue>;
|
|
34
|
+
devTags: import('../..').ReactiveVariable<string[] | undefined>;
|
|
35
|
+
execOnceFuncStr: string | undefined;
|
|
36
|
+
updateFuncStr: string | undefined;
|
|
37
|
+
toDestroyFuncStr: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
static readonly type: string;
|
|
40
|
+
_deprecated: string[];
|
|
41
|
+
private _deprecatedWarningFunc;
|
|
42
|
+
/**
|
|
43
|
+
* 构造一个 ESGeoSmoothPolygon 实例。
|
|
44
|
+
* @param id - 场景对象的键值标识,可选。
|
|
45
|
+
*/
|
|
46
|
+
constructor(id?: SceneObjectKey);
|
|
47
|
+
static supportEditingModes: string[];
|
|
48
|
+
editingBindMode: ESJEditingBindModeType;
|
|
49
|
+
/**
|
|
50
|
+
* 获取当前对象的属性配置。
|
|
51
|
+
* 在继承父类属性的基础上,额外添加了通用分组下的贴地(ground)和厚度(depth)属性。
|
|
52
|
+
* @returns 包含完整属性配置的对象。
|
|
53
|
+
*/
|
|
54
|
+
getESProperties(): {
|
|
55
|
+
more: import('../..').Property[];
|
|
56
|
+
defaultMenu: string;
|
|
57
|
+
coordinate: import('../..').Property[];
|
|
58
|
+
style: import('../..').Property[];
|
|
59
|
+
general: import('../..').Property[];
|
|
60
|
+
basic: import('../..').Property[];
|
|
61
|
+
dataSource: import('../..').Property[];
|
|
62
|
+
location: import('../..').Property[];
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export interface ESGeoSmoothPolygon extends UniteChanged<ReturnType<typeof ESGeoSmoothPolygon.createDefaultProps>> {
|
|
66
|
+
}
|
|
@@ -20,6 +20,7 @@ import { ESGeoPolygon } from './ESGeoPolygon';
|
|
|
20
20
|
* 特殊使用限制或潜在的副作用:
|
|
21
21
|
* - 在设置水域类型为 'custom' 时,其他控制效果的参数才会生效,否则使用预定效果。
|
|
22
22
|
* - 水体浑浊度的取值范围是 0 - 10,超出该范围可能会导致渲染异常。
|
|
23
|
+
* @remarks 地理水面
|
|
23
24
|
*/
|
|
24
25
|
export declare class ESGeoWater extends ESGeoPolygon {
|
|
25
26
|
static readonly createDefaultProps: () => {
|
|
@@ -62,13 +62,14 @@ type ModelNodeTransformation = {
|
|
|
62
62
|
* - 在设置节点变换信息时,需要确保传入的向量元素都是有限数值,否则会触发错误日志。
|
|
63
63
|
* - 设置材质时,需要通过 `setMaterial` 方法,该方法返回一个 Promise,需要在 Promise 解析后获取最终的材质信息。
|
|
64
64
|
* - 仅 Cesium 引擎生效的设置,如 `setLight122` 方法,用于设置默认光照。
|
|
65
|
+
* @remarks glTF模型加载
|
|
65
66
|
*/
|
|
66
67
|
export declare class ESGltfModel extends ESObjectWithLocation {
|
|
67
68
|
static readonly createDefaultProps: () => {
|
|
68
69
|
/**
|
|
69
70
|
* 模型资源路径(GLB/GLTF 文件地址)
|
|
70
71
|
* @type {string | ESJResource | undefined}
|
|
71
|
-
* @default /assets/glb/building.glb
|
|
72
|
+
* @default ${earthsdk3-assets-script-dir}/assets/glb/building.glb
|
|
72
73
|
*/
|
|
73
74
|
url: string | ESJResource | undefined;
|
|
74
75
|
/**
|
|
@@ -22,6 +22,7 @@ import { ESGeoPolygon } from './ESGeoPolygon';
|
|
|
22
22
|
* 特殊使用限制或潜在的副作用:
|
|
23
23
|
* - 该类依赖于 ESGeoPolygon、ESClassification 和 ESGeoExtrudedPolygon 等类,确保这些类已正确导入和使用。
|
|
24
24
|
* - 在设置高度、最高高度和颜色等属性时,需要确保传入的值在合理范围内,以避免显示异常。
|
|
25
|
+
* @remarks 控高分析
|
|
25
26
|
*/
|
|
26
27
|
export declare class ESHeightLimitAnalysis extends ESGeoPolygon {
|
|
27
28
|
static readonly createDefaultProps: () => {
|
|
@@ -19,6 +19,8 @@ import { ESGeoVector } from '../base';
|
|
|
19
19
|
* 特殊使用限制或潜在的副作用:
|
|
20
20
|
* - 该类依赖于 ESGeoVector 类,因此需要确保 ESGeoVector 已正确导入和使用。
|
|
21
21
|
* - 高度值的计算基于传入的点的 Z 轴坐标差值,确保点的坐标格式正确。
|
|
22
|
+
*
|
|
23
|
+
* @remarks 高度测量
|
|
22
24
|
*/
|
|
23
25
|
export declare class ESHeightMeasurement extends ESGeoVector {
|
|
24
26
|
static readonly createDefaultProps: () => {
|
|
@@ -18,6 +18,7 @@ import { ESObjectWithLocation } from '../base';
|
|
|
18
18
|
* 特殊使用限制或潜在的副作用:
|
|
19
19
|
* - 该类的使用需要依赖 ESObjectWithLocation 类和相关的事件系统。
|
|
20
20
|
* - 自动寻路事件和停止自动寻路事件的触发需要确保相关的事件监听器已经设置。
|
|
21
|
+
* @remarks 人员
|
|
21
22
|
*/
|
|
22
23
|
export declare class ESHuman extends ESObjectWithLocation {
|
|
23
24
|
static readonly createDefaultProps: () => {
|
|
@@ -21,6 +21,7 @@ import { ESHuman } from './ESHuman';
|
|
|
21
21
|
* 特殊使用限制或潜在的副作用:
|
|
22
22
|
* - 该类是组合类,内部包含 ESHuman 和 ESFountainParticleSystem 实例,因此在使用时需要注意这两个实例的属性和方法。
|
|
23
23
|
* - 在创建实例时,建议提供唯一的 ID,以避免潜在的冲突。
|
|
24
|
+
* @remarks 人员喷泉
|
|
24
25
|
*/
|
|
25
26
|
export declare class ESHumanFountain extends ESHuman {
|
|
26
27
|
static readonly createDefaultProps: () => {
|
|
@@ -43,9 +44,7 @@ export declare class ESHumanFountain extends ESHuman {
|
|
|
43
44
|
/** 粒子发射率(每秒发射数量) */
|
|
44
45
|
fountainEmissionRate: number;
|
|
45
46
|
mode: (typeof ESHuman.modes)[number][1];
|
|
46
|
-
animation:
|
|
47
|
-
/** 喷泉扩散角度(度),影响水柱的扩散范围 */
|
|
48
|
-
(typeof ESHuman.animations)[number][1];
|
|
47
|
+
animation: (typeof ESHuman.animations)[number][1];
|
|
49
48
|
allowPicking: boolean;
|
|
50
49
|
instances: import('../..').ReactiveVariable<import('../..').ESJESGltfModelInstances | undefined>;
|
|
51
50
|
pointed: boolean;
|
|
@@ -22,6 +22,7 @@ import { ESPoi2D } from './ESPoi2D';
|
|
|
22
22
|
* 特殊使用限制或潜在的副作用:
|
|
23
23
|
* - 该类是组合类,内部包含 ESHuman 和 ESPoi2D 实例,因此在使用时需要注意这两个实例的属性和方法。
|
|
24
24
|
* - 在创建实例时,建议提供唯一的 ID,以避免潜在的冲突。
|
|
25
|
+
* @remarks 人员POI
|
|
25
26
|
*/
|
|
26
27
|
export declare class ESHumanPoi extends ESHuman {
|
|
27
28
|
static readonly createDefaultProps: () => {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { ESJVector3D, Property } from '../../ESJTypes';
|
|
2
2
|
import { SceneObjectKey, UniteChanged } from '../../xbsj-base';
|
|
3
3
|
import { ESHuman } from './ESHuman';
|
|
4
|
+
/**
|
|
5
|
+
* ESHumans - 用于在场景中指定位置批量创建人员(角色)实例的可视化对象。
|
|
6
|
+
* 继承自 ESHuman,支持通过 instancesCount 和 radius 属性批量生成并分布多个人员实例。
|
|
7
|
+
* 每个子实例会自动继承父对象的显示、拾取、缩放、动画、飞行等行为和属性。
|
|
8
|
+
* @remarks 人员批量
|
|
9
|
+
*/
|
|
4
10
|
export declare class ESHumans extends ESHuman {
|
|
5
11
|
static readonly createDefaultProps: () => {
|
|
6
12
|
instancesCount: number;
|
|
@@ -35,6 +41,10 @@ export declare class ESHumans extends ESHuman {
|
|
|
35
41
|
static readonly type: string;
|
|
36
42
|
humans: ESHuman[];
|
|
37
43
|
humansOffset: Map<string, ESJVector3D>;
|
|
44
|
+
/**
|
|
45
|
+
* 创建 ESHumans 实例。
|
|
46
|
+
* @param id - 场景对象键标识符,可选。传入后可用于在场景中定位和引用该对象。
|
|
47
|
+
*/
|
|
38
48
|
constructor(id?: SceneObjectKey);
|
|
39
49
|
getESProperties(): {
|
|
40
50
|
basic: Property[];
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ESJResource } from '../../ESJTypes';
|
|
2
|
+
import { Listener, Event, UniteChanged } from '../../xbsj-base';
|
|
3
|
+
import { ESSceneObject } from '../base';
|
|
4
|
+
/**
|
|
5
|
+
* ESKml 是用于在场景中加载和显示 KML/KMZ 数据的对象,支持路径、地标和时空数据的展示与管理。
|
|
6
|
+
* @remarks 支持 KML/KMZ 格式文件的加载,可通过 uri(远程/本地路径)或 data(直接数据)两种方式进行加载。
|
|
7
|
+
*/
|
|
8
|
+
export declare class ESKml extends ESSceneObject {
|
|
9
|
+
static readonly createDefaultProps: () => {
|
|
10
|
+
show: boolean;
|
|
11
|
+
uri: string | undefined | ESJResource;
|
|
12
|
+
allowPicking: boolean;
|
|
13
|
+
loadFuncStr: string | undefined;
|
|
14
|
+
data: string | undefined;
|
|
15
|
+
autoResetClock: boolean;
|
|
16
|
+
clockEnabled: boolean;
|
|
17
|
+
startTime: number | undefined;
|
|
18
|
+
stopTime: number | undefined;
|
|
19
|
+
currentTime: number | undefined;
|
|
20
|
+
multiplier: number;
|
|
21
|
+
clockStep: string;
|
|
22
|
+
clockRange: string;
|
|
23
|
+
shouldAnimate: boolean;
|
|
24
|
+
clampToGround: boolean;
|
|
25
|
+
name: string;
|
|
26
|
+
ref: string | undefined;
|
|
27
|
+
extras: import('../..').ReactiveVariable<import('../..').JsonValue>;
|
|
28
|
+
devTags: import('../..').ReactiveVariable<string[] | undefined>;
|
|
29
|
+
execOnceFuncStr: string | undefined;
|
|
30
|
+
updateFuncStr: string | undefined;
|
|
31
|
+
toDestroyFuncStr: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
static readonly type: string;
|
|
34
|
+
private _flyToEvent;
|
|
35
|
+
/**
|
|
36
|
+
* 获取飞入事件监听器
|
|
37
|
+
*/
|
|
38
|
+
get flyToEvent(): Listener<[number | undefined]>;
|
|
39
|
+
/**
|
|
40
|
+
* 飞入到目标位置
|
|
41
|
+
* @param duration - 飞行动画时长(毫秒),可选。
|
|
42
|
+
*/
|
|
43
|
+
flyTo(duration?: number): void;
|
|
44
|
+
private _resetClockEvent;
|
|
45
|
+
/**
|
|
46
|
+
* 获取重置时钟事件监听器
|
|
47
|
+
*/
|
|
48
|
+
get resetClockEvent(): Event<[]>;
|
|
49
|
+
/**
|
|
50
|
+
* 重置时钟
|
|
51
|
+
*/
|
|
52
|
+
resetClock(): void;
|
|
53
|
+
/**
|
|
54
|
+
* 构造函数
|
|
55
|
+
* @param id - 实例唯一标识符。
|
|
56
|
+
*/
|
|
57
|
+
constructor(id?: string);
|
|
58
|
+
getESProperties(): {
|
|
59
|
+
defaultMenu: string;
|
|
60
|
+
basic: import('../..').Property[];
|
|
61
|
+
general: import('../..').Property[];
|
|
62
|
+
more: import('../..').Property[];
|
|
63
|
+
dataSource: import('../..').Property[];
|
|
64
|
+
location: import('../..').Property[];
|
|
65
|
+
coordinate: import('../..').Property[];
|
|
66
|
+
style: import('../..').Property[];
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
export interface ESKml extends UniteChanged<ReturnType<typeof ESKml.createDefaultProps>> {
|
|
70
|
+
}
|
|
@@ -20,6 +20,7 @@ import { ESObjectWithLocation } from '../base';
|
|
|
20
20
|
* - url 属性必须指向有效的关卡包资源
|
|
21
21
|
* - downloadProgress 属性为只读,用于监控下载进度
|
|
22
22
|
* - 关卡加载距离会影响性能,建议根据实际需求合理设置
|
|
23
|
+
* @remarks 关卡运行时模型
|
|
23
24
|
*/
|
|
24
25
|
export declare class ESLevelRuntimeModel extends ESObjectWithLocation {
|
|
25
26
|
static readonly createDefaultProps: () => {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { SceneObjectKey, UniteChanged } from '../../xbsj-base';
|
|
2
|
+
import { ESLocalVector2D } from '../base';
|
|
3
|
+
/**
|
|
4
|
+
* 局部2D坐标折线,用于在局部2D坐标系中创建和显示折线路径的可视化对象
|
|
5
|
+
* @remarks 局部二维折线
|
|
6
|
+
*/
|
|
7
|
+
export declare class ESLocalLineString extends ESLocalVector2D {
|
|
8
|
+
static readonly createDefaultProps: () => {
|
|
9
|
+
/** 折线顶点数组,每个元素为局部2D坐标 [x, y] */
|
|
10
|
+
points: import('../..').ReactiveVariable<[number, number][] | undefined>;
|
|
11
|
+
/** 是否首尾相连形成闭合环 */
|
|
12
|
+
loop: boolean;
|
|
13
|
+
/** 是否为虚线 */
|
|
14
|
+
hasDash: boolean;
|
|
15
|
+
/** 虚线间隔颜色,RGBA 数组 [r, g, b, a] */
|
|
16
|
+
gapColor: import('../..').ReactiveVariable<[number, number, number, number]>;
|
|
17
|
+
/** 虚线长度(像素) */
|
|
18
|
+
dashLength: number;
|
|
19
|
+
/** 虚线图案掩码,每位表示一个像素的开关状态 */
|
|
20
|
+
dashPattern: number;
|
|
21
|
+
/** 是否在终点显示箭头 */
|
|
22
|
+
hasArrow: boolean;
|
|
23
|
+
/** 是否开启深度检测 */
|
|
24
|
+
depthTest: boolean;
|
|
25
|
+
/** 是否绘制描边 */
|
|
26
|
+
stroked: boolean;
|
|
27
|
+
pointed: boolean;
|
|
28
|
+
pointStyle: import('../..').ReactiveVariable<import('../..').ESJPointStyle>;
|
|
29
|
+
strokeStyle: import('../..').ReactiveVariable<import('../..').ESJStrokeStyle>;
|
|
30
|
+
filled: boolean;
|
|
31
|
+
fillStyle: import('../..').ReactiveVariable<import('../..').ESJFillStyle>;
|
|
32
|
+
position: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
33
|
+
rotation: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
34
|
+
positionOffset: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
35
|
+
scale: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
36
|
+
minVisibleDistance: import('../..').ReactiveVariable<number>;
|
|
37
|
+
maxVisibleDistance: import('../..').ReactiveVariable<number>;
|
|
38
|
+
show: boolean;
|
|
39
|
+
collision: boolean;
|
|
40
|
+
allowPicking: boolean;
|
|
41
|
+
flyToParam: import('../..').ReactiveVariable<import('../..').ESJFlyToParam | undefined>;
|
|
42
|
+
flyInParam: import('../..').ReactiveVariable<import('../..').ESJFlyInParam | undefined>;
|
|
43
|
+
name: string;
|
|
44
|
+
ref: string | undefined;
|
|
45
|
+
extras: import('../..').ReactiveVariable<import('../..').JsonValue>;
|
|
46
|
+
devTags: import('../..').ReactiveVariable<string[] | undefined>;
|
|
47
|
+
execOnceFuncStr: string | undefined;
|
|
48
|
+
updateFuncStr: string | undefined;
|
|
49
|
+
toDestroyFuncStr: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
static readonly type: string;
|
|
52
|
+
/**
|
|
53
|
+
* 创建 ESLocalLineString 实例
|
|
54
|
+
* @param id 场景对象标识键,可选
|
|
55
|
+
*/
|
|
56
|
+
constructor(id?: SceneObjectKey);
|
|
57
|
+
/**
|
|
58
|
+
* @override
|
|
59
|
+
* @returns 包含折线相关属性的 ESJTypes 属性数组
|
|
60
|
+
*/
|
|
61
|
+
getESProperties(): {
|
|
62
|
+
more: import('../..').Property[];
|
|
63
|
+
style: import('../..').Property[];
|
|
64
|
+
defaultMenu: string;
|
|
65
|
+
location: import('../..').Property[];
|
|
66
|
+
general: import('../..').Property[];
|
|
67
|
+
basic: import('../..').Property[];
|
|
68
|
+
dataSource: import('../..').Property[];
|
|
69
|
+
coordinate: import('../..').Property[];
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
export interface ESLocalLineString extends UniteChanged<ReturnType<typeof ESLocalLineString.createDefaultProps>> {
|
|
73
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { SceneObjectKey, UniteChanged } from '../../xbsj-base';
|
|
2
|
+
import { ESLocalVector } from '../base';
|
|
3
|
+
/**
|
|
4
|
+
* 局部三维坐标折线
|
|
5
|
+
*
|
|
6
|
+
* 在局部坐标系中创建和显示带有高度信息的三维折线。
|
|
7
|
+
* 支持设置坐标点、颜色、虚线样式、箭头、深度检测等属性。
|
|
8
|
+
* @remarks 局部三维折线
|
|
9
|
+
*/
|
|
10
|
+
export declare class ESLocalLineStringZ extends ESLocalVector {
|
|
11
|
+
static readonly createDefaultProps: () => {
|
|
12
|
+
/** 三维坐标位置数组 */
|
|
13
|
+
points: import('../..').ReactiveVariable<[number, number, number][] | undefined>;
|
|
14
|
+
/** 是否首尾相连 */
|
|
15
|
+
loop: boolean;
|
|
16
|
+
/** 宽度(像素),默认为1.0 */
|
|
17
|
+
width: number | undefined;
|
|
18
|
+
/** 颜色,默认为 [1, 1, 1, 1] */
|
|
19
|
+
color: import('../..').ReactiveVariable<[number, number, number, number] | undefined>;
|
|
20
|
+
/** 是否为虚线 */
|
|
21
|
+
hasDash: boolean;
|
|
22
|
+
/** 虚线间隔颜色,默认为 [0, 0, 0, 0] */
|
|
23
|
+
gapColor: import('../..').ReactiveVariable<[number, number, number, number]>;
|
|
24
|
+
/** 虚线长度,默认为 16 */
|
|
25
|
+
dashLength: number;
|
|
26
|
+
/** 虚线图案,默认为 255 */
|
|
27
|
+
dashPattern: number;
|
|
28
|
+
/** 是否带箭头 */
|
|
29
|
+
hasArrow: boolean;
|
|
30
|
+
/** 是否开启深度检测 */
|
|
31
|
+
depthTest: boolean;
|
|
32
|
+
/** 是否描边 */
|
|
33
|
+
stroked: boolean;
|
|
34
|
+
pointed: boolean;
|
|
35
|
+
pointStyle: import('../..').ReactiveVariable<import('../..').ESJPointStyle>;
|
|
36
|
+
strokeStyle: import('../..').ReactiveVariable<import('../..').ESJStrokeStyle>;
|
|
37
|
+
filled: boolean;
|
|
38
|
+
fillStyle: import('../..').ReactiveVariable<import('../..').ESJFillStyle>;
|
|
39
|
+
position: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
40
|
+
rotation: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
41
|
+
positionOffset: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
42
|
+
scale: import('../..').ReactiveVariable<import('../..').ESJVector3D>;
|
|
43
|
+
minVisibleDistance: import('../..').ReactiveVariable<number>;
|
|
44
|
+
maxVisibleDistance: import('../..').ReactiveVariable<number>;
|
|
45
|
+
show: boolean;
|
|
46
|
+
collision: boolean;
|
|
47
|
+
allowPicking: boolean;
|
|
48
|
+
flyToParam: import('../..').ReactiveVariable<import('../..').ESJFlyToParam | undefined>;
|
|
49
|
+
flyInParam: import('../..').ReactiveVariable<import('../..').ESJFlyInParam | undefined>;
|
|
50
|
+
name: string;
|
|
51
|
+
ref: string | undefined;
|
|
52
|
+
extras: import('../..').ReactiveVariable<import('../..').JsonValue>;
|
|
53
|
+
devTags: import('../..').ReactiveVariable<string[] | undefined>;
|
|
54
|
+
execOnceFuncStr: string | undefined;
|
|
55
|
+
updateFuncStr: string | undefined;
|
|
56
|
+
toDestroyFuncStr: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
static readonly type: string;
|
|
59
|
+
/**
|
|
60
|
+
* @param id - 场景对象键,可选
|
|
61
|
+
*/
|
|
62
|
+
constructor(id?: SceneObjectKey);
|
|
63
|
+
/**
|
|
64
|
+
* @override
|
|
65
|
+
* @returns 包含更多属性配置的对象
|
|
66
|
+
*/
|
|
67
|
+
getESProperties(): {
|
|
68
|
+
more: import('../..').Property[];
|
|
69
|
+
style: import('../..').Property[];
|
|
70
|
+
defaultMenu: string;
|
|
71
|
+
location: import('../..').Property[];
|
|
72
|
+
general: import('../..').Property[];
|
|
73
|
+
basic: import('../..').Property[];
|
|
74
|
+
dataSource: import('../..').Property[];
|
|
75
|
+
coordinate: import('../..').Property[];
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export interface ESLocalLineStringZ extends UniteChanged<ReturnType<typeof ESLocalLineStringZ.createDefaultProps>> {
|
|
79
|
+
}
|
|
@@ -21,6 +21,7 @@ import { UniteChanged } from '../../xbsj-base';
|
|
|
21
21
|
* - 该类适用于 Cesium 和 UE(Unreal Engine)实现
|
|
22
22
|
* - 多边形默认启用填充(filled = true)
|
|
23
23
|
* - 需要设置 points 属性来定义多边形的顶点坐标
|
|
24
|
+
* @remarks 局部三维多边形
|
|
24
25
|
*/
|
|
25
26
|
export declare class ESLocalPolygonZ extends ESLocalVector {
|
|
26
27
|
static readonly createDefaultProps: () => {
|
|
@@ -22,6 +22,7 @@ import { ESLocalVector2D } from '../base';
|
|
|
22
22
|
* - 默认宽度为 500000 单位,默认高度为 300000 单位
|
|
23
23
|
* - 矩形的位置基于继承自父类的局部坐标系属性
|
|
24
24
|
* - 适用于 Cesium 和 UE 引擎的实现
|
|
25
|
+
* @remarks 局部矩形
|
|
25
26
|
*/
|
|
26
27
|
export declare class ESLocalRectangle extends ESLocalVector2D {
|
|
27
28
|
static readonly createDefaultProps: () => {
|
|
@@ -2,6 +2,10 @@ import { ESJPickedResult, ESJVector4D } from '../../ESJTypes';
|
|
|
2
2
|
import { UniteChanged, Event } from '../../xbsj-base';
|
|
3
3
|
import { ESVisualObject } from '../base';
|
|
4
4
|
import { ESJSplitDirectionType } from './ESImageryLayer/types';
|
|
5
|
+
/**
|
|
6
|
+
* 矢量瓦片图层
|
|
7
|
+
* @remarks 矢量瓦片图层
|
|
8
|
+
*/
|
|
5
9
|
export declare class ESMVTLayer extends ESVisualObject {
|
|
6
10
|
static readonly createDefaultProps: () => {
|
|
7
11
|
rectangle: import('../..').ReactiveVariable<ESJVector4D | undefined>;
|
|
@@ -25,6 +25,7 @@ import { ESObjectWithLocation } from '../base';
|
|
|
25
25
|
* - 图像资源路径需要确保可访问,默认使用烟雾纹理
|
|
26
26
|
* - 播放器的时间控制会影响粒子的生成和更新频率
|
|
27
27
|
* - 某些属性(如发射器类型)的修改可能需要重新初始化粒子系统
|
|
28
|
+
* @remarks 粒子系统图元
|
|
28
29
|
*/
|
|
29
30
|
export declare class ESParticleSystemPrimitive extends ESObjectWithLocation {
|
|
30
31
|
static readonly createDefaultProps: () => {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ESPathImpl } from '.';
|
|
2
2
|
import { Destroyable } from '../../../../xbsj-base';
|
|
3
|
+
/**
|
|
4
|
+
* 折线重置类,用于管理 ESPathImpl 的折线位置更新。
|
|
5
|
+
* 当 show 为 false 时不会对 positions 赋值,这会导致 flyTo 不起作用。
|
|
6
|
+
*/
|
|
3
7
|
export declare class PolylineResetting extends Destroyable {
|
|
4
8
|
constructor(geoPath: ESPathImpl);
|
|
5
9
|
}
|
|
@@ -22,6 +22,8 @@ import { ESGeoVector } from '../base';
|
|
|
22
22
|
* - 需要至少2个点才能计算距离
|
|
23
23
|
* - 部分旧版本的属性(如某些materialMode值)已被弃用,使用时会触发警告
|
|
24
24
|
* - 该类支持 Cesium 和 UE 平台的实现
|
|
25
|
+
*
|
|
26
|
+
* @remarks 管道围栏
|
|
25
27
|
*/
|
|
26
28
|
export declare class ESPipeFence extends ESGeoVector {
|
|
27
29
|
static readonly createDefaultProps: () => {
|
|
@@ -22,6 +22,8 @@ import { ESGeoLineString } from './ESGeoLineString';
|
|
|
22
22
|
* - 部分属性已被标记为弃用(如旧版本的 materialMode 值和 show 属性)
|
|
23
23
|
* - 管线需要至少两个坐标点才能正确显示
|
|
24
24
|
* - 材质图片配置需要提供有效的图片资源URL
|
|
25
|
+
*
|
|
26
|
+
* @remarks 管线
|
|
25
27
|
*/
|
|
26
28
|
export declare class ESPipeline extends ESGeoLineString {
|
|
27
29
|
static readonly createDefaultProps: () => {
|
|
@@ -20,6 +20,7 @@ import { ES3DTileset } from './ES3DTileset';
|
|
|
20
20
|
* - 该类专门用于 PipeSer 管线数据,不适用于其他类型的 3D 数据
|
|
21
21
|
* - layerJson 参数可以是 JSON 字符串或对象数组格式
|
|
22
22
|
* - 颜色模式的切换会影响整个图层的渲染效果
|
|
23
|
+
* @remarks 管线瓦片集
|
|
23
24
|
*/
|
|
24
25
|
export declare class ESPipeserTileset extends ES3DTileset {
|
|
25
26
|
static readonly createDefaultProps: () => {
|
|
@@ -34,6 +34,7 @@ export type ESJTexture = {
|
|
|
34
34
|
* - 该对象默认关闭碰撞检测和拾取功能,适用于视觉展示场景
|
|
35
35
|
* - 坑的深度和插值距离会影响渲染性能,建议根据实际需求合理设置
|
|
36
36
|
* - 纹理图片路径依赖于环境变量配置,请确保资源路径正确
|
|
37
|
+
* @remarks 坑(Pit)是一种特殊的多边形挖洞效果,通过深度、侧面/底面纹理等参数控制外观。深度为正表示向下凹陷,插值距离控制坑壁与地表之间过渡的平滑范围。默认关闭碰撞检测和拾取,适用于视觉展示而非交互操作。
|
|
37
38
|
*/
|
|
38
39
|
export declare class ESPit extends ESGeoPolygon {
|
|
39
40
|
static readonly createDefaultProps: () => {
|
|
@@ -21,6 +21,7 @@ import { ESObjectWithLocation } from '../base';
|
|
|
21
21
|
* - 模式只支持 'triangle' 和 'diamond' 两种值
|
|
22
22
|
* - 样式颜色值为RGBA格式的数组,取值范围0-1
|
|
23
23
|
* - 该类已注册到 earthsdk 系统中,支持 Cesium 和 UE 实现
|
|
24
|
+
* @remarks 三维POI
|
|
24
25
|
*/
|
|
25
26
|
export declare class ESPoi3D extends ESObjectWithLocation {
|
|
26
27
|
static readonly createDefaultProps: () => {
|
|
@@ -42,6 +42,7 @@ export type ESPoiType = {
|
|
|
42
42
|
* - poiTypes属性是一个复杂对象数组,每个元素包含type、povit、widget、worldScale、hiddenDistance等字段
|
|
43
43
|
* - 该类依赖于UE(Unreal Engine)实现,使用时需确保运行环境支持
|
|
44
44
|
* - POI的显示效果受hiddenDistance参数影响,距离过远时POI会被隐藏以优化性能
|
|
45
|
+
* @remarks POI瓦片集
|
|
45
46
|
*/
|
|
46
47
|
export declare class ESPoiTileset extends ESVisualObject {
|
|
47
48
|
static readonly createDefaultProps: () => {
|
|
@@ -20,6 +20,8 @@ import { ESGeoPolygon } from './ESGeoPolygon';
|
|
|
20
20
|
* - 该类默认将多边形设置为不填充状态(filled = false)
|
|
21
21
|
* - 需要配合有效的瓦片图层ID才能实现压平效果
|
|
22
22
|
* - 仅在支持 Cesium 和 UE 的实现环境中可用
|
|
23
|
+
*
|
|
24
|
+
* @remarks 多边形压平
|
|
23
25
|
*/
|
|
24
26
|
export declare class ESPolygonFlattenedPlane extends ESGeoPolygon {
|
|
25
27
|
static readonly createDefaultProps: () => {
|
|
@@ -16,6 +16,8 @@ import { ESVisualObject } from '../base';
|
|
|
16
16
|
* - 默认不填充多边形(filled = false)
|
|
17
17
|
* - 需要配合有效的瓦片图层ID才能实现压平效果
|
|
18
18
|
* - 仅在支持 Cesium 的实现环境中可用
|
|
19
|
+
*
|
|
20
|
+
* @remarks 多压平
|
|
19
21
|
*/
|
|
20
22
|
export declare class ESPolygonsFlattenedPlane extends ESVisualObject {
|
|
21
23
|
static readonly createDefaultProps: () => {
|