@nnepoch/dtc-sdk 3.0.10 → 3.0.12

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 (163) hide show
  1. package/dist/browser/dtc-sdk-3.0.12.js +2 -0
  2. package/dist/cjs/index.cjs +4 -4
  3. package/dist/cjs/index.d.cts +373 -24
  4. package/dist/esm/index.d.ts +373 -24
  5. package/dist/esm/index.js +4 -4
  6. package/docs/api/api/classes/ApiRegistryError.md +2 -2
  7. package/docs/api/api/classes/Camera.md +3 -3
  8. package/docs/api/api/classes/GizmosTool.md +94 -0
  9. package/docs/api/api/classes/HeatMap.md +217 -0
  10. package/docs/api/api/classes/HighLighterEffect.md +6 -0
  11. package/docs/api/api/classes/Layer.md +103 -1
  12. package/docs/api/api/classes/Model.md +58 -0
  13. package/docs/api/api/classes/Navigation.md +618 -0
  14. package/docs/api/api/classes/PathPatrol.md +8 -4
  15. package/docs/api/api/classes/PointEditor.md +265 -0
  16. package/docs/api/api/classes/PointIcon.md +275 -0
  17. package/docs/api/api/classes/SpatialQuery.md +175 -0
  18. package/docs/api/api/classes/TimeLine.md +4 -0
  19. package/docs/api/api/classes/TrainSimulate.md +250 -0
  20. package/docs/api/api/classes/WeatherSystem.md +55 -6
  21. package/docs/api/api/classes/WebView.md +61 -0
  22. package/docs/api/api/index.md +11 -0
  23. package/docs/api/api/interfaces/ApiInstanceMap.md +52 -0
  24. package/docs/api/api/interfaces/ApiRegistryContext.md +21 -1
  25. package/docs/api/api/interfaces/PointIconIdsRequest.md +9 -0
  26. package/docs/api/api/interfaces/PointIconVisibilityResult.md +31 -0
  27. package/docs/api/api/type-aliases/ApiModuleFactory.md +1 -1
  28. package/docs/api/api/type-aliases/PointIconIdsInput.md +5 -0
  29. package/docs/api/application/DTCEngine/classes/DTCEngine.md +72 -0
  30. package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +2 -2
  31. package/docs/api/index.md +1 -1
  32. package/docs/api/typedoc-sidebar.json +260 -0
  33. package/docs/api/types/enumerations/FilterMode.md +21 -0
  34. package/docs/api/types/enumerations/GizmoType.md +37 -0
  35. package/docs/api/types/enumerations/TrainBehavior.md +29 -0
  36. package/docs/api/types/index.md +54 -0
  37. package/docs/api/types/interfaces/AnimationGetLengthRequest.md +1 -1
  38. package/docs/api/types/interfaces/AnimationPlayRequest.md +5 -5
  39. package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +1 -1
  40. package/docs/api/types/interfaces/AnimationStartLoopRequest.md +4 -4
  41. package/docs/api/types/interfaces/AnimationStopLoopRequest.md +1 -1
  42. package/docs/api/types/interfaces/AnimationStopRequest.md +1 -1
  43. package/docs/api/types/interfaces/ApiRequestEnvelope.md +1 -1
  44. package/docs/api/types/interfaces/ApiResponseEnvelope.md +3 -3
  45. package/docs/api/types/interfaces/AuthSessionSnapshot.md +4 -4
  46. package/docs/api/types/interfaces/BuildingFloorCancelOptions.md +11 -0
  47. package/docs/api/types/interfaces/BuildingFloorItem.md +29 -0
  48. package/docs/api/types/interfaces/BuildingFloorOverview.md +21 -0
  49. package/docs/api/types/interfaces/BuildingFloorOverviewOptions.md +19 -0
  50. package/docs/api/types/interfaces/BuildingFloorRegistration.md +37 -0
  51. package/docs/api/types/interfaces/BuildingFloorRegistrationResult.md +11 -0
  52. package/docs/api/types/interfaces/BuildingFloorState.md +35 -0
  53. package/docs/api/types/interfaces/BuildingFloorStateOptions.md +11 -0
  54. package/docs/api/types/interfaces/BuildingFloorSwitchOptions.md +25 -0
  55. package/docs/api/types/interfaces/BuildingFloorTransitionResult.md +43 -0
  56. package/docs/api/types/interfaces/BuildingFloorViewPoint.md +37 -0
  57. package/docs/api/types/interfaces/CameraFlyByPathRequest.md +4 -4
  58. package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +11 -3
  59. package/docs/api/types/interfaces/CameraLookAtRequest.md +7 -7
  60. package/docs/api/types/interfaces/CameraObjFollowRequest.md +3 -3
  61. package/docs/api/types/interfaces/CenterConnectResult.md +4 -4
  62. package/docs/api/types/interfaces/CenterEnvelope.md +4 -4
  63. package/docs/api/types/interfaces/CenterServiceInfo.md +5 -5
  64. package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +1 -1
  65. package/docs/api/types/interfaces/DlssSetEnableRequest.md +2 -2
  66. package/docs/api/types/interfaces/DlssSetQualityRequest.md +1 -1
  67. package/docs/api/types/interfaces/EngineConfig.md +34 -18
  68. package/docs/api/types/interfaces/GizmosStartSimpleRequest.md +21 -0
  69. package/docs/api/types/interfaces/HeatMapConfigRequest.md +53 -0
  70. package/docs/api/types/interfaces/HeatMapCreateRequest.md +85 -0
  71. package/docs/api/types/interfaces/HeatMapPointRequest.md +21 -0
  72. package/docs/api/types/interfaces/HeatMapRemoveRequest.md +21 -0
  73. package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +1 -1
  74. package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +1 -1
  75. package/docs/api/types/interfaces/LayerAddRequest.md +14 -6
  76. package/docs/api/types/interfaces/LayerChildElementRequest.md +1 -1
  77. package/docs/api/types/interfaces/LayerModelAddRequest.md +19 -7
  78. package/docs/api/types/interfaces/LayerPOIAddRequest.md +22 -14
  79. package/docs/api/types/interfaces/LayerResetPOINameRequest.md +21 -0
  80. package/docs/api/types/interfaces/LayerSelectorRequest.md +1 -1
  81. package/docs/api/types/interfaces/LayerShowUIPopRequest.md +5 -5
  82. package/docs/api/types/interfaces/LayerUpdatePOINameRequest.md +37 -0
  83. package/docs/api/types/interfaces/ModelAddRequest.md +5 -5
  84. package/docs/api/types/interfaces/ModelPOIAddRequest.md +3 -3
  85. package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +4 -4
  86. package/docs/api/types/interfaces/ModelSelectorRequest.md +1 -1
  87. package/docs/api/types/interfaces/ModelSetVisibleByAttributeRequest.md +37 -0
  88. package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +1 -1
  89. package/docs/api/types/interfaces/ModelSetVisibleRequest.md +2 -2
  90. package/docs/api/types/interfaces/ModelTransformNodeRequest.md +1 -1
  91. package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +1 -1
  92. package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +7 -7
  93. package/docs/api/types/interfaces/ModelTransformRotateRequest.md +1 -1
  94. package/docs/api/types/interfaces/ModelTransformScaleRequest.md +2 -2
  95. package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +5 -5
  96. package/docs/api/types/interfaces/NavigationMeshNavRequest.md +121 -0
  97. package/docs/api/types/interfaces/NavigationNavByPathRequest.md +61 -0
  98. package/docs/api/types/interfaces/NavigationNodeRequest.md +21 -0
  99. package/docs/api/types/interfaces/NavigationUpdateMeshNavRequest.md +45 -0
  100. package/docs/api/types/interfaces/NavigationUpdateNavPathRequest.md +45 -0
  101. package/docs/api/types/interfaces/NavigationUpdateSpeedRequest.md +27 -0
  102. package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +1 -1
  103. package/docs/api/types/interfaces/NetworkAdaptationState.md +1 -1
  104. package/docs/api/types/interfaces/NetworkDecisionTrace.md +2 -2
  105. package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +2 -2
  106. package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +7 -7
  107. package/docs/api/types/interfaces/PathPatrolAddRequest.md +18 -10
  108. package/docs/api/types/interfaces/PathPatrolNodeRequest.md +1 -1
  109. package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +3 -3
  110. package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +5 -5
  111. package/docs/api/types/interfaces/PointEditorAddRequest.md +149 -0
  112. package/docs/api/types/interfaces/PointEditorCategory.md +29 -0
  113. package/docs/api/types/interfaces/PointEditorClientPosition.md +21 -0
  114. package/docs/api/types/interfaces/PointEditorDeleteRequest.md +21 -0
  115. package/docs/api/types/interfaces/PointEditorDeleteResult.md +21 -0
  116. package/docs/api/types/interfaces/PointEditorResource.md +37 -0
  117. package/docs/api/types/interfaces/PointEditorScreenPosition.md +21 -0
  118. package/docs/api/types/interfaces/PointEditorVector.md +29 -0
  119. package/docs/api/types/interfaces/PopupAddRequest.md +2 -2
  120. package/docs/api/types/interfaces/PopupItemRequest.md +5 -5
  121. package/docs/api/types/interfaces/PopupRemoveRequest.md +2 -2
  122. package/docs/api/types/interfaces/PopupShowRequest.md +3 -3
  123. package/docs/api/types/interfaces/PopupSyncInfoRequest.md +2 -2
  124. package/docs/api/types/interfaces/QosEvent.md +5 -5
  125. package/docs/api/types/interfaces/QosRuntimeContext.md +4 -4
  126. package/docs/api/types/interfaces/ResolvedEngineConfig.md +17 -5
  127. package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +1 -1
  128. package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +1 -1
  129. package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +2 -2
  130. package/docs/api/types/interfaces/SignallingAllocateResponse.md +4 -4
  131. package/docs/api/types/interfaces/SpatialQueryLayerByModelBoxRequest.md +29 -0
  132. package/docs/api/types/interfaces/SpatialQueryLayerByModelRequest.md +53 -0
  133. package/docs/api/types/interfaces/SpatialQueryLayerByPositionRequest.md +45 -0
  134. package/docs/api/types/interfaces/StandardResponse.md +1 -1
  135. package/docs/api/types/interfaces/TimelineNodeRequest.md +2 -2
  136. package/docs/api/types/interfaces/TimelinePlayRequest.md +6 -6
  137. package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +3 -3
  138. package/docs/api/types/interfaces/TimelineStopRequest.md +5 -5
  139. package/docs/api/types/interfaces/TrainSimulateSetCameraFollowTrainRequest.md +29 -0
  140. package/docs/api/types/interfaces/TrainSimulateSetTrainBehaviorRequest.md +29 -0
  141. package/docs/api/types/interfaces/TrainSimulateSetTrainVolumeRequest.md +29 -0
  142. package/docs/api/types/interfaces/TrainSimulateStartTrainRequest.md +77 -0
  143. package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +1 -1
  144. package/docs/api/types/interfaces/Vector2JsonInput.md +15 -0
  145. package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +1 -1
  146. package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +8 -8
  147. package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +3 -3
  148. package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +1 -1
  149. package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +1 -1
  150. package/docs/api/types/interfaces/WeatherSetVolumeRequest.md +13 -0
  151. package/docs/api/types/interfaces/WeatherTypeRequest.md +2 -8
  152. package/docs/api/types/interfaces/WebViewUpdateRequest.md +29 -0
  153. package/docs/api/types/type-aliases/ApiCallback.md +1 -1
  154. package/docs/api/types/type-aliases/BuildingFloorFocusMode.md +5 -0
  155. package/docs/api/types/type-aliases/BuildingFloorInput.md +7 -0
  156. package/docs/api/types/type-aliases/BuildingFloorRuntimeStatus.md +5 -0
  157. package/docs/api/types/type-aliases/BuildingFloorTransitionStatus.md +5 -0
  158. package/docs/api/types/type-aliases/PointEditorCreateCallback.md +7 -0
  159. package/docs/api/types/type-aliases/PointEditorPoint.md +7 -0
  160. package/docs/api/types/type-aliases/PointEditorUpdateRequest.md +15 -0
  161. package/docs/api/types/type-aliases/Vector2Input.md +5 -0
  162. package/package.json +1 -1
  163. package/dist/browser/dtc-sdk-3.0.10.js +0 -2
