@nnepoch/dtc-sdk 3.0.11 → 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.
- package/dist/browser/dtc-sdk-3.0.12.js +2 -0
- package/dist/cjs/index.cjs +4 -4
- package/dist/cjs/index.d.cts +321 -1
- package/dist/esm/index.d.ts +321 -1
- 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,121 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NavigationMeshNavRequest
|
|
2
|
+
|
|
3
|
+
# Interface: NavigationMeshNavRequest
|
|
4
|
+
|
|
5
|
+
Navigation.startMeshNav / getMeshNavDistance 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
对象名称数组集合。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### nodes?
|
|
26
|
+
|
|
27
|
+
> `optional` **nodes?**: [`Vector3Input`](../type-aliases/Vector3Input.md)[]
|
|
28
|
+
|
|
29
|
+
路径节点数组集合,与 `targetIds` 二选一。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### targetIds?
|
|
34
|
+
|
|
35
|
+
> `optional` **targetIds?**: `string`[]
|
|
36
|
+
|
|
37
|
+
路径节点经过的目标对象名称数组集合,与 `nodes` 二选一;需保证场景中各编号对象唯一存在。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### targetCodes?
|
|
42
|
+
|
|
43
|
+
> `optional` **targetCodes?**: `string`[]
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### speed?
|
|
48
|
+
|
|
49
|
+
> `optional` **speed?**: `number`
|
|
50
|
+
|
|
51
|
+
物体移动的速度,默认 1。
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### isCache?
|
|
56
|
+
|
|
57
|
+
> `optional` **isCache?**: `boolean`
|
|
58
|
+
|
|
59
|
+
是否作为导航缓存路径点,默认 `true`;`true` 表示将节点加入缓存路径,下次修改时前置节点仍会经过,`false` 表示按新路径导航。
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### planColor?
|
|
64
|
+
|
|
65
|
+
> `optional` **planColor?**: `string`
|
|
66
|
+
|
|
67
|
+
导航规划路径颜色。
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### passColor?
|
|
72
|
+
|
|
73
|
+
> `optional` **passColor?**: `string`
|
|
74
|
+
|
|
75
|
+
导航已走过的路径颜色。
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### lineWidth?
|
|
80
|
+
|
|
81
|
+
> `optional` **lineWidth?**: `number`
|
|
82
|
+
|
|
83
|
+
导航规划线的宽度,默认 1。
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### isAutoPlay?
|
|
88
|
+
|
|
89
|
+
> `optional` **isAutoPlay?**: `boolean`
|
|
90
|
+
|
|
91
|
+
是否自动播放,默认 `true`。
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### assetPath?
|
|
96
|
+
|
|
97
|
+
> `optional` **assetPath?**: `string`
|
|
98
|
+
|
|
99
|
+
场景的模型路径,可为空;为空时根据 id 到场景中寻找模型对象。
|
|
100
|
+
|
|
101
|
+
***
|
|
102
|
+
|
|
103
|
+
### scale?
|
|
104
|
+
|
|
105
|
+
> `optional` **scale?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
106
|
+
|
|
107
|
+
模型缩放比例,默认 1。
|
|
108
|
+
|
|
109
|
+
***
|
|
110
|
+
|
|
111
|
+
### isAutoClear?
|
|
112
|
+
|
|
113
|
+
> `optional` **isAutoClear?**: `boolean`
|
|
114
|
+
|
|
115
|
+
是否自动清除,默认 `true`。
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### offSetZ?
|
|
120
|
+
|
|
121
|
+
> `optional` **offSetZ?**: `number`
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NavigationNavByPathRequest
|
|
2
|
+
|
|
3
|
+
# Interface: NavigationNavByPathRequest
|
|
4
|
+
|
|
5
|
+
Navigation.startNavByPath 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`[]
|
|
20
|
+
|
|
21
|
+
对象名称数组集合。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### nodes
|
|
26
|
+
|
|
27
|
+
> **nodes**: [`Vector3Input`](../type-aliases/Vector3Input.md)[]
|
|
28
|
+
|
|
29
|
+
路径节点数组集合。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### isCache?
|
|
34
|
+
|
|
35
|
+
> `optional` **isCache?**: `boolean`
|
|
36
|
+
|
|
37
|
+
是否作为导航缓存路径点,默认 `true`。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### duration?
|
|
42
|
+
|
|
43
|
+
> `optional` **duration?**: `number`
|
|
44
|
+
|
|
45
|
+
导航轨迹总时间(秒),默认 10。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### planColor?
|
|
50
|
+
|
|
51
|
+
> `optional` **planColor?**: `string`
|
|
52
|
+
|
|
53
|
+
导航规划路径颜色。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### passColor?
|
|
58
|
+
|
|
59
|
+
> `optional` **passColor?**: `string`
|
|
60
|
+
|
|
61
|
+
导航已走过的路径颜色。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NavigationNodeRequest
|
|
2
|
+
|
|
3
|
+
# Interface: NavigationNodeRequest
|
|
4
|
+
|
|
5
|
+
Navigation.pauseMeshNav / resumeMeshNav / stopMeshNav / pauseNavPath / resumeNavPath / stopNavPath 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
对象名称数组集合。
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NavigationUpdateMeshNavRequest
|
|
2
|
+
|
|
3
|
+
# Interface: NavigationUpdateMeshNavRequest
|
|
4
|
+
|
|
5
|
+
Navigation.updateMeshNav 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
对象名称数组集合。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### speed?
|
|
26
|
+
|
|
27
|
+
> `optional` **speed?**: `number`
|
|
28
|
+
|
|
29
|
+
物体移动的速度,默认 -1(不改变速度)。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### planColor?
|
|
34
|
+
|
|
35
|
+
> `optional` **planColor?**: `string`
|
|
36
|
+
|
|
37
|
+
导航规划路径颜色。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### passColor?
|
|
42
|
+
|
|
43
|
+
> `optional` **passColor?**: `string`
|
|
44
|
+
|
|
45
|
+
导航已走过的路径颜色。
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NavigationUpdateNavPathRequest
|
|
2
|
+
|
|
3
|
+
# Interface: NavigationUpdateNavPathRequest
|
|
4
|
+
|
|
5
|
+
Navigation.updateNavPath 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`[]
|
|
20
|
+
|
|
21
|
+
对象名称数组集合。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### duration?
|
|
26
|
+
|
|
27
|
+
> `optional` **duration?**: `number`
|
|
28
|
+
|
|
29
|
+
导航轨迹总时间(秒),默认 -1(不改变时长)。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### planColor?
|
|
34
|
+
|
|
35
|
+
> `optional` **planColor?**: `string`
|
|
36
|
+
|
|
37
|
+
导航规划路径颜色。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### passColor?
|
|
42
|
+
|
|
43
|
+
> `optional` **passColor?**: `string`
|
|
44
|
+
|
|
45
|
+
导航已走过的路径颜色。
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NavigationUpdateSpeedRequest
|
|
2
|
+
|
|
3
|
+
# Interface: NavigationUpdateSpeedRequest
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### parentId?
|
|
8
|
+
|
|
9
|
+
> `optional` **parentId?**: `string`
|
|
10
|
+
|
|
11
|
+
对象组的父对象,可以为空。
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### id
|
|
16
|
+
|
|
17
|
+
> **id**: `string`
|
|
18
|
+
|
|
19
|
+
对象名称数组集合。
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### speed?
|
|
24
|
+
|
|
25
|
+
> `optional` **speed?**: `number`
|
|
26
|
+
|
|
27
|
+
物体移动的速度,默认 -1(不改变速度)。
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
### targetLevel?
|
|
34
34
|
|
|
35
|
-
> `optional` **targetLevel
|
|
35
|
+
> `optional` **targetLevel?**: [`NetworkAdaptationLevel`](../type-aliases/NetworkAdaptationLevel.md)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -50,4 +50,4 @@
|
|
|
50
50
|
|
|
51
51
|
### metrics?
|
|
52
52
|
|
|
53
|
-
> `optional` **metrics
|
|
53
|
+
> `optional` **metrics?**: [`NetworkMetricsSnapshot`](NetworkMetricsSnapshot.md)
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
|
|
39
39
|
### lastMetrics?
|
|
40
40
|
|
|
41
|
-
> `optional` **lastMetrics
|
|
41
|
+
> `optional` **lastMetrics?**: [`NetworkMetricsSnapshot`](NetworkMetricsSnapshot.md)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
45
45
|
### lastAction?
|
|
46
46
|
|
|
47
|
-
> `optional` **lastAction
|
|
47
|
+
> `optional` **lastAction?**: [`NetworkAdaptationActionResult`](NetworkAdaptationActionResult.md)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
|
|
21
21
|
### fps?
|
|
22
22
|
|
|
23
|
-
> `optional` **fps
|
|
23
|
+
> `optional` **fps?**: `number`
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
27
27
|
### bitrateKbps?
|
|
28
28
|
|
|
29
|
-
> `optional` **bitrateKbps
|
|
29
|
+
> `optional` **bitrateKbps?**: `number`
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
33
33
|
### packetLossRate?
|
|
34
34
|
|
|
35
|
-
> `optional` **packetLossRate
|
|
35
|
+
> `optional` **packetLossRate?**: `number`
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
39
|
### jitterMs?
|
|
40
40
|
|
|
41
|
-
> `optional` **jitterMs
|
|
41
|
+
> `optional` **jitterMs?**: `number`
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
45
45
|
### rttMs?
|
|
46
46
|
|
|
47
|
-
> `optional` **rttMs
|
|
47
|
+
> `optional` **rttMs?**: `number`
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
51
|
### frameWidth?
|
|
52
52
|
|
|
53
|
-
> `optional` **frameWidth
|
|
53
|
+
> `optional` **frameWidth?**: `number`
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
57
|
### frameHeight?
|
|
58
58
|
|
|
59
|
-
> `optional` **frameHeight
|
|
59
|
+
> `optional` **frameHeight?**: `number`
|
|
@@ -8,7 +8,7 @@ PathPatrol.add 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
模型对象父对象编号。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ PathPatrol.add 参数。
|
|
|
24
24
|
|
|
25
25
|
### assetPath?
|
|
26
26
|
|
|
27
|
-
> `optional` **assetPath
|
|
27
|
+
> `optional` **assetPath?**: `string`
|
|
28
28
|
|
|
29
29
|
场景的模型路径,可为空;为空时根据 id 到场景中寻找模型对象。
|
|
30
30
|
|
|
@@ -40,7 +40,7 @@ PathPatrol.add 参数。
|
|
|
40
40
|
|
|
41
41
|
### showPath?
|
|
42
42
|
|
|
43
|
-
> `optional` **showPath
|
|
43
|
+
> `optional` **showPath?**: `boolean`
|
|
44
44
|
|
|
45
45
|
是否显示巡逻轨迹,默认 `true`。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ PathPatrol.add 参数。
|
|
|
48
48
|
|
|
49
49
|
### passedColor?
|
|
50
50
|
|
|
51
|
-
> `optional` **passedColor
|
|
51
|
+
> `optional` **passedColor?**: `string`
|
|
52
52
|
|
|
53
53
|
巡逻过的路径的显示颜色,默认 `#ffffff`。
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ PathPatrol.add 参数。
|
|
|
56
56
|
|
|
57
57
|
### lineColor?
|
|
58
58
|
|
|
59
|
-
> `optional` **lineColor
|
|
59
|
+
> `optional` **lineColor?**: `string`
|
|
60
60
|
|
|
61
61
|
未巡逻路径的颜色,默认 `#00ff00`。
|
|
62
62
|
|
|
@@ -72,7 +72,7 @@ PathPatrol.add 参数。
|
|
|
72
72
|
|
|
73
73
|
### duration?
|
|
74
74
|
|
|
75
|
-
> `optional` **duration
|
|
75
|
+
> `optional` **duration?**: `number`
|
|
76
76
|
|
|
77
77
|
全程所需时间。
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ PathPatrol.add 参数。
|
|
|
80
80
|
|
|
81
81
|
### nodes?
|
|
82
82
|
|
|
83
|
-
> `optional` **nodes
|
|
83
|
+
> `optional` **nodes?**: [`Vector3Input`](../type-aliases/Vector3Input.md)[]
|
|
84
84
|
|
|
85
85
|
路径点的集合,至少需要 2 个节点。
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ PathPatrol.add 参数。
|
|
|
88
88
|
|
|
89
89
|
### timeNodes?
|
|
90
90
|
|
|
91
|
-
> `optional` **timeNodes
|
|
91
|
+
> `optional` **timeNodes?**: [`TimeSerialNode`](TimeSerialNode.md)[]
|
|
92
92
|
|
|
93
93
|
路径点时间序列的集合。
|
|
94
94
|
|
|
@@ -96,7 +96,7 @@ PathPatrol.add 参数。
|
|
|
96
96
|
|
|
97
97
|
### lineLayer?
|
|
98
98
|
|
|
99
|
-
> `optional` **lineLayer
|
|
99
|
+
> `optional` **lineLayer?**: `string`
|
|
100
100
|
|
|
101
101
|
线的图层,如 TransparentFX。
|
|
102
102
|
|
|
@@ -104,6 +104,14 @@ PathPatrol.add 参数。
|
|
|
104
104
|
|
|
105
105
|
### afterRender?
|
|
106
106
|
|
|
107
|
-
> `optional` **afterRender
|
|
107
|
+
> `optional` **afterRender?**: `boolean`
|
|
108
108
|
|
|
109
109
|
是否后渲染,默认 `false`;`true` 后渲染(渲染不会阻挡),`false` 前渲染。
|
|
110
|
+
|
|
111
|
+
***
|
|
112
|
+
|
|
113
|
+
### isAutoClear?
|
|
114
|
+
|
|
115
|
+
> `optional` **isAutoClear?**: `boolean`
|
|
116
|
+
|
|
117
|
+
是否自动清除,默认 `true`。
|
|
@@ -8,7 +8,7 @@ PathPatrol.setTimeNode 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
模型对象父对象编号。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ PathPatrol.setTimeNode 参数。
|
|
|
24
24
|
|
|
25
25
|
### timeStart?
|
|
26
26
|
|
|
27
|
-
> `optional` **timeStart
|
|
27
|
+
> `optional` **timeStart?**: `string`
|
|
28
28
|
|
|
29
29
|
时间节点,格式为 "2025-09-10 00:05:00"。`timeStart` 与 `startNodeIndex` 只能有一个不为空。
|
|
30
30
|
|
|
@@ -32,6 +32,6 @@ PathPatrol.setTimeNode 参数。
|
|
|
32
32
|
|
|
33
33
|
### startNodeIndex?
|
|
34
34
|
|
|
35
|
-
> `optional` **startNodeIndex
|
|
35
|
+
> `optional` **startNodeIndex?**: `string`
|
|
36
36
|
|
|
37
37
|
开始节点索引,不能小于 0。`timeStart` 与 `startNodeIndex` 只能有一个不为空。
|
|
@@ -8,7 +8,7 @@ PathPatrol.update 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
模型对象父对象编号。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ PathPatrol.update 参数。
|
|
|
24
24
|
|
|
25
25
|
### lineColor?
|
|
26
26
|
|
|
27
|
-
> `optional` **lineColor
|
|
27
|
+
> `optional` **lineColor?**: `string`
|
|
28
28
|
|
|
29
29
|
巡逻轨迹的颜色。
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ PathPatrol.update 参数。
|
|
|
32
32
|
|
|
33
33
|
### lineWidth?
|
|
34
34
|
|
|
35
|
-
> `optional` **lineWidth
|
|
35
|
+
> `optional` **lineWidth?**: `number`
|
|
36
36
|
|
|
37
37
|
巡逻路线的宽度。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ PathPatrol.update 参数。
|
|
|
40
40
|
|
|
41
41
|
### passedColor?
|
|
42
42
|
|
|
43
|
-
> `optional` **passedColor
|
|
43
|
+
> `optional` **passedColor?**: `string`
|
|
44
44
|
|
|
45
45
|
巡逻过的路径的显示颜色。
|
|
46
46
|
|
|
@@ -48,6 +48,6 @@ PathPatrol.update 参数。
|
|
|
48
48
|
|
|
49
49
|
### speed?
|
|
50
50
|
|
|
51
|
-
> `optional` **speed
|
|
51
|
+
> `optional` **speed?**: `number`
|
|
52
52
|
|
|
53
53
|
调整速度,不能小于 0。
|