@nnepoch/dtc-sdk 3.0.0
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/README.md +298 -0
- package/dist/browser/dtc-sdk-3.0.0.js +2 -0
- package/dist/cjs/index.cjs +38 -0
- package/dist/cjs/index.d.cts +5600 -0
- package/dist/esm/index.d.ts +5600 -0
- package/dist/esm/index.js +38 -0
- package/docs/api/api/classes/Animation.md +280 -0
- package/docs/api/api/classes/ApiRegistryError.md +60 -0
- package/docs/api/api/classes/Camera.md +601 -0
- package/docs/api/api/classes/Connect.md +257 -0
- package/docs/api/api/classes/Dlss.md +67 -0
- package/docs/api/api/classes/HighLighterEffect.md +173 -0
- package/docs/api/api/classes/Layer.md +444 -0
- package/docs/api/api/classes/Model.md +193 -0
- package/docs/api/api/classes/ModelPOI.md +279 -0
- package/docs/api/api/classes/ModelTransform.md +579 -0
- package/docs/api/api/classes/PathPatrol.md +337 -0
- package/docs/api/api/classes/Popup.md +323 -0
- package/docs/api/api/classes/Scene.md +272 -0
- package/docs/api/api/classes/Screen.md +157 -0
- package/docs/api/api/classes/TimeLine.md +274 -0
- package/docs/api/api/classes/UIPOI.md +318 -0
- package/docs/api/api/classes/WeatherSystem.md +581 -0
- package/docs/api/api/functions/createApiFacade.md +20 -0
- package/docs/api/api/index.md +45 -0
- package/docs/api/api/interfaces/ApiInstanceMap.md +107 -0
- package/docs/api/api/interfaces/ApiRegistryContext.md +47 -0
- package/docs/api/api/type-aliases/ApiFacade.md +7 -0
- package/docs/api/api/type-aliases/ApiModuleFactory.md +23 -0
- package/docs/api/api/type-aliases/ApiModuleKey.md +5 -0
- package/docs/api/api/type-aliases/ApiRegistry.md +7 -0
- package/docs/api/api/variables/API_MODULE_KEYS.md +5 -0
- package/docs/api/api/variables/PendingValidationSchemaMap.md +9 -0
- package/docs/api/api/variables/apiRegistry.md +7 -0
- package/docs/api/application/DTCEngine/classes/DTCEngine.md +738 -0
- package/docs/api/application/DTCEngine/index.md +11 -0
- package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +22 -0
- package/docs/api/index.md +7 -0
- package/docs/api/typedoc-sidebar.json +735 -0
- package/docs/api/types/enumerations/LayerEnum.md +21 -0
- package/docs/api/types/enumerations/ModelTransformType.md +251 -0
- package/docs/api/types/enumerations/VideoCodeType.md +37 -0
- package/docs/api/types/index.md +146 -0
- package/docs/api/types/interfaces/AnimationGetLengthRequest.md +29 -0
- package/docs/api/types/interfaces/AnimationPlayRequest.md +61 -0
- package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +29 -0
- package/docs/api/types/interfaces/AnimationStartLoopRequest.md +53 -0
- package/docs/api/types/interfaces/AnimationStopLoopRequest.md +21 -0
- package/docs/api/types/interfaces/AnimationStopRequest.md +21 -0
- package/docs/api/types/interfaces/ApiRequestEnvelope.md +45 -0
- package/docs/api/types/interfaces/ApiResponseEnvelope.md +57 -0
- package/docs/api/types/interfaces/AuthErrorInfo.md +21 -0
- package/docs/api/types/interfaces/AuthSessionSnapshot.md +45 -0
- package/docs/api/types/interfaces/CameraFlyByPathRequest.md +37 -0
- package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +29 -0
- package/docs/api/types/interfaces/CameraLookAtRequest.md +69 -0
- package/docs/api/types/interfaces/CameraObjFollowRequest.md +37 -0
- package/docs/api/types/interfaces/CameraSetFlySpeedRequest.md +13 -0
- package/docs/api/types/interfaces/CameraSetFovRequest.md +13 -0
- package/docs/api/types/interfaces/CameraSetPositionAndRotationRequest.md +21 -0
- package/docs/api/types/interfaces/CenterConnectResult.md +27 -0
- package/docs/api/types/interfaces/CenterEnvelope.md +33 -0
- package/docs/api/types/interfaces/CenterServiceInfo.md +33 -0
- package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +9 -0
- package/docs/api/types/interfaces/DlssSetEnableRequest.md +23 -0
- package/docs/api/types/interfaces/DlssSetQualityRequest.md +14 -0
- package/docs/api/types/interfaces/EngineConfig.md +127 -0
- package/docs/api/types/interfaces/EngineStatusInfo.md +59 -0
- package/docs/api/types/interfaces/FeatureToggleRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterEnableRequest.md +11 -0
- package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +21 -0
- package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +29 -0
- package/docs/api/types/interfaces/LayerAddRequest.md +61 -0
- package/docs/api/types/interfaces/LayerChildElementRequest.md +21 -0
- package/docs/api/types/interfaces/LayerModelAddRequest.md +75 -0
- package/docs/api/types/interfaces/LayerModelRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/LayerPOIAddRequest.md +117 -0
- package/docs/api/types/interfaces/LayerSelectorRequest.md +21 -0
- package/docs/api/types/interfaces/LayerShowUIPopRequest.md +51 -0
- package/docs/api/types/interfaces/LayerSwitchModelRequest.md +29 -0
- package/docs/api/types/interfaces/ModelAddRequest.md +61 -0
- package/docs/api/types/interfaces/ModelBoundsRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIAddRequest.md +53 -0
- package/docs/api/types/interfaces/ModelPOIDeleteByGroupRequest.md +13 -0
- package/docs/api/types/interfaces/ModelPOIDeleteByIdRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIGetInfoRequest.md +21 -0
- package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +53 -0
- package/docs/api/types/interfaces/ModelPOIVisibleByGroupRequest.md +21 -0
- package/docs/api/types/interfaces/ModelRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSelectorRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +21 -0
- package/docs/api/types/interfaces/ModelSetVisibleRequest.md +29 -0
- package/docs/api/types/interfaces/ModelTransformNodeRequest.md +21 -0
- package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +21 -0
- package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +85 -0
- package/docs/api/types/interfaces/ModelTransformRotateRequest.md +29 -0
- package/docs/api/types/interfaces/ModelTransformScaleRequest.md +37 -0
- package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +61 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionResult.md +47 -0
- package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +29 -0
- package/docs/api/types/interfaces/NetworkAdaptationState.md +41 -0
- package/docs/api/types/interfaces/NetworkDecisionTrace.md +53 -0
- package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +53 -0
- package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +59 -0
- package/docs/api/types/interfaces/PathPatrolAddRequest.md +109 -0
- package/docs/api/types/interfaces/PathPatrolNodeRequest.md +21 -0
- package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +37 -0
- package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +53 -0
- package/docs/api/types/interfaces/PopupAddRequest.md +21 -0
- package/docs/api/types/interfaces/PopupDelayRequest.md +13 -0
- package/docs/api/types/interfaces/PopupItemRequest.md +61 -0
- package/docs/api/types/interfaces/PopupRemoveRequest.md +21 -0
- package/docs/api/types/interfaces/PopupShowDistanceRequest.md +13 -0
- package/docs/api/types/interfaces/PopupShowRequest.md +29 -0
- package/docs/api/types/interfaces/PopupSyncInfoRequest.md +37 -0
- package/docs/api/types/interfaces/QosEvent.md +65 -0
- package/docs/api/types/interfaces/QosReportingPayload.md +47 -0
- package/docs/api/types/interfaces/QosRuntimeContext.md +29 -0
- package/docs/api/types/interfaces/QosSessionContext.md +29 -0
- package/docs/api/types/interfaces/QosWarnErrorSummary.md +37 -0
- package/docs/api/types/interfaces/ResolvedEngineConfig.md +123 -0
- package/docs/api/types/interfaces/SceneListenCompassRequest.md +13 -0
- package/docs/api/types/interfaces/SceneSwitchRequest.md +13 -0
- package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +14 -0
- package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +15 -0
- package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +23 -0
- package/docs/api/types/interfaces/ScreenSetVideoDecodeRequest.md +13 -0
- package/docs/api/types/interfaces/SignallingAllocateResponse.md +27 -0
- package/docs/api/types/interfaces/StandardResponse.md +33 -0
- package/docs/api/types/interfaces/TimeSerialNode.md +21 -0
- package/docs/api/types/interfaces/TimelineNodeRequest.md +21 -0
- package/docs/api/types/interfaces/TimelinePlayRequest.md +53 -0
- package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +37 -0
- package/docs/api/types/interfaces/TimelineStopRequest.md +45 -0
- package/docs/api/types/interfaces/UIPOIAddRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIDeleteByGroupRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIDeleteByIdRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIShowDistanceRequest.md +13 -0
- package/docs/api/types/interfaces/UIPOIUpdateRequest.md +21 -0
- package/docs/api/types/interfaces/UIPOIUpdateStateRequest.md +21 -0
- package/docs/api/types/interfaces/Vector3JsonInput.md +27 -0
- package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +21 -0
- package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +69 -0
- package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +29 -0
- package/docs/api/types/interfaces/WeatherSetDayAndNightRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +21 -0
- package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +13 -0
- package/docs/api/types/interfaces/WeatherTypeRequest.md +27 -0
- package/docs/api/types/type-aliases/ApiCallback.md +21 -0
- package/docs/api/types/type-aliases/AuthWorkflowState.md +5 -0
- package/docs/api/types/type-aliases/DlssQuality.md +7 -0
- package/docs/api/types/type-aliases/EngineLogLevel.md +5 -0
- package/docs/api/types/type-aliases/EngineViewMode.md +5 -0
- package/docs/api/types/type-aliases/GetWeatherTypeRequest.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationActionType.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationLevel.md +7 -0
- package/docs/api/types/type-aliases/NetworkAdaptationMode.md +9 -0
- package/docs/api/types/type-aliases/QosEventName.md +9 -0
- package/docs/api/types/type-aliases/QosLevel.md +7 -0
- package/docs/api/types/type-aliases/QosStage.md +7 -0
- package/docs/api/types/type-aliases/QosStatus.md +7 -0
- package/docs/api/types/type-aliases/ScreenRenderBitratePreset.md +7 -0
- package/docs/api/types/type-aliases/Season.md +7 -0
- package/docs/api/types/type-aliases/Vector3Input.md +5 -0
- package/docs/api/types/variables/DlssQuality.md +57 -0
- package/docs/api/types/variables/QOS_EVENT_NAMES.md +7 -0
- package/docs/api/types/variables/ScreenRenderBitratePreset.md +39 -0
- package/docs/api/types/variables/ScreenRenderBitratePresetOptions.md +5 -0
- package/docs/api/types/variables/ScreenRenderBitratePresetValueMap.md +27 -0
- package/docs/api/types/variables/Season.md +33 -0
- package/package.json +86 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelPOIDeleteByIdRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelPOIDeleteByIdRequest
|
|
4
|
+
|
|
5
|
+
ModelPOI.deleteById 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName
|
|
10
|
+
|
|
11
|
+
> **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
要删除的气泡 ID 列表。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelPOIGetInfoRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelPOIGetInfoRequest
|
|
4
|
+
|
|
5
|
+
ModelPOI.getPOIInfo 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName
|
|
10
|
+
|
|
11
|
+
> **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
模型气泡 ID。
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelPOIUpdateRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelPOIUpdateRequest
|
|
4
|
+
|
|
5
|
+
ModelPOI.update 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### id
|
|
10
|
+
|
|
11
|
+
> **id**: `string`
|
|
12
|
+
|
|
13
|
+
模型气泡 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### groupName
|
|
18
|
+
|
|
19
|
+
> **groupName**: `string`
|
|
20
|
+
|
|
21
|
+
分组名称。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### assetPath?
|
|
26
|
+
|
|
27
|
+
> `optional` **assetPath**: `string`
|
|
28
|
+
|
|
29
|
+
资源路径。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### targetParentId?
|
|
34
|
+
|
|
35
|
+
> `optional` **targetParentId**: `string`
|
|
36
|
+
|
|
37
|
+
目标父节点 ID。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### targetId?
|
|
42
|
+
|
|
43
|
+
> `optional` **targetId**: `string`
|
|
44
|
+
|
|
45
|
+
目标对象 ID。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### visible?
|
|
50
|
+
|
|
51
|
+
> `optional` **visible**: `boolean`
|
|
52
|
+
|
|
53
|
+
是否可见。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelPOIVisibleByGroupRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelPOIVisibleByGroupRequest
|
|
4
|
+
|
|
5
|
+
ModelPOI.setVisibleByGroup 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### groupName
|
|
10
|
+
|
|
11
|
+
> **groupName**: `string`
|
|
12
|
+
|
|
13
|
+
分组名称。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### visible
|
|
18
|
+
|
|
19
|
+
> **visible**: `boolean`
|
|
20
|
+
|
|
21
|
+
是否可见。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelRemoveRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelRemoveRequest
|
|
4
|
+
|
|
5
|
+
Model.remove 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父节点 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
要删除的对象 ID 列表。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelSelectorRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelSelectorRequest
|
|
4
|
+
|
|
5
|
+
模型对象选择器。
|
|
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
|
+
对象 ID。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelSetVisibleByTagsRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelSetVisibleByTagsRequest
|
|
4
|
+
|
|
5
|
+
Model.setVisible 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### tags
|
|
10
|
+
|
|
11
|
+
> **tags**: `string` \| `string`[]
|
|
12
|
+
|
|
13
|
+
标签,支持单个或多个。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### visible?
|
|
18
|
+
|
|
19
|
+
> `optional` **visible**: `boolean`
|
|
20
|
+
|
|
21
|
+
是否可见。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelSetVisibleRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelSetVisibleRequest
|
|
4
|
+
|
|
5
|
+
Model.setVisible 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父节点 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string` \| `string`[]
|
|
20
|
+
|
|
21
|
+
模型 ID,支持单个或多个。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### visible?
|
|
26
|
+
|
|
27
|
+
> `optional` **visible**: `boolean`
|
|
28
|
+
|
|
29
|
+
是否可见。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelTransformNodeRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelTransformNodeRequest
|
|
4
|
+
|
|
5
|
+
ModelTransform.pauseMove / resumeMove / endMove / endRotate / endScale 参数。
|
|
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
|
+
对象编号。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelTransformRestoreRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelTransformRestoreRequest
|
|
4
|
+
|
|
5
|
+
ModelTransform.restoreMove / restoreRotate / restoreScale 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父节点 ID,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
需要恢复的对象 ID 列表。
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelTransformRotateByTargetRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelTransformRotateByTargetRequest
|
|
4
|
+
|
|
5
|
+
ModelTransform.rotateByTarget 参数。
|
|
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
|
+
### parentTargetId?
|
|
26
|
+
|
|
27
|
+
> `optional` **parentTargetId**: `string`
|
|
28
|
+
|
|
29
|
+
场景中参照位置的父级对象编号。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### targetID
|
|
34
|
+
|
|
35
|
+
> **targetID**: `string`
|
|
36
|
+
|
|
37
|
+
围绕的目标对象名称。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### point
|
|
42
|
+
|
|
43
|
+
> **point**: `Vector3`
|
|
44
|
+
|
|
45
|
+
中心点;targetID 为空时为绕中心点,否则为相对 targetID 的偏移值。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### axisX?
|
|
50
|
+
|
|
51
|
+
> `optional` **axisX**: `number`
|
|
52
|
+
|
|
53
|
+
为正数则绕 x 轴旋转。默认 `0`。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### axisY?
|
|
58
|
+
|
|
59
|
+
> `optional` **axisY**: `number`
|
|
60
|
+
|
|
61
|
+
为正数则绕 y 轴旋转。默认 `0`。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### axisZ?
|
|
66
|
+
|
|
67
|
+
> `optional` **axisZ**: `number`
|
|
68
|
+
|
|
69
|
+
为正数则绕 z 轴旋转。默认 `0`。
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### angle?
|
|
74
|
+
|
|
75
|
+
> `optional` **angle**: `number`
|
|
76
|
+
|
|
77
|
+
旋转度数。默认 `0`。
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### isPersistence?
|
|
82
|
+
|
|
83
|
+
> `optional` **isPersistence**: `boolean`
|
|
84
|
+
|
|
85
|
+
是否持续旋转。默认 `false`。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelTransformRotateRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelTransformRotateRequest
|
|
4
|
+
|
|
5
|
+
ModelTransform.rotate / continuedRotate 参数。
|
|
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
|
+
### rotate
|
|
26
|
+
|
|
27
|
+
> **rotate**: `Vector3`
|
|
28
|
+
|
|
29
|
+
对象绕 x/y/z 轴旋转的值,不旋转填写为 0。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelTransformScaleRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelTransformScaleRequest
|
|
4
|
+
|
|
5
|
+
ModelTransform.setScale 参数。
|
|
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
|
+
### scale
|
|
26
|
+
|
|
27
|
+
> **scale**: `Vector3`
|
|
28
|
+
|
|
29
|
+
目标缩放值。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### duration?
|
|
34
|
+
|
|
35
|
+
> `optional` **duration**: `number`
|
|
36
|
+
|
|
37
|
+
缩放时长(秒)。默认 `0.5`。
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelTransformStartMoveRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelTransformStartMoveRequest
|
|
4
|
+
|
|
5
|
+
ModelTransform.startMoveByNodes 参数。
|
|
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
|
+
### nodes
|
|
26
|
+
|
|
27
|
+
> **nodes**: [`Vector3Input`](../type-aliases/Vector3Input.md)[]
|
|
28
|
+
|
|
29
|
+
移动轨迹点集合。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### speed?
|
|
34
|
+
|
|
35
|
+
> `optional` **speed**: `number`
|
|
36
|
+
|
|
37
|
+
移动速度。默认 `1`。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### linear?
|
|
42
|
+
|
|
43
|
+
> `optional` **linear**: `number`
|
|
44
|
+
|
|
45
|
+
移动方式,参见 `ModelTransformType` 枚举,默认 -1(引擎默认)。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### isLookAtTarget?
|
|
50
|
+
|
|
51
|
+
> `optional` **isLookAtTarget**: `boolean`
|
|
52
|
+
|
|
53
|
+
是否看向移动的目标点。默认 `true`。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### needDirection?
|
|
58
|
+
|
|
59
|
+
> `optional` **needDirection**: `boolean`
|
|
60
|
+
|
|
61
|
+
是否需要朝移动方向转向。默认 `true`。
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NetworkAdaptationActionResult
|
|
2
|
+
|
|
3
|
+
# Interface: NetworkAdaptationActionResult
|
|
4
|
+
|
|
5
|
+
策略动作执行事件。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### level
|
|
10
|
+
|
|
11
|
+
> **level**: `"Normal"` \| `"Mild"` \| `"Moderate"` \| `"Severe"`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### mode
|
|
16
|
+
|
|
17
|
+
> **mode**: [`NetworkAdaptationMode`](../type-aliases/NetworkAdaptationMode.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### success
|
|
22
|
+
|
|
23
|
+
> **success**: `boolean`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### skipped
|
|
28
|
+
|
|
29
|
+
> **skipped**: `boolean`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### reason
|
|
34
|
+
|
|
35
|
+
> **reason**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### ts
|
|
40
|
+
|
|
41
|
+
> **ts**: `number`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### steps
|
|
46
|
+
|
|
47
|
+
> **steps**: [`NetworkAdaptationActionStep`](NetworkAdaptationActionStep.md)[]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NetworkAdaptationActionStep
|
|
2
|
+
|
|
3
|
+
# Interface: NetworkAdaptationActionStep
|
|
4
|
+
|
|
5
|
+
单步策略动作执行结果。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### type
|
|
10
|
+
|
|
11
|
+
> **type**: [`NetworkAdaptationActionType`](../type-aliases/NetworkAdaptationActionType.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### payload
|
|
16
|
+
|
|
17
|
+
> **payload**: `Record`\<`string`, `number`\>
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### success
|
|
22
|
+
|
|
23
|
+
> **success**: `boolean`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### error?
|
|
28
|
+
|
|
29
|
+
> `optional` **error**: `string`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NetworkAdaptationState
|
|
2
|
+
|
|
3
|
+
# Interface: NetworkAdaptationState
|
|
4
|
+
|
|
5
|
+
弱网状态变更事件载荷。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### from
|
|
10
|
+
|
|
11
|
+
> **from**: [`NetworkAdaptationLevel`](../type-aliases/NetworkAdaptationLevel.md)
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### to
|
|
16
|
+
|
|
17
|
+
> **to**: [`NetworkAdaptationLevel`](../type-aliases/NetworkAdaptationLevel.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### mode
|
|
22
|
+
|
|
23
|
+
> **mode**: [`NetworkAdaptationMode`](../type-aliases/NetworkAdaptationMode.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### reason
|
|
28
|
+
|
|
29
|
+
> **reason**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### ts
|
|
34
|
+
|
|
35
|
+
> **ts**: `number`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### metrics?
|
|
40
|
+
|
|
41
|
+
> `optional` **metrics**: [`NetworkMetricsSnapshot`](NetworkMetricsSnapshot.md)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NetworkDecisionTrace
|
|
2
|
+
|
|
3
|
+
# Interface: NetworkDecisionTrace
|
|
4
|
+
|
|
5
|
+
策略决策轨迹条目,用于诊断面板回放。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### ts
|
|
10
|
+
|
|
11
|
+
> **ts**: `number`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### mode
|
|
16
|
+
|
|
17
|
+
> **mode**: [`NetworkAdaptationMode`](../type-aliases/NetworkAdaptationMode.md)
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### currentLevel
|
|
22
|
+
|
|
23
|
+
> **currentLevel**: [`NetworkAdaptationLevel`](../type-aliases/NetworkAdaptationLevel.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### measuredLevel
|
|
28
|
+
|
|
29
|
+
> **measuredLevel**: `"Normal"` \| `"Mild"` \| `"Moderate"` \| `"Severe"`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### targetLevel?
|
|
34
|
+
|
|
35
|
+
> `optional` **targetLevel**: [`NetworkAdaptationLevel`](../type-aliases/NetworkAdaptationLevel.md)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### outcome
|
|
40
|
+
|
|
41
|
+
> **outcome**: `"manual"` \| `"hold"` \| `"downgrade"` \| `"recover"` \| `"skip_hysteresis"` \| `"skip_cooldown"`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### reason
|
|
46
|
+
|
|
47
|
+
> **reason**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### metrics?
|
|
52
|
+
|
|
53
|
+
> `optional` **metrics**: [`NetworkMetricsSnapshot`](NetworkMetricsSnapshot.md)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / NetworkDiagnosticsSnapshot
|
|
2
|
+
|
|
3
|
+
# Interface: NetworkDiagnosticsSnapshot
|
|
4
|
+
|
|
5
|
+
诊断面板快照数据。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### ts
|
|
10
|
+
|
|
11
|
+
> **ts**: `number`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### visible
|
|
16
|
+
|
|
17
|
+
> **visible**: `boolean`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### mode
|
|
22
|
+
|
|
23
|
+
> **mode**: [`NetworkAdaptationMode`](../type-aliases/NetworkAdaptationMode.md)
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### currentLevel
|
|
28
|
+
|
|
29
|
+
> **currentLevel**: [`NetworkAdaptationLevel`](../type-aliases/NetworkAdaptationLevel.md)
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### connected
|
|
34
|
+
|
|
35
|
+
> **connected**: `boolean`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### lastMetrics?
|
|
40
|
+
|
|
41
|
+
> `optional` **lastMetrics**: [`NetworkMetricsSnapshot`](NetworkMetricsSnapshot.md)
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### lastAction?
|
|
46
|
+
|
|
47
|
+
> `optional` **lastAction**: [`NetworkAdaptationActionResult`](NetworkAdaptationActionResult.md)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### traces
|
|
52
|
+
|
|
53
|
+
> **traces**: [`NetworkDecisionTrace`](NetworkDecisionTrace.md)[]
|