@@ -0,0 +1,53 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / SpatialQueryLayerByModelRequest
2
+
3
+ # Interface: SpatialQueryLayerByModelRequest
4
+
5
+ SpatialQuery.layerQueryByModel 参数。
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
+ ### queryRadius?
26
+
27
+ > `optional` **queryRadius?**: `number`
28
+
29
+ 查询的半径,单位米,默认 50。
30
+
31
+ ***
32
+
33
+ ### queryMinHeight?
34
+
35
+ > `optional` **queryMinHeight?**: `number`
36
+
37
+ 查询的最小高度,默认 0;值不能大于最大高度。
38
+
39
+ ***
40
+
41
+ ### queryMaxHeight?
42
+
43
+ > `optional` **queryMaxHeight?**: `number`
44
+
45
+ 查询的最大高度,默认 20;值不能小于最小高度。
46
+
47
+ ***
48
+
49
+ ### queryParentIds
50
+
51
+ > **queryParentIds**: `string`[]
52
+
53
+ 查询的图层组编号集合,至少一个。
@@ -0,0 +1,45 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / SpatialQueryLayerByPositionRequest
2
+
3
+ # Interface: SpatialQueryLayerByPositionRequest
4
+
5
+ SpatialQuery.layerQueryByPosition 参数。
6
+
7
+ ## Properties
8
+
9
+ ### queryPosition?
10
+
11
+ > `optional` **queryPosition?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
12
+
13
+ 查询的中心位置。
14
+
15
+ ***
16
+
17
+ ### queryRadius?
18
+
19
+ > `optional` **queryRadius?**: `number`
20
+
21
+ 查询的半径,单位米,默认 50。
22
+
23
+ ***
24
+
25
+ ### queryMinHeight?
26
+
27
+ > `optional` **queryMinHeight?**: `number`
28
+
29
+ 查询的最小高度,默认 0;值不能大于最大高度。
30
+
31
+ ***
32
+
33
+ ### queryMaxHeight?
34
+
35
+ > `optional` **queryMaxHeight?**: `number`
36
+
37
+ 查询的最大高度,默认 20;值不能小于最小高度。
38
+
39
+ ***
40
+
41
+ ### queryParentIds
42
+
43
+ > **queryParentIds**: `string`[]
44
+
45
+ 查询的图层组编号集合,至少一个。
@@ -30,4 +30,4 @@
30
30
 
