@nnepoch/dtc-sdk 3.0.16 → 3.0.17

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.
Files changed (30) hide show
  1. package/dist/browser/dtc-sdk-3.0.17.js +2 -0
  2. package/dist/cjs/index.cjs +4 -4
  3. package/dist/cjs/index.d.cts +38 -3
  4. package/dist/esm/index.d.ts +38 -3
  5. package/dist/esm/index.js +4 -4
  6. package/docs/api/api/classes/GizmosTool.md +86 -2
  7. package/docs/api/api/classes/Layer.md +50 -1
  8. package/docs/api/api/classes/Model.md +7 -7
  9. package/docs/api/api/classes/Scene.md +6 -134
  10. package/docs/api/api/classes/UIPOI.md +4 -4
  11. package/docs/api/application/DTCEngine/classes/DTCEngine.md +4 -0
  12. package/docs/api/index.md +1 -1
  13. package/docs/api/typedoc-sidebar.json +36 -0
  14. package/docs/api/types/enumerations/FilterMode.md +1 -1
  15. package/docs/api/types/enumerations/UIPopState.md +29 -0
  16. package/docs/api/types/index.md +9 -0
  17. package/docs/api/types/interfaces/BuildingFloorItem.md +16 -0
  18. package/docs/api/types/interfaces/BuildingFloorOverview.md +16 -0
  19. package/docs/api/types/interfaces/GizmosModelSnapRequest.md +21 -0
  20. package/docs/api/types/interfaces/GizmosModelSnapResult.md +37 -0
  21. package/docs/api/types/interfaces/GizmosPolygonSelectRequest.md +21 -0
  22. package/docs/api/types/interfaces/GizmosPolygonSelectResult.md +11 -0
  23. package/docs/api/types/interfaces/GizmosStartBatchRequest.md +11 -0
  24. package/docs/api/types/interfaces/LayerPoiStateRequest.md +21 -0
  25. package/docs/api/types/interfaces/LayerUpdatePoiStatesRequest.md +21 -0
  26. package/docs/api/types/interfaces/ModelSetVisibleByAttributeRequest.md +1 -1
  27. package/docs/api/types/interfaces/UIPOIUpdateStateRequest.md +5 -5
  28. package/docs/api/types/type-aliases/GizmosModelTarget.md +7 -0
  29. package/package.json +1 -1
  30. package/dist/browser/dtc-sdk-3.0.16.js +0 -2
@@ -0,0 +1,21 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosPolygonSelectRequest
2
+
3
+ # Interface: GizmosPolygonSelectRequest
4
+
5
+ 不传 polygon 时在视频上交互框选;传入时直接查询,不等待鼠标操作。
6
+
7
+ ## Properties
8
+
9
+ ### parentId
10
+
11
+ > **parentId**: `string` \| `string`[]
12
+
13
+ 允许选择的网页模型分组,包含其子分组。
14
+
15
+ ***
16
+
17
+ ### polygon?
18
+
19
+ > `optional` **polygon?**: [`PointEditorScreenPosition`](PointEditorScreenPosition.md)[]
20
+
21
+ 视频图像归一化坐标,至少 3 个顶点,支持凹多边形。
@@ -0,0 +1,11 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosPolygonSelectResult
2
+
3
+ # Interface: GizmosPolygonSelectResult
4
+
5
+ 只返回选中模型身份;模型及其附属 POI 不会产生两条结果,不会自动占用编辑锁。
6
+
7
+ ## Properties
8
+
9
+ ### targets
10
+
11
+ > **targets**: [`GizmosStartSimpleRequest`](GizmosStartSimpleRequest.md)[]
@@ -0,0 +1,11 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosStartBatchRequest
2
+
3
+ # Interface: GizmosStartBatchRequest
4
+
5
+ 批量编辑显式列出各模型所属分组,不按全局 ID 猜测。
6
+
7
+ ## Properties
8
+
9
+ ### targets
10
+
11
+ > **targets**: [`GizmosStartSimpleRequest`](GizmosStartSimpleRequest.md)[]
@@ -0,0 +1,21 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerPoiStateRequest
2
+
3
+ # Interface: LayerPoiStateRequest
4
+
5
+ 气泡状态项。
6
+
7
+ ## Properties
8
+
9
+ ### id
10
+
11
+ > **id**: `string`
12
+
13
+ 气泡唯一编号,必填。
14
+
15
+ ***
16
+
17
+ ### state
18
+
19
+ > **state**: `"normal"` \| `"alert"` \| `"offline"` \| [`UIPopState`](../enumerations/UIPopState.md)
20
+
21
+ 气泡状态:normal 正常、alert 警告、offline 离线。
@@ -0,0 +1,21 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerUpdatePoiStatesRequest
2
+
3
+ # Interface: LayerUpdatePoiStatesRequest
4
+
5
+ Layer.updatePoiStates 参数。
6
+
7
+ ## Properties
8
+
9
+ ### parentId?
10
+
11
+ > `optional` **parentId?**: `string`
12
+
13
+ 父图层或分组 ID,可不填。
14
+
15
+ ***
16
+
17
+ ### poiStates
18
+
19
+ > **poiStates**: [`LayerPoiStateRequest`](LayerPoiStateRequest.md)[]
20
+
21
+ 需更新的POI状态列表,至少一个。
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: ModelSetVisibleByAttributeRequest
4
4
 
5
- Model.setVisibleByAttibute 参数。
5
+ Model.setVisibleByAttribute 参数。
6
6
 
7
7
  ## Properties
8
8
 
@@ -2,20 +2,20 @@
2
2
 
3
3
  # Interface: UIPOIUpdateStateRequest
4
4
 
5
- UIPOI.updatePopStates 参数。
5
+ UIPOI.updatePoiStates 参数。
6
6
 
7
7
  ## Properties
8
8
 
9
- ### groupName
9
+ ### parentId
10
10
 
11
- > **groupName**: `string`
11
+ > **parentId**: `string`
12
12
 
13
13
  气泡分组名称。
14
14
 
15
15
  ***
16
16
 
17
- ### popStates
17
+ ### poiStates
18
18
 
19
- > **popStates**: `Record`\<`string`, `unknown`\>[]
19
+ > **poiStates**: `Record`\<`string`, `unknown`\>[]
20
20
 
21
21
  气泡状态列表。
@@ -0,0 +1,7 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosModelTarget
2
+
3
+ # Type Alias: GizmosModelTarget
4
+
5
+ > **GizmosModelTarget** = [`GizmosStartSimpleRequest`](../interfaces/GizmosStartSimpleRequest.md)
6
+
7
+ 模型身份沿用原有单模型编辑参数。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nnepoch/dtc-sdk",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
4
4
  "description": "UE frontend SDK built on official Pixel Streaming frontend package",
5
5
  "license": "MIT",
6
6
  "type": "module",