@nnepoch/dtc-sdk 3.0.11 → 3.0.13
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/browser/dtc-sdk-3.0.13.js +2 -0
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.d.cts +329 -9
- package/dist/esm/index.d.ts +329 -9
- package/dist/esm/index.js +4 -4
- package/docs/api/api/classes/ApiRegistryError.md +2 -2
- package/docs/api/api/classes/Camera.md +3 -3
- package/docs/api/api/classes/GizmosTool.md +94 -0
- package/docs/api/api/classes/HeatMap.md +217 -0
- package/docs/api/api/classes/HighLighterEffect.md +6 -0
- package/docs/api/api/classes/Layer.md +103 -1
- package/docs/api/api/classes/Model.md +58 -0
- package/docs/api/api/classes/Navigation.md +618 -0
- package/docs/api/api/classes/PathPatrol.md +8 -4
- package/docs/api/api/classes/PointEditor.md +265 -0
- package/docs/api/api/classes/PointIcon.md +275 -0
- package/docs/api/api/classes/SpatialQuery.md +175 -0
- package/docs/api/api/classes/TimeLine.md +4 -0
- package/docs/api/api/classes/TrainSimulate.md +250 -0
- package/docs/api/api/classes/WeatherSystem.md +55 -6
- package/docs/api/api/classes/WebView.md +61 -0
- package/docs/api/api/index.md +11 -0
- package/docs/api/api/interfaces/ApiInstanceMap.md +52 -0
- package/docs/api/api/interfaces/ApiRegistryContext.md +21 -1
- package/docs/api/api/interfaces/PointIconIdsRequest.md +9 -0
- package/docs/api/api/interfaces/PointIconVisibilityResult.md +31 -0
- package/docs/api/api/type-aliases/ApiModuleFactory.md +1 -1
- package/docs/api/api/type-aliases/PointIconIdsInput.md +5 -0
- package/docs/api/application/DTCEngine/classes/DTCEngine.md +72 -0
- package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +2 -2
- package/docs/api/index.md +1 -1
- package/docs/api/typedoc-sidebar.json +260 -0
- package/docs/api/types/enumerations/FilterMode.md +21 -0
- package/docs/api/types/enumerations/GizmoType.md +37 -0
- package/docs/api/types/enumerations/TrainBehavior.md +29 -0
- package/docs/api/types/index.md +54 -0
- package/docs/api/types/interfaces/AnimationGetLengthRequest.md +1 -1
- package/docs/api/types/interfaces/AnimationPlayRequest.md +5 -5
- package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +1 -1
- package/docs/api/types/interfaces/AnimationStartLoopRequest.md +4 -4
- package/docs/api/types/interfaces/AnimationStopLoopRequest.md +1 -1
- package/docs/api/types/interfaces/AnimationStopRequest.md +1 -1
- package/docs/api/types/interfaces/ApiRequestEnvelope.md +1 -1
- package/docs/api/types/interfaces/ApiResponseEnvelope.md +3 -3
- package/docs/api/types/interfaces/AuthSessionSnapshot.md +4 -4
- package/docs/api/types/interfaces/BuildingFloorCancelOptions.md +11 -0
- package/docs/api/types/interfaces/BuildingFloorItem.md +29 -0
- package/docs/api/types/interfaces/BuildingFloorOverview.md +21 -0
- package/docs/api/types/interfaces/BuildingFloorOverviewOptions.md +19 -0
- package/docs/api/types/interfaces/BuildingFloorRegistration.md +37 -0
- package/docs/api/types/interfaces/BuildingFloorRegistrationResult.md +11 -0
- package/docs/api/types/interfaces/BuildingFloorState.md +35 -0
- package/docs/api/types/interfaces/BuildingFloorStateOptions.md +11 -0
- package/docs/api/types/interfaces/BuildingFloorSwitchOptions.md +25 -0
- package/docs/api/types/interfaces/BuildingFloorTransitionResult.md +43 -0
- package/docs/api/types/interfaces/BuildingFloorViewPoint.md +37 -0
- package/docs/api/types/interfaces/CameraFlyByPathRequest.md +4 -4
- package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +11 -3
- package/docs/api/types/interfaces/CameraLookAtRequest.md +7 -7
- package/docs/api/types/interfaces/CameraObjFollowRequest.md +3 -3
- package/docs/api/types/interfaces/CenterConnectResult.md +4 -4
- package/docs/api/types/interfaces/CenterEnvelope.md +4 -4
- package/docs/api/types/interfaces/CenterServiceInfo.md +5 -5
- package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +1 -1
- package/docs/api/types/interfaces/DlssSetEnableRequest.md +2 -2
- package/docs/api/types/interfaces/DlssSetQualityRequest.md +1 -1
- package/docs/api/types/interfaces/EngineConfig.md +34 -18
- package/docs/api/types/interfaces/GizmosStartSimpleRequest.md +21 -0
- package/docs/api/types/interfaces/HeatMapConfigRequest.md +53 -0
- package/docs/api/types/interfaces/HeatMapCreateRequest.md +85 -0
- package/docs/api/types/interfaces/HeatMapPointRequest.md +21 -0
- package/docs/api/types/interfaces/HeatMapRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +1 -1
- package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +1 -1
- package/docs/api/types/interfaces/LayerAddRequest.md +14 -6
- package/docs/api/types/interfaces/LayerChildElementRequest.md +1 -1
- package/docs/api/types/interfaces/LayerModelAddRequest.md +19 -7
- package/docs/api/types/interfaces/LayerPOIAddRequest.md +22 -14
- package/docs/api/types/interfaces/LayerResetPOINameRequest.md +21 -0
- package/docs/api/types/interfaces/LayerSelectorRequest.md +1 -1
- package/docs/api/types/interfaces/LayerShowUIPopRequest.md +5 -5
- package/docs/api/types/interfaces/LayerUpdatePOINameRequest.md +37 -0
- package/docs/api/types/interfaces/ModelAddRequest.md +5 -5
- package/docs/api/types/interfaces/ModelPOIAddRequest.md +3 -3
- package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +4 -4
- package/docs/api/types/interfaces/ModelSelectorRequest.md +1 -1
- package/docs/api/types/interfaces/ModelSetVisibleByAttributeRequest.md +37 -0
- package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +1 -1
- package/docs/api/types/interfaces/ModelSetVisibleRequest.md +2 -2
- package/docs/api/types/interfaces/ModelTransformNodeRequest.md +1 -1
- package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +1 -1
- package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +7 -7
- package/docs/api/types/interfaces/ModelTransformRotateRequest.md +1 -1
- package/docs/api/types/interfaces/ModelTransformScaleRequest.md +2 -2
- package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +5 -5
- package/docs/api/types/interfaces/NavigationMeshNavRequest.md +121 -0
- package/docs/api/types/interfaces/NavigationNavByPathRequest.md +61 -0
- package/docs/api/types/interfaces/NavigationNodeRequest.md +21 -0
- package/docs/api/types/interfaces/NavigationUpdateMeshNavRequest.md +45 -0
- package/docs/api/types/interfaces/NavigationUpdateNavPathRequest.md +45 -0
- package/docs/api/types/interfaces/NavigationUpdateSpeedRequest.md +27 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +1 -1
- package/docs/api/types/interfaces/NetworkAdaptationState.md +1 -1
- package/docs/api/types/interfaces/NetworkDecisionTrace.md +2 -2
- package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +2 -2
- package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +7 -7
- package/docs/api/types/interfaces/PathPatrolAddRequest.md +18 -10
- package/docs/api/types/interfaces/PathPatrolNodeRequest.md +1 -1
- package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +3 -3
- package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +5 -5
- package/docs/api/types/interfaces/PointEditorAddRequest.md +149 -0
- package/docs/api/types/interfaces/PointEditorCategory.md +29 -0
- package/docs/api/types/interfaces/PointEditorClientPosition.md +21 -0
- package/docs/api/types/interfaces/PointEditorDeleteRequest.md +21 -0
- package/docs/api/types/interfaces/PointEditorDeleteResult.md +21 -0
- package/docs/api/types/interfaces/PointEditorResource.md +37 -0
- package/docs/api/types/interfaces/PointEditorScreenPosition.md +21 -0
- package/docs/api/types/interfaces/PointEditorVector.md +29 -0
- package/docs/api/types/interfaces/PopupAddRequest.md +2 -2
- package/docs/api/types/interfaces/PopupItemRequest.md +5 -5
- package/docs/api/types/interfaces/PopupRemoveRequest.md +2 -2
- package/docs/api/types/interfaces/PopupShowRequest.md +3 -3
- package/docs/api/types/interfaces/PopupSyncInfoRequest.md +2 -2
- package/docs/api/types/interfaces/QosEvent.md +5 -5
- package/docs/api/types/interfaces/QosRuntimeContext.md +4 -4
- package/docs/api/types/interfaces/ResolvedEngineConfig.md +17 -5
- package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +1 -1
- package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +1 -1
- package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +2 -2
- package/docs/api/types/interfaces/SignallingAllocateResponse.md +4 -4
- package/docs/api/types/interfaces/SpatialQueryLayerByModelBoxRequest.md +29 -0
- package/docs/api/types/interfaces/SpatialQueryLayerByModelRequest.md +53 -0
- package/docs/api/types/interfaces/SpatialQueryLayerByPositionRequest.md +45 -0
- package/docs/api/types/interfaces/StandardResponse.md +1 -1
- package/docs/api/types/interfaces/TimelineNodeRequest.md +2 -2
- package/docs/api/types/interfaces/TimelinePlayRequest.md +6 -6
- package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +3 -3
- package/docs/api/types/interfaces/TimelineStopRequest.md +5 -5
- package/docs/api/types/interfaces/TrainSimulateSetCameraFollowTrainRequest.md +29 -0
- package/docs/api/types/interfaces/TrainSimulateSetTrainBehaviorRequest.md +29 -0
- package/docs/api/types/interfaces/TrainSimulateSetTrainVolumeRequest.md +29 -0
- package/docs/api/types/interfaces/TrainSimulateStartTrainRequest.md +77 -0
- package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +1 -1
- package/docs/api/types/interfaces/Vector2JsonInput.md +15 -0
- package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +1 -1
- package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +8 -8
- package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +3 -3
- package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +1 -1
- package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +1 -1
- package/docs/api/types/interfaces/WeatherSetVolumeRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherTypeRequest.md +2 -8
- package/docs/api/types/interfaces/WebViewUpdateRequest.md +29 -0
- package/docs/api/types/type-aliases/ApiCallback.md +1 -1
- package/docs/api/types/type-aliases/BuildingFloorFocusMode.md +5 -0
- package/docs/api/types/type-aliases/BuildingFloorInput.md +7 -0
- package/docs/api/types/type-aliases/BuildingFloorRuntimeStatus.md +5 -0
- package/docs/api/types/type-aliases/BuildingFloorTransitionStatus.md +5 -0
- package/docs/api/types/type-aliases/PointEditorCreateCallback.md +7 -0
- package/docs/api/types/type-aliases/PointEditorPoint.md +7 -0
- package/docs/api/types/type-aliases/PointEditorUpdateRequest.md +15 -0
- package/docs/api/types/type-aliases/Vector2Input.md +5 -0
- package/package.json +1 -1
- package/dist/browser/dtc-sdk-3.0.11.js +0 -2
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorAddRequest
|
|
4
|
+
|
|
5
|
+
模型点位创建参数;不传 position/screenPosition 时 addPoint 等待一次网页点击。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
场景分组 ID;可使用既有 MQTT 加载的分组,不要求 SDK 新建分组。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
点位全局标识,对应后端 globalId,不是数据库主键。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### type
|
|
26
|
+
|
|
27
|
+
> **type**: `"MODEL"`
|
|
28
|
+
|
|
29
|
+
本期只支持 MODEL,不支持独立 POI。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### code?
|
|
34
|
+
|
|
35
|
+
> `optional` **code?**: `string`
|
|
36
|
+
|
|
37
|
+
业务编码,不用于替代 id。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### name?
|
|
42
|
+
|
|
43
|
+
> `optional` **name?**: `string`
|
|
44
|
+
|
|
45
|
+
点位显示名称。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### position?
|
|
50
|
+
|
|
51
|
+
> `optional` **position?**: [`PointEditorVector`](PointEditorVector.md)
|
|
52
|
+
|
|
53
|
+
已知的经纬高位置;与 screenPosition 二选一。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### screenPosition?
|
|
58
|
+
|
|
59
|
+
> `optional` **screenPosition?**: [`PointEditorScreenPosition`](PointEditorScreenPosition.md)
|
|
60
|
+
|
|
61
|
+
drop 时记录的视频图像坐标;addPointByDrag 未传 position 时必填。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### rotation?
|
|
66
|
+
|
|
67
|
+
> `optional` **rotation?**: [`PointEditorVector`](PointEditorVector.md)
|
|
68
|
+
|
|
69
|
+
旋转(度);与既有 payload 约定一致:X=Roll、Y=Pitch、Z=Yaw。
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### scale?
|
|
74
|
+
|
|
75
|
+
> `optional` **scale?**: [`PointEditorVector`](PointEditorVector.md)
|
|
76
|
+
|
|
77
|
+
模型缩放,默认 (1, 1, 1)。
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### show?
|
|
82
|
+
|
|
83
|
+
> `optional` **show?**: `boolean`
|
|
84
|
+
|
|
85
|
+
模型是否显示,默认 true。
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### poiEnabled?
|
|
90
|
+
|
|
91
|
+
> `optional` **poiEnabled?**: `boolean`
|
|
92
|
+
|
|
93
|
+
附属 POI 是否显示,默认 true。
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### poiOffsetY?
|
|
98
|
+
|
|
99
|
+
> `optional` **poiOffsetY?**: `number`
|
|
100
|
+
|
|
101
|
+
附属 POI 向上偏移(米),默认 0。
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### poiScaleFactor?
|
|
106
|
+
|
|
107
|
+
> `optional` **poiScaleFactor?**: `number`
|
|
108
|
+
|
|
109
|
+
附属 POI 等比缩放,默认 1;允许 0。
|
|
110
|
+
|
|
111
|
+
***
|
|
112
|
+
|
|
113
|
+
### poiShowName?
|
|
114
|
+
|
|
115
|
+
> `optional` **poiShowName?**: `boolean`
|
|
116
|
+
|
|
117
|
+
附属 POI 是否显示名称,默认 true。
|
|
118
|
+
|
|
119
|
+
***
|
|
120
|
+
|
|
121
|
+
### extraProps?
|
|
122
|
+
|
|
123
|
+
> `optional` **extraProps?**: `Record`\<`string`, `unknown`\>
|
|
124
|
+
|
|
125
|
+
JSON 对象形式的业务属性,默认 {};更新时整体替换此字段。
|
|
126
|
+
|
|
127
|
+
***
|
|
128
|
+
|
|
129
|
+
### lookAt?
|
|
130
|
+
|
|
131
|
+
> `optional` **lookAt?**: `string`
|
|
132
|
+
|
|
133
|
+
视角配置字符串,空字符串可清空。
|
|
134
|
+
|
|
135
|
+
***
|
|
136
|
+
|
|
137
|
+
### resource
|
|
138
|
+
|
|
139
|
+
> **resource**: [`PointEditorResource`](PointEditorResource.md)
|
|
140
|
+
|
|
141
|
+
模型及可选附属 POI 的资源。
|
|
142
|
+
|
|
143
|
+
***
|
|
144
|
+
|
|
145
|
+
### category?
|
|
146
|
+
|
|
147
|
+
> `optional` **category?**: [`PointEditorCategory`](PointEditorCategory.md)
|
|
148
|
+
|
|
149
|
+
业务分类。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorCategory
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorCategory
|
|
4
|
+
|
|
5
|
+
点位分类,保留业务目录的分类标识和名称。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### code?
|
|
10
|
+
|
|
11
|
+
> `optional` **code?**: `string`
|
|
12
|
+
|
|
13
|
+
分类业务编码,沿用 sdk2 的 code 字段。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### name?
|
|
18
|
+
|
|
19
|
+
> `optional` **name?**: `string`
|
|
20
|
+
|
|
21
|
+
分类名称。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### type?
|
|
26
|
+
|
|
27
|
+
> `optional` **type?**: `string`
|
|
28
|
+
|
|
29
|
+
分类类型,沿用现有资源目录的 type。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorClientPosition
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorClientPosition
|
|
4
|
+
|
|
5
|
+
drop 当时的浏览器视口坐标,不是页面滚动坐标。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### clientX
|
|
10
|
+
|
|
11
|
+
> **clientX**: `number`
|
|
12
|
+
|
|
13
|
+
浏览器事件 clientX。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### clientY
|
|
18
|
+
|
|
19
|
+
> **clientY**: `number`
|
|
20
|
+
|
|
21
|
+
浏览器事件 clientY。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorDeleteRequest
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorDeleteRequest
|
|
4
|
+
|
|
5
|
+
批量删除参数;先检查全部已存在目标的来源和类型,再执行删除。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
网页分组 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
待删除点位全局 ID 列表,不允许空数组或重复 ID。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorDeleteResult
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorDeleteResult
|
|
4
|
+
|
|
5
|
+
删除结果;不存在的 ID 进入 failedIds,不能视为全部成功。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### deletedIds
|
|
10
|
+
|
|
11
|
+
> **deletedIds**: `string`[]
|
|
12
|
+
|
|
13
|
+
成功删除的点位 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### failedIds
|
|
18
|
+
|
|
19
|
+
> **failedIds**: `string`[]
|
|
20
|
+
|
|
21
|
+
未找到或未成功删除的点位 ID。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorResource
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorResource
|
|
4
|
+
|
|
5
|
+
UE 模型资源;由业务资源目录提供,不使用 Unity 资源路径。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### type?
|
|
10
|
+
|
|
11
|
+
> `optional` **type?**: `"MODEL"`
|
|
12
|
+
|
|
13
|
+
资源类别,仅支持 MODEL。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### name?
|
|
18
|
+
|
|
19
|
+
> `optional` **name?**: `string`
|
|
20
|
+
|
|
21
|
+
资源名称。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### path
|
|
26
|
+
|
|
27
|
+
> **path**: `string`
|
|
28
|
+
|
|
29
|
+
可加载的 UE Actor 蓝图类路径。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### poiAsset?
|
|
34
|
+
|
|
35
|
+
> `optional` **poiAsset?**: `string`
|
|
36
|
+
|
|
37
|
+
模型附属 POI 的 UE Actor 蓝图路径;空字符串表示不创建图标。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorScreenPosition
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorScreenPosition
|
|
4
|
+
|
|
5
|
+
视频完整图像中的归一化位置,范围 [0,1];需在实际 drop 时记录。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### x
|
|
10
|
+
|
|
11
|
+
> **x**: `number`
|
|
12
|
+
|
|
13
|
+
图像从左到右的比例。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### y
|
|
18
|
+
|
|
19
|
+
> **y**: `number`
|
|
20
|
+
|
|
21
|
+
图像从上到下的比例。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorVector
|
|
2
|
+
|
|
3
|
+
# Interface: PointEditorVector
|
|
4
|
+
|
|
5
|
+
点位向量;位置采用经纬高,旋转、缩放不做地理坐标转换。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### x
|
|
10
|
+
|
|
11
|
+
> **x**: `number`
|
|
12
|
+
|
|
13
|
+
经度,或旋转/缩放的 X 分量。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### y
|
|
18
|
+
|
|
19
|
+
> **y**: `number`
|
|
20
|
+
|
|
21
|
+
纬度,或旋转/缩放的 Y 分量。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### z
|
|
26
|
+
|
|
27
|
+
> **z**: `number`
|
|
28
|
+
|
|
29
|
+
高度(米),或旋转/缩放的 Z 分量。
|
|
@@ -8,7 +8,7 @@ Popup.addPop 参数。
|
|
|
8
8
|
|
|
9
9
|
### groupName?
|
|
10
10
|
|
|
11
|
-
> `optional` **groupName
|
|
11
|
+
> `optional` **groupName?**: `string`
|
|
12
12
|
|
|
13
13
|
分组名称。
|
|
14
14
|
|
|
@@ -16,6 +16,6 @@ Popup.addPop 参数。
|
|
|
16
16
|
|
|
17
17
|
### popInfo?
|
|
18
18
|
|
|
19
|
-
> `optional` **popInfo
|
|
19
|
+
> `optional` **popInfo?**: [`PopupItemRequest`](PopupItemRequest.md)[]
|
|
20
20
|
|
|
21
21
|
气泡配置列表。
|
|
@@ -16,7 +16,7 @@ Popup.addPop 单项配置。
|
|
|
16
16
|
|
|
17
17
|
### parentId?
|
|
18
18
|
|
|
19
|
-
> `optional` **parentId
|
|
19
|
+
> `optional` **parentId?**: `string`
|
|
20
20
|
|
|
21
21
|
父节点 ID。
|
|
22
22
|
|
|
@@ -32,7 +32,7 @@ Popup.addPop 单项配置。
|
|
|
32
32
|
|
|
33
33
|
### visible?
|
|
34
34
|
|
|
35
|
-
> `optional` **visible
|
|
35
|
+
> `optional` **visible?**: `boolean`
|
|
36
36
|
|
|
37
37
|
是否可见。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Popup.addPop 单项配置。
|
|
|
40
40
|
|
|
41
41
|
### position?
|
|
42
42
|
|
|
43
|
-
> `optional` **position
|
|
43
|
+
> `optional` **position?**: `Vector3`
|
|
44
44
|
|
|
45
45
|
显示位置。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Popup.addPop 单项配置。
|
|
|
48
48
|
|
|
49
49
|
### offSetX?
|
|
50
50
|
|
|
51
|
-
> `optional` **offSetX
|
|
51
|
+
> `optional` **offSetX?**: `number`
|
|
52
52
|
|
|
53
53
|
X 方向偏移。
|
|
54
54
|
|
|
@@ -56,6 +56,6 @@ X 方向偏移。
|
|
|
56
56
|
|
|
57
57
|
### offSetY?
|
|
58
58
|
|
|
59
|
-
> `optional` **offSetY
|
|
59
|
+
> `optional` **offSetY?**: `number`
|
|
60
60
|
|
|
61
61
|
Y 方向偏移。
|
|
@@ -8,7 +8,7 @@ Popup.removePop 参数。
|
|
|
8
8
|
|
|
9
9
|
### groupName?
|
|
10
10
|
|
|
11
|
-
> `optional` **groupName
|
|
11
|
+
> `optional` **groupName?**: `string`
|
|
12
12
|
|
|
13
13
|
分组名称。
|
|
14
14
|
|
|
@@ -16,6 +16,6 @@ Popup.removePop 参数。
|
|
|
16
16
|
|
|
17
17
|
### ids?
|
|
18
18
|
|
|
19
|
-
> `optional` **ids
|
|
19
|
+
> `optional` **ids?**: `string`[]
|
|
20
20
|
|
|
21
21
|
待删除气泡 ID 列表。
|
|
@@ -8,7 +8,7 @@ Popup.show 参数。
|
|
|
8
8
|
|
|
9
9
|
### groupName?
|
|
10
10
|
|
|
11
|
-
> `optional` **groupName
|
|
11
|
+
> `optional` **groupName?**: `string`
|
|
12
12
|
|
|
13
13
|
分组名称。
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ Popup.show 参数。
|
|
|
16
16
|
|
|
17
17
|
### ids?
|
|
18
18
|
|
|
19
|
-
> `optional` **ids
|
|
19
|
+
> `optional` **ids?**: `string`[]
|
|
20
20
|
|
|
21
21
|
气泡 ID 列表。
|
|
22
22
|
|
|
@@ -24,6 +24,6 @@ Popup.show 参数。
|
|
|
24
24
|
|
|
25
25
|
### show?
|
|
26
26
|
|
|
27
|
-
> `optional` **show
|
|
27
|
+
> `optional` **show?**: `boolean`
|
|
28
28
|
|
|
29
29
|
是否显示。
|
|
@@ -24,7 +24,7 @@ Popup 同步信息(引擎侧 SyncPops 推送 / 前端需同步的气泡条目
|
|
|
24
24
|
|
|
25
25
|
### parentId?
|
|
26
26
|
|
|
27
|
-
> `optional` **parentId
|
|
27
|
+
> `optional` **parentId?**: `string`
|
|
28
28
|
|
|
29
29
|
父节点 ID。
|
|
30
30
|
|
|
@@ -32,6 +32,6 @@ Popup 同步信息(引擎侧 SyncPops 推送 / 前端需同步的气泡条目
|
|
|
32
32
|
|
|
33
33
|
### position?
|
|
34
34
|
|
|
35
|
-
> `optional` **position
|
|
35
|
+
> `optional` **position?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
36
|
|
|
37
37
|
显示位置。
|
|
@@ -38,28 +38,28 @@ QoS 事件结构。
|
|
|
38
38
|
|
|
39
39
|
### durationMs?
|
|
40
40
|
|
|
41
|
-
> `optional` **durationMs
|
|
41
|
+
> `optional` **durationMs?**: `number`
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
45
45
|
### errorCode?
|
|
46
46
|
|
|
47
|
-
> `optional` **errorCode
|
|
47
|
+
> `optional` **errorCode?**: `string`
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
51
|
### errorMessage?
|
|
52
52
|
|
|
53
|
-
> `optional` **errorMessage
|
|
53
|
+
> `optional` **errorMessage?**: `string`
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
57
|
### attrs?
|
|
58
58
|
|
|
59
|
-
> `optional` **attrs
|
|
59
|
+
> `optional` **attrs?**: `Record`\<`string`, `unknown`\>
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
63
|
### metrics?
|
|
64
64
|
|
|
65
|
-
> `optional` **metrics
|
|
65
|
+
> `optional` **metrics?**: `Record`\<`string`, `unknown`\>
|
|
@@ -8,22 +8,22 @@
|
|
|
8
8
|
|
|
9
9
|
### appId?
|
|
10
10
|
|
|
11
|
-
> `optional` **appId
|
|
11
|
+
> `optional` **appId?**: `string`
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
15
|
### env?
|
|
16
16
|
|
|
17
|
-
> `optional` **env
|
|
17
|
+
> `optional` **env?**: `string`
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
21
|
### pageUrl?
|
|
22
22
|
|
|
23
|
-
> `optional` **pageUrl
|
|
23
|
+
> `optional` **pageUrl?**: `string`
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
27
|
### userAgent?
|
|
28
28
|
|
|
29
|
-
> `optional` **userAgent
|
|
29
|
+
> `optional` **userAgent?**: `string`
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
### signalingServer?
|
|
14
14
|
|
|
15
|
-
> `optional` **signalingServer
|
|
15
|
+
> `optional` **signalingServer?**: `string`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
@@ -54,19 +54,19 @@
|
|
|
54
54
|
|
|
55
55
|
### turnServer?
|
|
56
56
|
|
|
57
|
-
> `optional` **turnServer
|
|
57
|
+
> `optional` **turnServer?**: `string`
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
61
61
|
### turnUser?
|
|
62
62
|
|
|
63
|
-
> `optional` **turnUser
|
|
63
|
+
> `optional` **turnUser?**: `string`
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
67
67
|
### turnPwd?
|
|
68
68
|
|
|
69
|
-
> `optional` **turnPwd
|
|
69
|
+
> `optional` **turnPwd?**: `string`
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
### engineUuid?
|
|
80
80
|
|
|
81
|
-
> `optional` **engineUuid
|
|
81
|
+
> `optional` **engineUuid?**: `string`
|
|
82
82
|
|
|
83
83
|
***
|
|
84
84
|
|
|
@@ -112,6 +112,18 @@
|
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
115
|
+
### includeStack
|
|
116
|
+
|
|
117
|
+
> **includeStack**: [`EngineLogLevel`](../type-aliases/EngineLogLevel.md)
|
|
118
|
+
|
|
119
|
+
***
|
|
120
|
+
|
|
121
|
+
### pixelStreamingLogger
|
|
122
|
+
|
|
123
|
+
> **pixelStreamingLogger**: [`EngineLogLevel`](../type-aliases/EngineLogLevel.md)
|
|
124
|
+
|
|
125
|
+
***
|
|
126
|
+
|
|
115
127
|
### centerHeartbeatIntervalMs
|
|
116
128
|
|
|
117
129
|
> **centerHeartbeatIntervalMs**: `number`
|
|
@@ -8,7 +8,7 @@ Screen.SetSceneRenderBitrate 参数。
|
|
|
8
8
|
|
|
9
9
|
### bitrate?
|
|
10
10
|
|
|
11
|
-
> `optional` **bitrate
|
|
11
|
+
> `optional` **bitrate?**: [`ScreenRenderBitratePreset`](../type-aliases/ScreenRenderBitratePreset.md)
|
|
12
12
|
|
|
13
13
|
渲染码率档位。
|
|
14
14
|
可选值:`auto / low / high / super / blue`。
|
|
@@ -8,7 +8,7 @@ Screen.SetScreenResolution 参数。
|
|
|
8
8
|
|
|
9
9
|
### width?
|
|
10
10
|
|
|
11
|
-
> `optional` **width
|
|
11
|
+
> `optional` **width?**: `number`
|
|
12
12
|
|
|
13
13
|
目标分辨率宽度。
|
|
14
14
|
默认值 `1920`。
|
|
@@ -17,7 +17,7 @@ Screen.SetScreenResolution 参数。
|
|
|
17
17
|
|
|
18
18
|
### height?
|
|
19
19
|
|
|
20
|
-
> `optional` **height
|
|
20
|
+
> `optional` **height?**: `number`
|
|
21
21
|
|
|
22
22
|
目标分辨率高度。
|
|
23
23
|
默认值 `1080`。
|
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
### signalingAddress?
|
|
8
8
|
|
|
9
|
-
> `optional` **signalingAddress
|
|
9
|
+
> `optional` **signalingAddress?**: `string`
|
|
10
10
|
|
|
11
11
|
***
|
|
12
12
|
|
|
13
13
|
### signallingAddress?
|
|
14
14
|
|
|
15
|
-
> `optional` **signallingAddress
|
|
15
|
+
> `optional` **signallingAddress?**: `string`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
19
|
### ticket?
|
|
20
20
|
|
|
21
|
-
> `optional` **ticket
|
|
21
|
+
> `optional` **ticket?**: `string`
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
25
|
### status?
|
|
26
26
|
|
|
27
|
-
> `optional` **status
|
|
27
|
+
> `optional` **status?**: `string`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / SpatialQueryLayerByModelBoxRequest
|
|
2
|
+
|
|
3
|
+
# Interface: SpatialQueryLayerByModelBoxRequest
|
|
4
|
+
|
|
5
|
+
SpatialQuery.layerQueryByModelBox 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
场景查询位置的对象上级编号,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id?
|
|
18
|
+
|
|
19
|
+
> `optional` **id?**: `string`
|
|
20
|
+
|
|
21
|
+
查询参照的位置对象唯一编号。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### queryParentIds
|
|
26
|
+
|
|
27
|
+
> **queryParentIds**: `string`[]
|
|
28
|
+
|
|
29
|
+
查询的图层组编号集合,至少一个。
|