31
31
  ### data?
32
32
 
33
- > `optional` **data**: `T`
33
+ > `optional` **data?**: `T`
@@ -8,7 +8,7 @@ TimeLine.pause / resume 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID。
14
14
 
@@ -16,6 +16,6 @@ TimeLine.pause / resume 参数。
16
16
 
17
17
  ### id?
18
18
 
19
- > `optional` **id**: `string`
19
+ > `optional` **id?**: `string`
20
20
 
21
21
  时间线 ID(兼容字段)。
@@ -8,7 +8,7 @@ TimeLine.play 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID。
14
14
 
@@ -16,7 +16,7 @@ TimeLine.play 参数。
16
16
 
17
17
  ### id?
18
18
 
19
- > `optional` **id**: `string`
19
+ > `optional` **id?**: `string`
20
20
 
21
21
  时间线 ID(兼容字段)。
22
22
 
@@ -24,7 +24,7 @@ TimeLine.play 参数。
24
24
 
25
25
  ### timelineId?
26
26
 
27
- > `optional` **timelineId**: `string`
27
+ > `optional` **timelineId?**: `string`
28
28
 
29
29
  时间线 ID。
30
30
 
@@ -32,7 +32,7 @@ TimeLine.play 参数。
32
32
 
33
33
  ### initialTime?
