@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,59 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / EngineStatusInfo
|
|
2
|
+
|
|
3
|
+
# Interface: EngineStatusInfo
|
|
4
|
+
|
|
5
|
+
引擎状态详情结构,与 sdk2 的 EngineStatusInfo 字段语义保持一致。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### CameraHeight
|
|
10
|
+
|
|
11
|
+
> **CameraHeight**: `string`
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### FPS
|
|
16
|
+
|
|
17
|
+
> **FPS**: `string`
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### Width
|
|
22
|
+
|
|
23
|
+
> **Width**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
27
|
+
### Height
|
|
28
|
+
|
|
29
|
+
> **Height**: `string`
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### runTime
|
|
34
|
+
|
|
35
|
+
> **runTime**: `string`
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### bytePerSecond
|
|
40
|
+
|
|
41
|
+
> **bytePerSecond**: `string`
|
|
42
|
+
|
|
43
|
+
***
|
|
44
|
+
|
|
45
|
+
### lostPacketsRate
|
|
46
|
+
|
|
47
|
+
> **lostPacketsRate**: `string`
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### delayTime
|
|
52
|
+
|
|
53
|
+
> **delayTime**: `string`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### Codec
|
|
58
|
+
|
|
59
|
+
> **Codec**: `string`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / FeatureToggleRequest
|
|
2
|
+
|
|
3
|
+
# Interface: FeatureToggleRequest
|
|
4
|
+
|
|
5
|
+
Scene.setFeatureToggle 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### key
|
|
10
|
+
|
|
11
|
+
> **key**: `string`
|
|
12
|
+
|
|
13
|
+
特性开关键名。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### enabled
|
|
18
|
+
|
|
19
|
+
> **enabled**: `boolean`
|
|
20
|
+
|
|
21
|
+
是否开启。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / HighLighterRemoveHighLightModelRequest
|
|
2
|
+
|
|
3
|
+
# Interface: HighLighterRemoveHighLightModelRequest
|
|
4
|
+
|
|
5
|
+
HighLighterEffect.removeHighLightModel 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
需要移除高光的对象名称数组。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / HighLighterSetHighLightModelRequest
|
|
2
|
+
|
|
3
|
+
# Interface: HighLighterSetHighLightModelRequest
|
|
4
|
+
|
|
5
|
+
HighLighterEffect.setHighLightModel 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
对象组的父对象,可以为空。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
需要添加高光的对象编号数组。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### showBack
|
|
26
|
+
|
|
27
|
+
> **showBack**: `boolean`
|
|
28
|
+
|
|
29
|
+
是否高亮模型背面。
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerAddRequest
|
|
4
|
+
|
|
5
|
+
Layer.addLayer 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父图层或分组 ID。仅传 parentId 时兼容作为 id 使用。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
图层对象 ID。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### layerName?
|
|
26
|
+
|
|
27
|
+
> `optional` **layerName**: `string`
|
|
28
|
+
|
|
29
|
+
图层显示名称。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### show?
|
|
34
|
+
|
|
35
|
+
> `optional` **show**: `boolean`
|
|
36
|
+
|
|
37
|
+
图层默认是否显示。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### poiEnabled?
|
|
42
|
+
|
|
43
|
+
> `optional` **poiEnabled**: `boolean`
|
|
44
|
+
|
|
45
|
+
图层 POI 是否显示。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### description?
|
|
50
|
+
|
|
51
|
+
> `optional` **description**: `string`
|
|
52
|
+
|
|
53
|
+
图层描述。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### isSystem?
|
|
58
|
+
|
|
59
|
+
> `optional` **isSystem**: `boolean`
|
|
60
|
+
|
|
61
|
+
图层是否为系统图层。true--断开连接不删除,false--断开连接删除。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerChildElementRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerChildElementRequest
|
|
4
|
+
|
|
5
|
+
Layer.getLayerChildElement 参数。
|
|
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,75 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerModelAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerModelAddRequest
|
|
4
|
+
|
|
5
|
+
Layer.addModel 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
模型所属图层组 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
新模型对象 ID。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### assetsPath?
|
|
26
|
+
|
|
27
|
+
> `optional` **assetsPath**: `string`
|
|
28
|
+
|
|
29
|
+
资源路径。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### position?
|
|
34
|
+
|
|
35
|
+
> `optional` **position**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
|
+
|
|
37
|
+
位置。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### rotation?
|
|
42
|
+
|
|
43
|
+
> `optional` **rotation**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
44
|
+
|
|
45
|
+
旋转角。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### scale?
|
|
50
|
+
|
|
51
|
+
> `optional` **scale**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
52
|
+
|
|
53
|
+
缩放。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### description?
|
|
58
|
+
|
|
59
|
+
> `optional` **description**: `string`
|
|
60
|
+
|
|
61
|
+
备注描述。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### isSystem?
|
|
66
|
+
|
|
67
|
+
> `optional` **isSystem**: `boolean`
|
|
68
|
+
|
|
69
|
+
模型是否为系统模型。true--断开连接不删除,false--断开连接删除。如果图层为非系统的,也会删除
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### tags?
|
|
74
|
+
|
|
75
|
+
> `optional` **tags**: `string`[]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerModelRemoveRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerModelRemoveRequest
|
|
4
|
+
|
|
5
|
+
Layer.removeModel 参数。
|
|
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,117 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerPOIAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerPOIAddRequest
|
|
4
|
+
|
|
5
|
+
Layer.addModel 参数。
|
|
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。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### assetsPath
|
|
26
|
+
|
|
27
|
+
> **assetsPath**: `string`
|
|
28
|
+
|
|
29
|
+
资源路径。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### position?
|
|
34
|
+
|
|
35
|
+
> `optional` **position**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
|
+
|
|
37
|
+
位置。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### targetParentId?
|
|
42
|
+
|
|
43
|
+
> `optional` **targetParentId**: `string`
|
|
44
|
+
|
|
45
|
+
场景中参照绑定的位置的对象上级编号,防止重名,可不填写,但要保证 targetId是唯一的
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### targetId?
|
|
50
|
+
|
|
51
|
+
> `optional` **targetId**: `string`
|
|
52
|
+
|
|
53
|
+
场景中参照绑定的位置的对象编号,与position功能一样,只需要存在一个
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### rotation?
|
|
58
|
+
|
|
59
|
+
> `optional` **rotation**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
60
|
+
|
|
61
|
+
旋转角。
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
65
|
+
### scale?
|
|
66
|
+
|
|
67
|
+
> `optional` **scale**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
68
|
+
|
|
69
|
+
缩放。
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### offSet?
|
|
74
|
+
|
|
75
|
+
> `optional` **offSet**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
76
|
+
|
|
77
|
+
poi的偏移量
|
|
78
|
+
|
|
79
|
+
***
|
|
80
|
+
|
|
81
|
+
### description?
|
|
82
|
+
|
|
83
|
+
> `optional` **description**: `string`
|
|
84
|
+
|
|
85
|
+
备注描述。
|
|
86
|
+
|
|
87
|
+
***
|
|
88
|
+
|
|
89
|
+
### isSystem?
|
|
90
|
+
|
|
91
|
+
> `optional` **isSystem**: `boolean`
|
|
92
|
+
|
|
93
|
+
模型是否为系统模型。true--断开连接不删除,false--断开连接删除。如果图层为非系统的,也会删除
|
|
94
|
+
|
|
95
|
+
***
|
|
96
|
+
|
|
97
|
+
### text?
|
|
98
|
+
|
|
99
|
+
> `optional` **text**: `string`
|
|
100
|
+
|
|
101
|
+
poi的文本
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### fontSize?
|
|
106
|
+
|
|
107
|
+
> `optional` **fontSize**: `number`
|
|
108
|
+
|
|
109
|
+
poi的字体大小,默认为 16
|
|
110
|
+
|
|
111
|
+
***
|
|
112
|
+
|
|
113
|
+
### tags?
|
|
114
|
+
|
|
115
|
+
> `optional` **tags**: `string`[]
|
|
116
|
+
|
|
117
|
+
模型的标签
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerSelectorRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerSelectorRequest
|
|
4
|
+
|
|
5
|
+
Layer.removeLayer / Layer.isLayerOrGroupExit 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父图层或分组 ID。仅传 parentId 时兼容作为 id 使用。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
图层或分组 ID。
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerShowUIPopRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerShowUIPopRequest
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### parentId?
|
|
8
|
+
|
|
9
|
+
> `optional` **parentId**: `string`
|
|
10
|
+
|
|
11
|
+
模型所属图层组 ID。
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### id
|
|
16
|
+
|
|
17
|
+
> **id**: `string`
|
|
18
|
+
|
|
19
|
+
新模型对象 ID。
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### assetsPath?
|
|
24
|
+
|
|
25
|
+
> `optional` **assetsPath**: `string`
|
|
26
|
+
|
|
27
|
+
资源路径。
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### offSet?
|
|
32
|
+
|
|
33
|
+
> `optional` **offSet**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
34
|
+
|
|
35
|
+
poi的偏移量
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### visible?
|
|
40
|
+
|
|
41
|
+
> `optional` **visible**: `boolean`
|
|
42
|
+
|
|
43
|
+
是否可见
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### scale?
|
|
48
|
+
|
|
49
|
+
> `optional` **scale**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
50
|
+
|
|
51
|
+
缩放。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerSwitchModelRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerSwitchModelRequest
|
|
4
|
+
|
|
5
|
+
Layer.switchModelLayer 参数。
|
|
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 列表。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### toParentId
|
|
26
|
+
|
|
27
|
+
> **toParentId**: `string`
|
|
28
|
+
|
|
29
|
+
目标图层组 ID。
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelAddRequest
|
|
4
|
+
|
|
5
|
+
Model.add 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父节点 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string`
|
|
20
|
+
|
|
21
|
+
新模型对象 ID。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### assetsPath?
|
|
26
|
+
|
|
27
|
+
> `optional` **assetsPath**: `string`
|
|
28
|
+
|
|
29
|
+
资源路径。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### position?
|
|
34
|
+
|
|
35
|
+
> `optional` **position**: `Vector3`
|
|
36
|
+
|
|
37
|
+
位置。
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### angle?
|
|
42
|
+
|
|
43
|
+
> `optional` **angle**: `Vector3`
|
|
44
|
+
|
|
45
|
+
旋转角。
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### scale?
|
|
50
|
+
|
|
51
|
+
> `optional` **scale**: `Vector3`
|
|
52
|
+
|
|
53
|
+
缩放。
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### description?
|
|
58
|
+
|
|
59
|
+
> `optional` **description**: `string`
|
|
60
|
+
|
|
61
|
+
备注描述。
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelBoundsRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelBoundsRequest
|
|
4
|
+
|
|
5
|
+
Model.getModelBoundsInfo 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId
|
|
10
|
+
|
|
11
|
+
> **parentId**: `string`
|
|
12
|
+
|
|
13
|
+
父节点 ID。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### id
|
|
18
|
+
|
|
19
|
+
> **id**: `string` \| `string`[]
|
|
20
|
+
|
|
21
|
+
目标模型 ID,支持单个或多个。
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelPOIAddRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelPOIAddRequest
|
|
4
|
+
|
|
5
|
+
ModelPOI.add 参数。
|
|
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
|
+
> **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
|
+
是否可见。
|