@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
|
@@ -8,7 +8,7 @@ Camera.lookAt 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
模型所属父节点 ID,可选。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ Camera.lookAt 参数。
|
|
|
24
24
|
|
|
25
25
|
### offSet?
|
|
26
26
|
|
|
27
|
-
> `optional` **offSet
|
|
27
|
+
> `optional` **offSet?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
28
28
|
|
|
29
29
|
视角方向偏移向量。
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Camera.lookAt 参数。
|
|
|
32
32
|
|
|
33
33
|
### offSetX?
|
|
34
34
|
|
|
35
|
-
> `optional` **offSetX
|
|
35
|
+
> `optional` **offSetX?**: `number`
|
|
36
36
|
|
|
37
37
|
水平偏移量。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Camera.lookAt 参数。
|
|
|
40
40
|
|
|
41
41
|
### distance?
|
|
42
42
|
|
|
43
|
-
> `optional` **distance
|
|
43
|
+
> `optional` **distance?**: `number`
|
|
44
44
|
|
|
45
45
|
到目标的距离比例。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Camera.lookAt 参数。
|
|
|
48
48
|
|
|
49
49
|
### time?
|
|
50
50
|
|
|
51
|
-
> `optional` **time
|
|
51
|
+
> `optional` **time?**: `number`
|
|
52
52
|
|
|
53
53
|
飞行时长(秒)。
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Camera.lookAt 参数。
|
|
|
56
56
|
|
|
57
57
|
### isRotate?
|
|
58
58
|
|
|
59
|
-
> `optional` **isRotate
|
|
59
|
+
> `optional` **isRotate?**: `boolean`
|
|
60
60
|
|
|
61
61
|
是否在飞行中旋转视角。
|
|
62
62
|
|
|
@@ -64,6 +64,6 @@ Camera.lookAt 参数。
|
|
|
64
64
|
|
|
65
65
|
### isHighlight?
|
|
66
66
|
|
|
67
|
-
> `optional` **isHighlight
|
|
67
|
+
> `optional` **isHighlight?**: `boolean`
|
|
68
68
|
|
|
69
69
|
是否高亮目标。
|
|
@@ -8,7 +8,7 @@ Camera.startCameraObjFollow 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
模型所属父节点 ID,可选。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ Camera.startCameraObjFollow 参数。
|
|
|
24
24
|
|
|
25
25
|
### offSet?
|
|
26
26
|
|
|
27
|
-
> `optional` **offSet
|
|
27
|
+
> `optional` **offSet?**: `Vector3`
|
|
28
28
|
|
|
29
29
|
相机位置偏移量(x, y, z)。
|
|
30
30
|
|
|
@@ -32,6 +32,6 @@ Camera.startCameraObjFollow 参数。
|
|
|
32
32
|
|
|
33
33
|
### smooth?
|
|
34
34
|
|
|
35
|
-
> `optional` **smooth
|
|
35
|
+
> `optional` **smooth?**: `number`
|
|
36
36
|
|
|
37
37
|
轨迹的平滑度,取值范围 0~1,默认 0.85;取值越大,相机跟随得越慢,跟随轨迹越平滑。
|
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
### webToken?
|
|
8
8
|
|
|
9
|
-
> `optional` **webToken
|
|
9
|
+
> `optional` **webToken?**: `string`
|
|
10
10
|
|
|
11
11
|
***
|
|
12
12
|
|
|
13
13
|
### turn\_server?
|
|
14
14
|
|
|
15
|
-
> `optional` **turn\_server
|
|
15
|
+
> `optional` **turn\_server?**: `string`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
19
|
### turn\_user?
|
|
20
20
|
|
|
21
|
-
> `optional` **turn\_user
|
|
21
|
+
> `optional` **turn\_user?**: `string`
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
25
|
### turn\_pwd?
|
|
26
26
|
|
|
27
|
-
> `optional` **turn\_pwd
|
|
27
|
+
> `optional` **turn\_pwd?**: `string`
|
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
|
|
13
13
|
### success?
|
|
14
14
|
|
|
15
|
-
> `optional` **success
|
|
15
|
+
> `optional` **success?**: `boolean`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
19
|
### status?
|
|
20
20
|
|
|
21
|
-
> `optional` **status
|
|
21
|
+
> `optional` **status?**: `string`
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
25
|
### message?
|
|
26
26
|
|
|
27
|
-
> `optional` **message
|
|
27
|
+
> `optional` **message?**: `string`
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
31
31
|
### values?
|
|
32
32
|
|
|
33
|
-
> `optional` **values
|
|
33
|
+
> `optional` **values?**: `string`
|
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
### token?
|
|
8
8
|
|
|
9
|
-
> `optional` **token
|
|
9
|
+
> `optional` **token?**: `string`
|
|
10
10
|
|
|
11
11
|
***
|
|
12
12
|
|
|
13
13
|
### uuid?
|
|
14
14
|
|
|
15
|
-
> `optional` **uuid
|
|
15
|
+
> `optional` **uuid?**: `string`
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
19
|
### isSpecify?
|
|
20
20
|
|
|
21
|
-
> `optional` **isSpecify
|
|
21
|
+
> `optional` **isSpecify?**: `boolean`
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
25
25
|
### PrivateKey?
|
|
26
26
|
|
|
27
|
-
> `optional` **PrivateKey
|
|
27
|
+
> `optional` **PrivateKey?**: `string`
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
31
31
|
### privateKey?
|
|
32
32
|
|
|
33
|
-
> `optional` **privateKey
|
|
33
|
+
> `optional` **privateKey?**: `string`
|
|
@@ -8,7 +8,7 @@ Dlss.setDlssEnable 参数。
|
|
|
8
8
|
|
|
9
9
|
### enable?
|
|
10
10
|
|
|
11
|
-
> `optional` **enable
|
|
11
|
+
> `optional` **enable?**: `boolean`
|
|
12
12
|
|
|
13
13
|
是否开启 DLSS。
|
|
14
14
|
默认值 `true`。
|
|
@@ -17,7 +17,7 @@ Dlss.setDlssEnable 参数。
|
|
|
17
17
|
|
|
18
18
|
### quality?
|
|
19
19
|
|
|
20
|
-
> `optional` **quality
|
|
20
|
+
> `optional` **quality?**: [`DlssQuality`](../type-aliases/DlssQuality.md)
|
|
21
21
|
|
|
22
22
|
DLSS 质量档位。
|
|
23
23
|
默认值 `DlssQuality.Balanced`。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
### centerIP?
|
|
8
8
|
|
|
9
|
-
> `optional` **centerIP
|
|
9
|
+
> `optional` **centerIP?**: `string`
|
|
10
10
|
|
|
11
11
|
鉴权服务器地址
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
### signalingServer?
|
|
16
16
|
|
|
17
|
-
> `optional` **signalingServer
|
|
17
|
+
> `optional` **signalingServer?**: `string`
|
|
18
18
|
|
|
19
19
|
信令服务 HTTP 基地址,SDK 会基于该地址调用 `/api/v1/allocate` 获取最终 ws 播放地址
|
|
20
20
|
|
|
@@ -22,43 +22,43 @@
|
|
|
22
22
|
|
|
23
23
|
### sceneName?
|
|
24
24
|
|
|
25
|
-
> `optional` **sceneName
|
|
25
|
+
> `optional` **sceneName?**: `string`
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
29
29
|
### token?
|
|
30
30
|
|
|
31
|
-
> `optional` **token
|
|
31
|
+
> `optional` **token?**: `string`
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
35
|
### dom?
|
|
36
36
|
|
|
37
|
-
> `optional` **dom
|
|
37
|
+
> `optional` **dom?**: `HTMLDivElement`
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
41
41
|
### showProgressBar?
|
|
42
42
|
|
|
43
|
-
> `optional` **showProgressBar
|
|
43
|
+
> `optional` **showProgressBar?**: `boolean`
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
47
|
### codec?
|
|
48
48
|
|
|
49
|
-
> `optional` **codec
|
|
49
|
+
> `optional` **codec?**: `string`
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
53
53
|
### viewMode?
|
|
54
54
|
|
|
55
|
-
> `optional` **viewMode
|
|
55
|
+
> `optional` **viewMode?**: [`EngineViewMode`](../type-aliases/EngineViewMode.md)
|
|
56
56
|
|
|
57
57
|
***
|
|
58
58
|
|
|
59
59
|
### turnServer?
|
|
60
60
|
|
|
61
|
-
> `optional` **turnServer
|
|
61
|
+
> `optional` **turnServer?**: `string`
|
|
62
62
|
|
|
63
63
|
TURN 服务器地址
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ TURN 服务器地址
|
|
|
66
66
|
|
|
67
67
|
### turnUser?
|
|
68
68
|
|
|
69
|
-
> `optional` **turnUser
|
|
69
|
+
> `optional` **turnUser?**: `string`
|
|
70
70
|
|
|
71
71
|
TURN 用户名
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ TURN 用户名
|
|
|
74
74
|
|
|
75
75
|
### turnPwd?
|
|
76
76
|
|
|
77
|
-
> `optional` **turnPwd
|
|
77
|
+
> `optional` **turnPwd?**: `string`
|
|
78
78
|
|
|
79
79
|
TURN 密码
|
|
80
80
|
|
|
@@ -82,7 +82,7 @@ TURN 密码
|
|
|
82
82
|
|
|
83
83
|
### privateKey?
|
|
84
84
|
|
|
85
|
-
> `optional` **privateKey
|
|
85
|
+
> `optional` **privateKey?**: `string`
|
|
86
86
|
|
|
87
87
|
私有密钥
|
|
88
88
|
|
|
@@ -90,31 +90,31 @@ TURN 密码
|
|
|
90
90
|
|
|
91
91
|
### engineUuid?
|
|
92
92
|
|
|
93
|
-
> `optional` **engineUuid
|
|
93
|
+
> `optional` **engineUuid?**: `string`
|
|
94
94
|
|
|
95
95
|
***
|
|
96
96
|
|
|
97
97
|
### mapType?
|
|
98
98
|
|
|
99
|
-
> `optional` **mapType
|
|
99
|
+
> `optional` **mapType?**: `string`
|
|
100
100
|
|
|
101
101
|
***
|
|
102
102
|
|
|
103
103
|
### operationType?
|
|
104
104
|
|
|
105
|
-
> `optional` **operationType
|
|
105
|
+
> `optional` **operationType?**: `string`
|
|
106
106
|
|
|
107
107
|
***
|
|
108
108
|
|
|
109
109
|
### freeCheckInterval?
|
|
110
110
|
|
|
111
|
-
> `optional` **freeCheckInterval
|
|
111
|
+
> `optional` **freeCheckInterval?**: `number`
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
115
115
|
### initialSettings?
|
|
116
116
|
|
|
117
|
-
> `optional` **initialSettings
|
|
117
|
+
> `optional` **initialSettings?**: `Record`\<`string`, `unknown`\>
|
|
118
118
|
|
|
119
119
|
PixelStreaming initialSettings
|
|
120
120
|
|
|
@@ -122,6 +122,22 @@ PixelStreaming initialSettings
|
|
|
122
122
|
|
|
123
123
|
### logger?
|
|
124
124
|
|
|
125
|
-
> `optional` **logger
|
|
125
|
+
> `optional` **logger?**: [`EngineLogLevel`](../type-aliases/EngineLogLevel.md)
|
|
126
126
|
|
|
127
127
|
日志级别,默认值为 info
|
|
128
|
+
|
|
129
|
+
***
|
|
130
|
+
|
|
131
|
+
### includeStack?
|
|
132
|
+
|
|
133
|
+
> `optional` **includeStack?**: [`EngineLogLevel`](../type-aliases/EngineLogLevel.md)
|
|
134
|
+
|
|
135
|
+
从指定级别开始附加业务调用栈,默认值为 warn;silent 表示关闭
|
|
136
|
+
|
|
137
|
+
***
|
|
138
|
+
|
|
139
|
+
### pixelStreamingLogger?
|
|
140
|
+
|
|
141
|
+
> `optional` **pixelStreamingLogger?**: [`EngineLogLevel`](../type-aliases/EngineLogLevel.md)
|
|
142
|
+
|
|
143
|
+
Pixel Streaming 依赖日志级别,默认值为 warn
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / GizmosStartSimpleRequest
|
|
2
|
+
|
|
3
|
+
# Interface: GizmosStartSimpleRequest
|
|
4
|
+
|
|
5
|
+
简易 Gizmo 编辑目标。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
场景分组 ID,与运行时加载元数据一致,不能按重名对象猜测。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
MODEL 点位全局 ID。
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / HeatMapConfigRequest
|
|
2
|
+
|
|
3
|
+
# Interface: HeatMapConfigRequest
|
|
4
|
+
|
|
5
|
+
HeatMap.setConfig 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
热力图所属父节点 ID,可选。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id?
|
|
18
|
+
|
|
19
|
+
> `optional` **id?**: `string`
|
|
20
|
+
|
|
21
|
+
热力图 ID;为空时作用于最近创建的热力图。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### opacity?
|
|
26
|
+
|
|
27
|
+
> `optional` **opacity?**: `number`
|
|
28
|
+
|
|
29
|
+
材质透明度,默认 0.7。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### heightScale?
|
|
34
|
+
|
|
35
|
+
> `optional` **heightScale?**: `number`
|
|
36
|
+
|
|
37
|
+
高度缩放,默认 2500。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### lerpScale?
|
|
42
|
+
|
|
43
|
+
> `optional` **lerpScale?**: `number`
|
|
44
|
+
|
|
45
|
+
颜色过渡比例,默认 2.5。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### influenceSize?
|
|
50
|
+
|
|
51
|
+
> `optional` **influenceSize?**: `number`
|
|
52
|
+
|
|
53
|
+
影响范围
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / HeatMapCreateRequest
|
|
2
|
+
|
|
3
|
+
# Interface: HeatMapCreateRequest
|
|
4
|
+
|
|
5
|
+
HeatMap.create 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
热力图所属父节点 ID,可选。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id?
|
|
18
|
+
|
|
19
|
+
> `optional` **id?**: `string`
|
|
20
|
+
|
|
21
|
+
热力图 ID;重复创建相同 ID 会更新该热力图数据,可空。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### textureSize?
|
|
26
|
+
|
|
27
|
+
> `optional` **textureSize?**: [`Vector2Input`](../type-aliases/Vector2Input.md)
|
|
28
|
+
|
|
29
|
+
热力图纹理尺寸(像素),默认 256x256;地理数据模式下由坐标范围自动计算。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### mapSize?
|
|
34
|
+
|
|
35
|
+
> `optional` **mapSize?**: [`Vector2Input`](../type-aliases/Vector2Input.md)
|
|
36
|
+
|
|
37
|
+
热力图在地图中的尺寸(厘米),默认 1000x1000;地理数据模式下由坐标范围自动计算。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### influenceSize?
|
|
42
|
+
|
|
43
|
+
> `optional` **influenceSize?**: `number`
|
|
44
|
+
|
|
45
|
+
单个热力点的影响范围(像素),默认 50。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### points
|
|
50
|
+
|
|
51
|
+
> **points**: [`Vector3Input`](../type-aliases/Vector3Input.md)[] \| [`HeatMapPointRequest`](HeatMapPointRequest.md)[]
|
|
52
|
+
|
|
53
|
+
热力点数据列表,支持 `{ position, value }` 对象数组或 `Vector3Input` 位置数组(热度值默认 1)。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### opacity?
|
|
58
|
+
|
|
59
|
+
> `optional` **opacity?**: `number`
|
|
60
|
+
|
|
61
|
+
材质透明度,默认 0.7。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### heightScale?
|
|
66
|
+
|
|
67
|
+
> `optional` **heightScale?**: `number`
|
|
68
|
+
|
|
69
|
+
高度缩放,默认 2500。
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### lerpScale?
|
|
74
|
+
|
|
75
|
+
> `optional` **lerpScale?**: `number`
|
|
76
|
+
|
|
77
|
+
颜色过渡比例,默认 2.5。
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### isAddAsset?
|
|
82
|
+
|
|
83
|
+
> `optional` **isAddAsset?**: `boolean`
|
|
84
|
+
|
|
85
|
+
是否添加到场景中,默认 false
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / HeatMapPointRequest
|
|
2
|
+
|
|
3
|
+
# Interface: HeatMapPointRequest
|
|
4
|
+
|
|
5
|
+
单个热力点数据(地理坐标 + 热度值)。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### position
|
|
10
|
+
|
|
11
|
+
> **position**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
12
|
+
|
|
13
|
+
点位置(地理坐标,默认 EPSG4326)。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### value?
|
|
18
|
+
|
|
19
|
+
> `optional` **value?**: `number`
|
|
20
|
+
|
|
21
|
+
该点的热度值(0~1),默认 1。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / HeatMapRemoveRequest
|
|
2
|
+
|
|
3
|
+
# Interface: HeatMapRemoveRequest
|
|
4
|
+
|
|
5
|
+
HeatMap.remove 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
热力图所属父节点 ID,可选。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id?
|
|
18
|
+
|
|
19
|
+
> `optional` **id?**: `string`
|
|
20
|
+
|
|
21
|
+
热力图 ID;为空时移除全部热力图。
|
|
@@ -8,7 +8,7 @@ Layer.addLayer 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
父图层或分组 ID。仅传 parentId 时兼容作为 id 使用。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ Layer.addLayer 参数。
|
|
|
24
24
|
|
|
25
25
|
### layerName?
|
|
26
26
|
|
|
27
|
-
> `optional` **layerName
|
|
27
|
+
> `optional` **layerName?**: `string`
|
|
28
28
|
|
|
29
29
|
图层显示名称。
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Layer.addLayer 参数。
|
|
|
32
32
|
|
|
33
33
|
### show?
|
|
34
34
|
|
|
35
|
-
> `optional` **show
|
|
35
|
+
> `optional` **show?**: `boolean`
|
|
36
36
|
|
|
37
37
|
图层默认是否显示。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Layer.addLayer 参数。
|
|
|
40
40
|
|
|
41
41
|
### poiEnabled?
|
|
42
42
|
|
|
43
|
-
> `optional` **poiEnabled
|
|
43
|
+
> `optional` **poiEnabled?**: `boolean`
|
|
44
44
|
|
|
45
45
|
图层 POI 是否显示。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Layer.addLayer 参数。
|
|
|
48
48
|
|
|
49
49
|
### description?
|
|
50
50
|
|
|
51
|
-
> `optional` **description
|
|
51
|
+
> `optional` **description?**: `string`
|
|
52
52
|
|
|
53
53
|
图层描述。
|
|
54
54
|
|
|
@@ -56,6 +56,14 @@ Layer.addLayer 参数。
|
|
|
56
56
|
|
|
57
57
|
### isSystem?
|
|
58
58
|
|
|
59
|
-
> `optional` **isSystem
|
|
59
|
+
> `optional` **isSystem?**: `boolean`
|
|
60
60
|
|
|
61
61
|
图层是否为系统图层。true--断开连接不删除,false--断开连接删除。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### poiOffsetY?
|
|
66
|
+
|
|
67
|
+
> `optional` **poiOffsetY?**: `number`
|
|
68
|
+
|
|
69
|
+
POI偏移量
|