34
34
 
35
- > `optional` **initialTime**: `number`
35
+ > `optional` **initialTime?**: `number`
36
36
 
37
37
  初始时间。
38
38
 
@@ -40,7 +40,7 @@ TimeLine.play 参数。
40
40
 
41
41
  ### speed?
42
42
 
43
- > `optional` **speed**: `number`
43
+ > `optional` **speed?**: `number`
44
44
 
45
45
  播放速度。
46
46
 
@@ -48,6 +48,6 @@ TimeLine.play 参数。
48
48
 
49
49
  ### keepLastFrame?
50
50
 
51
- > `optional` **keepLastFrame**: `boolean`
51
+ > `optional` **keepLastFrame?**: `boolean`
52
52
 
53
53
  是否保留最后一帧。
@@ -8,7 +8,7 @@ TimeLine.setSpeed 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID。
14
14
 
@@ -16,7 +16,7 @@ TimeLine.setSpeed 参数。
16
16
 
17
17
  ### id?
18
18
 
19
- > `optional` **id**: `string`
19
+ > `optional` **id?**: `string`
20
20
 
21
21
  时间线 ID(兼容字段)。
22
22
 
@@ -24,7 +24,7 @@ TimeLine.setSpeed 参数。
24
24
 
25
25
  ### timelineId?
