@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,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
|
+
查询的图层组编号集合,至少一个。
|
|
@@ -8,7 +8,7 @@ TimeLine.pause / resume 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
51
|
+
> `optional` **keepLastFrame?**: `boolean`
|
|
52
52
|
|
|
53
53
|
是否保留最后一帧。
|
|
@@ -8,7 +8,7 @@ TimeLine.setSpeed 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,7 +8,7 @@ WeatherSystem.openCameraFog 参数。
|
|
|
8
8
|
|
|
9
9
|
### fogIntensity?
|
|
10
10
|
|
|
11
|
-
> `optional` **fogIntensity
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
67
|
+
> `optional` **directionalColor?**: `string`
|
|
68
68
|
|
|
69
69
|
方向光颜色。
|
|
@@ -8,7 +8,7 @@ WeatherSystem.setAnimateTimeOfDay 参数。
|
|
|
8
8
|
|
|
9
9
|
### isAnimate?
|
|
10
10
|
|
|
11
|
-
> `optional` **isAnimate
|
|
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
|
|
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
|
|
27
|
+
> `optional` **nightLength?**: `number`
|
|
28
28
|
|
|
29
29
|
夜晚持续时间(分)。 默认0.5分钟
|
|
@@ -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
|
-
###
|
|
9
|
+
### weatherType
|
|
10
10
|
|
|
11
|
-
> **
|
|
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
|
+
网页的网址。
|
|
@@ -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 等属性。
|