@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,45 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ApiRequestEnvelope
|
|
2
|
+
|
|
3
|
+
# Interface: ApiRequestEnvelope\<T\>
|
|
4
|
+
|
|
5
|
+
## Type Parameters
|
|
6
|
+
|
|
7
|
+
| Type Parameter | Default type |
|
|
8
|
+
| ------ | ------ |
|
|
9
|
+
| `T` | `unknown` |
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### AssemblyName
|
|
14
|
+
|
|
15
|
+
> **AssemblyName**: `string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### fn
|
|
20
|
+
|
|
21
|
+
> **fn**: `string`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### ClassName
|
|
26
|
+
|
|
27
|
+
> **ClassName**: `string`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### FunctionName
|
|
32
|
+
|
|
33
|
+
> **FunctionName**: `string`
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### Value?
|
|
38
|
+
|
|
39
|
+
> `optional` **Value**: `any`
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### ts
|
|
44
|
+
|
|
45
|
+
> **ts**: `number`
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ApiResponseEnvelope
|
|
2
|
+
|
|
3
|
+
# Interface: ApiResponseEnvelope\<T\>
|
|
4
|
+
|
|
5
|
+
## Type Parameters
|
|
6
|
+
|
|
7
|
+
| Type Parameter | Default type |
|
|
8
|
+
| ------ | ------ |
|
|
9
|
+
| `T` | `unknown` |
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### requestId
|
|
14
|
+
|
|
15
|
+
> **requestId**: `string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### success
|
|
20
|
+
|
|
21
|
+
> **success**: `boolean`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### code
|
|
26
|
+
|
|
27
|
+
> **code**: `string`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### message
|
|
32
|
+
|
|
33
|
+
> **message**: `string`
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### params?
|
|
38
|
+
|
|
39
|
+
> `optional` **params**: `any`
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### errorMsg?
|
|
44
|
+
|
|
45
|
+
> `optional` **errorMsg**: `string`
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### data?
|
|
50
|
+
|
|
51
|
+
> `optional` **data**: `T`
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### ts
|
|
56
|
+
|
|
57
|
+
> **ts**: `number`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / AuthErrorInfo
|
|
2
|
+
|
|
3
|
+
# Interface: AuthErrorInfo
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### code
|
|
8
|
+
|
|
9
|
+
> **code**: `string`
|
|
10
|
+
|
|
11
|
+
***
|
|
12
|
+
|
|
13
|
+
### message
|
|
14
|
+
|
|
15
|
+
> **message**: `string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### retryable
|
|
20
|
+
|
|
21
|
+
> **retryable**: `boolean`
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / AuthSessionSnapshot
|
|
2
|
+
|
|
3
|
+
# Interface: AuthSessionSnapshot
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### state
|
|
8
|
+
|
|
9
|
+
> **state**: [`AuthWorkflowState`](../type-aliases/AuthWorkflowState.md)
|
|
10
|
+
|
|
11
|
+
***
|
|
12
|
+
|
|
13
|
+
### reconnecting
|
|
14
|
+
|
|
15
|
+
> **reconnecting**: `boolean`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### webToken?
|
|
20
|
+
|
|
21
|
+
> `optional` **webToken**: `string`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### engineToken?
|
|
26
|
+
|
|
27
|
+
> `optional` **engineToken**: `string`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### signallingUrl?
|
|
32
|
+
|
|
33
|
+
> `optional` **signallingUrl**: `string`
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### lastError?
|
|
38
|
+
|
|
39
|
+
> `optional` **lastError**: [`AuthErrorInfo`](AuthErrorInfo.md)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### updatedAt
|
|
44
|
+
|
|
45
|
+
> **updatedAt**: `number`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CameraFlyByPathRequest
|
|
2
|
+
|
|
3
|
+
# Interface: CameraFlyByPathRequest
|
|
4
|
+
|
|
5
|
+
Camera.flyByPath 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### points?
|
|
10
|
+
|
|
11
|
+
> `optional` **points**: `string` \| `Vector3`[]
|
|
12
|
+
|
|
13
|
+
相机路径点集合。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### lookAts?
|
|
18
|
+
|
|
19
|
+
> `optional` **lookAts**: `string` \| `Vector3`[]
|
|
20
|
+
|
|
21
|
+
视线目标点集合。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### time?
|
|
26
|
+
|
|
27
|
+
> `optional` **time**: `number`
|
|
28
|
+
|
|
29
|
+
飞行时长(秒)。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### smoothMode?
|
|
34
|
+
|
|
35
|
+
> `optional` **smoothMode**: `0` \| `1`
|
|
36
|
+
|
|
37
|
+
路径平滑模式。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CameraFlyToTargetRequest
|
|
2
|
+
|
|
3
|
+
# Interface: CameraFlyToTargetRequest
|
|
4
|
+
|
|
5
|
+
Camera.flyToTarget 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### point?
|
|
10
|
+
|
|
11
|
+
> `optional` **point**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
12
|
+
|
|
13
|
+
飞行终点坐标。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### target?
|
|
18
|
+
|
|
19
|
+
> `optional` **target**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
20
|
+
|
|
21
|
+
飞行过程中看向目标点。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### time?
|
|
26
|
+
|
|
27
|
+
> `optional` **time**: `number`
|
|
28
|
+
|
|
29
|
+
飞行时长(秒)。
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CameraLookAtRequest
|
|
2
|
+
|
|
3
|
+
# Interface: CameraLookAtRequest
|
|
4
|
+
|
|
5
|
+
Camera.lookAt 参数。
|
|
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
|
+
### offSet?
|
|
26
|
+
|
|
27
|
+
> `optional` **offSet**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
28
|
+
|
|
29
|
+
视角方向偏移向量。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### offSetX?
|
|
34
|
+
|
|
35
|
+
> `optional` **offSetX**: `number`
|
|
36
|
+
|
|
37
|
+
水平偏移量。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### distance?
|
|
42
|
+
|
|
43
|
+
> `optional` **distance**: `number`
|
|
44
|
+
|
|
45
|
+
到目标的距离比例。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### time?
|
|
50
|
+
|
|
51
|
+
> `optional` **time**: `number`
|
|
52
|
+
|
|
53
|
+
飞行时长(秒)。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### isRotate?
|
|
58
|
+
|
|
59
|
+
> `optional` **isRotate**: `boolean`
|
|
60
|
+
|
|
61
|
+
是否在飞行中旋转视角。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### isHighlight?
|
|
66
|
+
|
|
67
|
+
> `optional` **isHighlight**: `boolean`
|
|
68
|
+
|
|
69
|
+
是否高亮目标。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CameraObjFollowRequest
|
|
2
|
+
|
|
3
|
+
# Interface: CameraObjFollowRequest
|
|
4
|
+
|
|
5
|
+
Camera.startCameraObjFollow 参数。
|
|
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**: `Vector3`
|
|
28
|
+
|
|
29
|
+
相机位置偏移量(x, y, z)。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### smooth?
|
|
34
|
+
|
|
35
|
+
> `optional` **smooth**: `number`
|
|
36
|
+
|
|
37
|
+
轨迹的平滑度,取值范围 0~1,默认 0.85;取值越大,相机跟随得越慢,跟随轨迹越平滑。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CameraSetPositionAndRotationRequest
|
|
2
|
+
|
|
3
|
+
# Interface: CameraSetPositionAndRotationRequest
|
|
4
|
+
|
|
5
|
+
Camera.setCameraPositionAndRotation 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### point
|
|
10
|
+
|
|
11
|
+
> **point**: `Vector3`
|
|
12
|
+
|
|
13
|
+
相机位置。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### rotation
|
|
18
|
+
|
|
19
|
+
> **rotation**: `Vector3`
|
|
20
|
+
|
|
21
|
+
相机旋转。
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CenterConnectResult
|
|
2
|
+
|
|
3
|
+
# Interface: CenterConnectResult
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### webToken?
|
|
8
|
+
|
|
9
|
+
> `optional` **webToken**: `string`
|
|
10
|
+
|
|
11
|
+
***
|
|
12
|
+
|
|
13
|
+
### turn\_server?
|
|
14
|
+
|
|
15
|
+
> `optional` **turn\_server**: `string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### turn\_user?
|
|
20
|
+
|
|
21
|
+
> `optional` **turn\_user**: `string`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### turn\_pwd?
|
|
26
|
+
|
|
27
|
+
> `optional` **turn\_pwd**: `string`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CenterEnvelope
|
|
2
|
+
|
|
3
|
+
# Interface: CenterEnvelope
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### fn
|
|
8
|
+
|
|
9
|
+
> **fn**: `string`
|
|
10
|
+
|
|
11
|
+
***
|
|
12
|
+
|
|
13
|
+
### success?
|
|
14
|
+
|
|
15
|
+
> `optional` **success**: `boolean`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### status?
|
|
20
|
+
|
|
21
|
+
> `optional` **status**: `string`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### message?
|
|
26
|
+
|
|
27
|
+
> `optional` **message**: `string`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### values?
|
|
32
|
+
|
|
33
|
+
> `optional` **values**: `string`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / CenterServiceInfo
|
|
2
|
+
|
|
3
|
+
# Interface: CenterServiceInfo
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### token?
|
|
8
|
+
|
|
9
|
+
> `optional` **token**: `string`
|
|
10
|
+
|
|
11
|
+
***
|
|
12
|
+
|
|
13
|
+
### uuid?
|
|
14
|
+
|
|
15
|
+
> `optional` **uuid**: `string`
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### isSpecify?
|
|
20
|
+
|
|
21
|
+
> `optional` **isSpecify**: `boolean`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### PrivateKey?
|
|
26
|
+
|
|
27
|
+
> `optional` **PrivateKey**: `string`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### privateKey?
|
|
32
|
+
|
|
33
|
+
> `optional` **privateKey**: `string`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / DlssSetEnableRequest
|
|
2
|
+
|
|
3
|
+
# Interface: DlssSetEnableRequest
|
|
4
|
+
|
|
5
|
+
Dlss.setDlssEnable 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### enable?
|
|
10
|
+
|
|
11
|
+
> `optional` **enable**: `boolean`
|
|
12
|
+
|
|
13
|
+
是否开启 DLSS。
|
|
14
|
+
默认值 `true`。
|
|
15
|
+
|
|
16
|
+
***
|
|
17
|
+
|
|
18
|
+
### quality?
|
|
19
|
+
|
|
20
|
+
> `optional` **quality**: [`DlssQuality`](../type-aliases/DlssQuality.md)
|
|
21
|
+
|
|
22
|
+
DLSS 质量档位。
|
|
23
|
+
默认值 `DlssQuality.Balanced`。
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / DlssSetQualityRequest
|
|
2
|
+
|
|
3
|
+
# Interface: DlssSetQualityRequest
|
|
4
|
+
|
|
5
|
+
Dlss.setDlssQuality 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### quality?
|
|
10
|
+
|
|
11
|
+
> `optional` **quality**: [`DlssQuality`](../type-aliases/DlssQuality.md)
|
|
12
|
+
|
|
13
|
+
DLSS 质量档位。
|
|
14
|
+
默认值 `DlssQuality.Balanced`。
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / EngineConfig
|
|
2
|
+
|
|
3
|
+
# Interface: EngineConfig
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### centerIP?
|
|
8
|
+
|
|
9
|
+
> `optional` **centerIP**: `string`
|
|
10
|
+
|
|
11
|
+
鉴权服务器地址
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### signalingServer?
|
|
16
|
+
|
|
17
|
+
> `optional` **signalingServer**: `string`
|
|
18
|
+
|
|
19
|
+
信令服务 HTTP 基地址,SDK 会基于该地址调用 `/api/v1/allocate` 获取最终 ws 播放地址
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### sceneName?
|
|
24
|
+
|
|
25
|
+
> `optional` **sceneName**: `string`
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### token?
|
|
30
|
+
|
|
31
|
+
> `optional` **token**: `string`
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### dom?
|
|
36
|
+
|
|
37
|
+
> `optional` **dom**: `HTMLDivElement`
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### showProgressBar?
|
|
42
|
+
|
|
43
|
+
> `optional` **showProgressBar**: `boolean`
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### codec?
|
|
48
|
+
|
|
49
|
+
> `optional` **codec**: `string`
|
|
50
|
+
|
|
51
|
+
***
|
|
52
|
+
|
|
53
|
+
### viewMode?
|
|
54
|
+
|
|
55
|
+
> `optional` **viewMode**: [`EngineViewMode`](../type-aliases/EngineViewMode.md)
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### turnServer?
|
|
60
|
+
|
|
61
|
+
> `optional` **turnServer**: `string`
|
|
62
|
+
|
|
63
|
+
TURN 服务器地址
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
67
|
+
### turnUser?
|
|
68
|
+
|
|
69
|
+
> `optional` **turnUser**: `string`
|
|
70
|
+
|
|
71
|
+
TURN 用户名
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
75
|
+
### turnPwd?
|
|
76
|
+
|
|
77
|
+
> `optional` **turnPwd**: `string`
|
|
78
|
+
|
|
79
|
+
TURN 密码
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### privateKey?
|
|
84
|
+
|
|
85
|
+
> `optional` **privateKey**: `string`
|
|
86
|
+
|
|
87
|
+
私有密钥
|
|
88
|
+
|
|
89
|
+
***
|
|
90
|
+
|
|
91
|
+
### engineUuid?
|
|
92
|
+
|
|
93
|
+
> `optional` **engineUuid**: `string`
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### mapType?
|
|
98
|
+
|
|
99
|
+
> `optional` **mapType**: `string`
|
|
100
|
+
|
|
101
|
+
***
|
|
102
|
+
|
|
103
|
+
### operationType?
|
|
104
|
+
|
|
105
|
+
> `optional` **operationType**: `string`
|
|
106
|
+
|
|
107
|
+
***
|
|
108
|
+
|
|
109
|
+
### freeCheckInterval?
|
|
110
|
+
|
|
111
|
+
> `optional` **freeCheckInterval**: `number`
|
|
112
|
+
|
|
113
|
+
***
|
|
114
|
+
|
|
115
|
+
### initialSettings?
|
|
116
|
+
|
|
117
|
+
> `optional` **initialSettings**: `Record`\<`string`, `unknown`\>
|
|
118
|
+
|
|
119
|
+
PixelStreaming initialSettings
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### logger?
|
|
124
|
+
|
|
125
|
+
> `optional` **logger**: [`EngineLogLevel`](../type-aliases/EngineLogLevel.md)
|
|
126
|
+
|
|
127
|
+
日志级别,默认值为 info
|