26
26
 
27
- > `optional` **timelineId**: `string`
27
+ > `optional` **timelineId?**: `string`
28
28
 
29
29
  时间线 ID。
30
30
 
@@ -8,7 +8,7 @@ TimeLine.stop 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID。
14
14
 
@@ -16,7 +16,7 @@ TimeLine.stop 参数。
16
16
 
17
17
  ### id?
18
18
 
19
- > `optional` **id**: `string`
19
+ > `optional` **id?**: `string`
20
20
 
21
21
  时间线 ID(兼容字段)。
22
22
 
@@ -24,7 +24,7 @@ TimeLine.stop 参数。
24
24
 
25
25
  ### timelineId?
26
26
 
27
- > `optional` **timelineId**: `string`
27
+ > `optional` **timelineId?**: `string`
28
28
 
29
29
  时间线 ID。
30
30
 
@@ -32,7 +32,7 @@ TimeLine.stop 参数。
32
32
 
33
33
  ### resetTime?
34
34
 
35
- > `optional` **resetTime**: `number`
35
+ > `optional` **resetTime?**: `number`
36
36
 
37
37
  停止后重置到的时间。
38
38
 
@@ -40,6 +40,6 @@ TimeLine.stop 参数。
40
40
 
41
41
  ### isCameraToStart?
42
42
 
43
- > `optional` **isCameraToStart**: `boolean`
43
+ > `optional` **isCameraToStart?**: `boolean`
44
44
 
45
45
  停止后相机是否回到起点。
@@ -0,0 +1,29 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / TrainSimulateSetCameraFollowTrainRequest
2
+
3
+ # Interface: TrainSimulateSetCameraFollowTrainRequest
4
+
5
+ TrainSimulate.setCameraFollowTrain 参数。
6
+
7
+ ## Properties
8
+
9
+ ### parentId?
10
+
11
+ > `optional` **parentId?**: `string`
12
+
13
+ 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。
14
+
15
+ ***
16
+
17
+ ### id
18
+
19
+ > **id**: `string`
20
+
21
+ 唯一编号,必填。
22
+
23
+ ***
24
+
25
+ ### offSet?
26
+
27
+ > `optional` **offSet?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
28
+
29
+ 相机相对列车的偏移量,默认 (26, 18, 15),坐标类型固定为 '0000'。
@@ -0,0 +1,29 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / TrainSimulateSetTrainBehaviorRequest
2
+
3
+ # Interface: TrainSimulateSetTrainBehaviorRequest
4
+
5
+ TrainSimulate.setTrainBehavior 参数。
6
+
7
+ ## Properties
8
+
9
+ ### parentId?
10
+
11
+ > `optional` **parentId?**: `string`
12
+
13
+ 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。
14
+
15
+ ***
16
+
17
+ ### id
18
+
19
+ > **id**: `string`
20
+
21
+ 唯一编号,必填。
22
+
23
+ ***
24
+
25
+ ### moveType?
26
+
27
+ > `optional` **moveType?**: [`TrainBehavior`](../enumerations/TrainBehavior.md)
28
+
29
+ 列车运动方式:StopAtTheEnd 到达终点后停止、Loop 循环播放、BackAndForward 反复播放。默认 StopAtTheEnd。
@@ -0,0 +1,29 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / TrainSimulateSetTrainVolumeRequest
2
+
3
+ # Interface: TrainSimulateSetTrainVolumeRequest
4
+
5
+ TrainSimulate.setTrainVolume 参数。
6
+
7
+ ## Properties
8
+
9
+ ### parentId?
10
+
11
+ > `optional` **parentId?**: `string`
12
+
13
+ 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。
14
+
15
+ ***
16
+
17
+ ### id
18
+
19
+ > **id**: `string`
20
+
21
+ 唯一编号,必填。
22
+
23
+ ***
24
+
25
+ ### volumeOn?
26
+
27
+ > `optional` **volumeOn?**: `boolean`
28
+
29
+ 声音是否开启,默认 true。
@@ -0,0 +1,77 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / TrainSimulateStartTrainRequest
2
+
3
+ # Interface: TrainSimulateStartTrainRequest
4
+
5
+ TrainSimulate.startTrain 参数。
6
+
7
+ ## Properties
8
+
9
+ ### parentId?
10
+
11
+ > `optional` **parentId?**: `string`
12
+
13
+ 场景中参照绑定的位置的对象上级编号,可不填,但要保证 id 唯一。
14
+
15
+ ***
16
+
17
+ ### id
18
+
19
+ > **id**: `string`
20
+
21
+ 区块编号,唯一编号,必填。
22
+
23
+ ***
24
+
25
+ ### trainCode?
26
+
27
+ > `optional` **trainCode?**: `string`
28
+
29
+ 列车班次编号。
30
+
31
+ ***
32
+
33
+ ### startStationName?
34
+
35
+ > `optional` **startStationName?**: `string`
36
+
37
+ 起始站名称。
38
+
39
+ ***
40
+
41
+ ### endStationName?
42
+
43
+ > `optional` **endStationName?**: `string`
44
+
45
+ 终点站名称。
46
+
47
+ ***
48
+
49
+ ### direction?
50
+
51
+ > `optional` **direction?**: `string`
52
+
53
+ 列车方向:0 从东到西,1 从西到东。默认 '0'。
54
+
55
+ ***
56
+
57
+ ### action?
58
+
59
+ > `optional` **action?**: `string`
60
+
61
+ 列车动作:1 进站,0 出站。默认 '1'。
62
+
63
+ ***
64
+
65
+ ### stopTime?
66
+
67
+ > `optional` **stopTime?**: `number`
68
+
69
+ 停车时间,单位秒,默认 180。
70
+
71
+ ***
72
+
73
+ ### moveType?
74
+
75
+ > `optional` **moveType?**: [`TrainBehavior`](../enumerations/TrainBehavior.md)
76
+
77
+ 列车运动方式:StopAtTheEnd 到达终点后停止、Loop 循环播放、BackAndForward 反复播放。默认 StopAtTheEnd。
@@ -8,6 +8,6 @@ UIPOI.enableOverlap 参数。
8
8
 
9
9
  ### enable?
10
10
 
11
- > `optional` **enable**: `boolean`
11
+ > `optional` **enable?**: `boolean`
12
12
 
13
13
  是否开启碰撞避让。
@@ -0,0 +1,15 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / Vector2JsonInput
2
+
3
+ # Interface: Vector2JsonInput
4
+
5
+ ## Properties
6
+
7
+ ### x
8
+
9
+ > **x**: `number`
10
+
11
+ ***
12
+
13
+ ### y
14
+
15
+ > **y**: `number`
@@ -16,6 +16,6 @@ WeatherSystem.changeSeason 参数。
16
16
 
17
17
  ### duration?
18
18
 
19
- > `optional` **duration**: `number`
19
+ > `optional` **duration?**: `number`
20
20
 
21
21
  季节切换持续时间。
@@ -8,7 +8,7 @@ WeatherSystem.openCameraFog 参数。
8
8
 
9
9
  ### fogIntensity?
10
10
 
11
- > `optional` **fogIntensity**: `number`
11
+ > `optional` **fogIntensity?**: `number`
12
12
 
13
13
  雾强度。
14
14
 
@@ -16,7 +16,7 @@ WeatherSystem.openCameraFog 参数。
16
16
 
17
17
  ### fogStartColor?
18
18
 
19
- > `optional` **fogStartColor**: `string`
19
+ > `optional` **fogStartColor?**: `string`
20
20
 
21
21
  雾近端颜色。
22
22
 
@@ -24,7 +24,7 @@ WeatherSystem.openCameraFog 参数。
24
24
 
25
25
  ### fogEndColor?
26
26
 
27
- > `optional` **fogEndColor**: `string`
27
+ > `optional` **fogEndColor?**: `string`
28
28
 
29
29
  雾远端颜色。
30
30
 
@@ -32,7 +32,7 @@ WeatherSystem.openCameraFog 参数。
32
32
 
33
33
  ### fogStartDistance?
34
34
 
35
- > `optional` **fogStartDistance**: `number`
35
+ > `optional` **fogStartDistance?**: `number`
36
36
 
37
37
  雾起始距离。
38
38
 
@@ -40,7 +40,7 @@ WeatherSystem.openCameraFog 参数。
40
40
 
41
41
  ### fogEndDistance?
42
42
 
43
- > `optional` **fogEndDistance**: `number`
43
+ > `optional` **fogEndDistance?**: `number`
44
44
 
45
45
  雾终止距离。
46
46
 
@@ -48,7 +48,7 @@ WeatherSystem.openCameraFog 参数。
48
48
 
49
49
  ### directionalIntensity?
50
50
 
51
- > `optional` **directionalIntensity**: `number`
51
+ > `optional` **directionalIntensity?**: `number`
52
52
 
53
53
  方向光强度。
54
54
 
@@ -56,7 +56,7 @@ WeatherSystem.openCameraFog 参数。
56
56
 
57
57
  ### directionalFallOff?
58
58
 
59
- > `optional` **directionalFallOff**: `number`
59
+ > `optional` **directionalFallOff?**: `number`
60
60
 
61
61
  方向光衰减。
62
62
 
@@ -64,6 +64,6 @@ WeatherSystem.openCameraFog 参数。
64
64
 
65
65
  ### directionalColor?
66
66
 
67
- > `optional` **directionalColor**: `string`
67
+ > `optional` **directionalColor?**: `string`
68
68
 
69
69
  方向光颜色。
@@ -8,7 +8,7 @@ WeatherSystem.setAnimateTimeOfDay 参数。
8
8
 
9
9
  ### isAnimate?
10
10
 
11
- > `optional` **isAnimate**: `boolean`
11
+ > `optional` **isAnimate?**: `boolean`
12
12
 
13
13
  是否模拟白天,黑夜时间动画。
14
14
 
@@ -16,7 +16,7 @@ WeatherSystem.setAnimateTimeOfDay 参数。
16
16
 
17
17
  ### dayLength?
18
18
 
19
- > `optional` **dayLength**: `number`
19
+ > `optional` **dayLength?**: `number`
20
20
 
21
21
  白天持续时间(分)。 默认0.5分钟
22
22
 
@@ -24,6 +24,6 @@ WeatherSystem.setAnimateTimeOfDay 参数。
24
24
 
25
25
  ### nightLength?
26
26
 
27
- > `optional` **nightLength**: `number`
27
+ > `optional` **nightLength?**: `number`
28
28
 
29
29
  夜晚持续时间(分)。 默认0.5分钟
@@ -16,6 +16,6 @@ WeatherSystem.setSceneTime 参数。
16
16
 
17
17
  ### timeDuration?
18
18
 
19
- > `optional` **timeDuration**: `number`
19
+ > `optional` **timeDuration?**: `number`
20
20
 
21
21
  时间变化持续的时间(秒)。
@@ -8,6 +8,6 @@ WeatherSystem.setTimeSync 参数。
8
8
 
9
9
  ### syncSystemTime?
10
10
 
11
- > `optional` **syncSystemTime**: `boolean`
11
+ > `optional` **syncSystemTime?**: `boolean`
12
12
 
13
13
  是否同步系统时间。
@@ -0,0 +1,13 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / WeatherSetVolumeRequest
2
+
3
+ # Interface: WeatherSetVolumeRequest
4
+
5
+ WeatherSystem.setWeatherVolume 参数。
6
+
7
+ ## Properties
8
+
9
+ ### volumeOn?
10
+
11
+ > `optional` **volumeOn?**: `boolean`
12
+
13
+ 天气声音是否开启,true 开启,false 关闭。默认 true。
@@ -6,9 +6,9 @@ WeatherSystem.changeWeatherType 参数。
6
6
 
7
7
  ## Properties
8
8
 
9
- ### type
9
+ ### weatherType
10
10
 
11
- > **type**: `number`
11
+ > **weatherType**: `string`
12
12
 
13
13
  天气类型名称。
14
14
 
@@ -19,9 +19,3 @@ WeatherSystem.changeWeatherType 参数。
19
19
  > **timeDuration**: `number`
20
20
 
21
21
  天气类型持续时间(秒)。
22
-
23
- ***
24
-
25
- ### test?
26
-
27
- > `optional` **test**: `string`
@@ -0,0 +1,29 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / WebViewUpdateRequest
2
+
3
+ # Interface: WebViewUpdateRequest
4
+
5
+ WebView.updateWebView 参数。
6
+
7
+ ## Properties
8
+
9
+ ### parentId?
10
+
11
+ > `optional` **parentId?**: `string`
12
+
13
+ 要创建的视频播放器的父对象(需要是 UI,为空时自动创建新的对象)。
14
+
15
+ ***
16
+
17
+ ### id
18
+
19
+ > **id**: `string`
20
+
21
+ 创建的视频播放器的名称。
22
+
23
+ ***
24
+
25
+ ### url
26
+
27
+ > **url**: `string`
28
+
29
+ 网页的网址。
@@ -1,6 +1,6 @@
1
1
  [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ApiCallback
2
2
 
3
- # Type Alias: ApiCallback()\<T\>
3
+ # Type Alias: ApiCallback\<T\>
4
4
 
5
5
  > **ApiCallback**\<`T`\> = (`result`) => `void`
6
6
 
@@ -0,0 +1,5 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / BuildingFloorFocusMode
2
+
3
+ # Type Alias: BuildingFloorFocusMode
4
+
5
+ > **BuildingFloorFocusMode** = `"none"` \| `"viewPoint"` \| `"bounds"`
@@ -0,0 +1,7 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / BuildingFloorInput
2
+
3
+ # Type Alias: BuildingFloorInput
4
+
5
+ > **BuildingFloorInput** = `string` \| [`BuildingFloorItem`](../interfaces/BuildingFloorItem.md)
6
+
7
+ 楼层既可使用节点 ID,也可使用带固定视角的对象。
@@ -0,0 +1,5 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / BuildingFloorRuntimeStatus
2
+
3
+ # Type Alias: BuildingFloorRuntimeStatus
4
+
5
+ > **BuildingFloorRuntimeStatus** = `"overview"` \| `"switching"` \| `"floor"` \| `"cancelled"`
@@ -0,0 +1,5 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / BuildingFloorTransitionStatus
2
+
3
+ # Type Alias: BuildingFloorTransitionStatus
4
+
5
+ > **BuildingFloorTransitionStatus** = `"completed"` \| `"cancelled"`
@@ -0,0 +1,7 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorCreateCallback
2
+
3
+ # Type Alias: PointEditorCreateCallback
4
+
5
+ > **PointEditorCreateCallback** = [`ApiCallback`](ApiCallback.md)\<[`PointEditorPoint`](PointEditorPoint.md) \| `Error`\>
6
+
7
+ 创建失败通过 Error 回调,同时 Promise 拒绝。
@@ -0,0 +1,7 @@
1
+ [@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / PointEditorPoint
2
+
3
+ # Type Alias: PointEditorPoint
4
+
5
+ > **PointEditorPoint** = `Omit`\<[`PointEditorAddRequest`](../interfaces/PointEditorAddRequest.md), `"screenPosition"`\> & `Required`\<`Pick`\<[`PointEditorAddRequest`](../interfaces/PointEditorAddRequest.md), `"position"` \| `"rotation"` \| `"scale"` \| `"show"` \| `"poiEnabled"` \| `"poiOffsetY"` \| `"poiScaleFactor"` \| `"poiShowName"` \| `"extraProps"`\>\>
6
+
7
+ 已创建点位,直接供 Promise 和 callback 读取 position 等属性。