@nnepoch/dtc-sdk 3.0.10 → 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 +373 -24
- package/dist/esm/index.d.ts +373 -24
- 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.10.js +0 -2
|
@@ -24,7 +24,7 @@ Layer.addModel 参数。
|
|
|
24
24
|
|
|
25
25
|
### assetsPath?
|
|
26
26
|
|
|
27
|
-
> `optional` **assetsPath
|
|
27
|
+
> `optional` **assetsPath?**: `string`
|
|
28
28
|
|
|
29
29
|
资源路径。
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Layer.addModel 参数。
|
|
|
32
32
|
|
|
33
33
|
### position?
|
|
34
34
|
|
|
35
|
-
> `optional` **position
|
|
35
|
+
> `optional` **position?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
36
|
|
|
37
37
|
位置。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Layer.addModel 参数。
|
|
|
40
40
|
|
|
41
41
|
### rotation?
|
|
42
42
|
|
|
43
|
-
> `optional` **rotation
|
|
43
|
+
> `optional` **rotation?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
44
44
|
|
|
45
45
|
旋转角。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Layer.addModel 参数。
|
|
|
48
48
|
|
|
49
49
|
### scale?
|
|
50
50
|
|
|
51
|
-
> `optional` **scale
|
|
51
|
+
> `optional` **scale?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
52
52
|
|
|
53
53
|
缩放。
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Layer.addModel 参数。
|
|
|
56
56
|
|
|
57
57
|
### description?
|
|
58
58
|
|
|
59
|
-
> `optional` **description
|
|
59
|
+
> `optional` **description?**: `string`
|
|
60
60
|
|
|
61
61
|
备注描述。
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Layer.addModel 参数。
|
|
|
64
64
|
|
|
65
65
|
### isSystem?
|
|
66
66
|
|
|
67
|
-
> `optional` **isSystem
|
|
67
|
+
> `optional` **isSystem?**: `boolean`
|
|
68
68
|
|
|
69
69
|
模型是否为系统模型。true--断开连接不删除,false--断开连接删除。如果图层为非系统的,也会删除
|
|
70
70
|
|
|
@@ -72,4 +72,16 @@ Layer.addModel 参数。
|
|
|
72
72
|
|
|
73
73
|
### tags?
|
|
74
74
|
|
|
75
|
-
> `optional` **tags
|
|
75
|
+
> `optional` **tags?**: `string`[]
|
|
76
|
+
|
|
77
|
+
***
|
|
78
|
+
|
|
79
|
+
### name?
|
|
80
|
+
|
|
81
|
+
> `optional` **name?**: `string`
|
|
82
|
+
|
|
83
|
+
***
|
|
84
|
+
|
|
85
|
+
### extraProps?
|
|
86
|
+
|
|
87
|
+
> `optional` **extraProps?**: `any`
|
|
@@ -8,7 +8,7 @@ Layer.addModel 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
模型所属图层组 ID。
|
|
14
14
|
|
|
@@ -32,7 +32,7 @@ Layer.addModel 参数。
|
|
|
32
32
|
|
|
33
33
|
### position?
|
|
34
34
|
|
|
35
|
-
> `optional` **position
|
|
35
|
+
> `optional` **position?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
36
36
|
|
|
37
37
|
位置。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Layer.addModel 参数。
|
|
|
40
40
|
|
|
41
41
|
### targetParentId?
|
|
42
42
|
|
|
43
|
-
> `optional` **targetParentId
|
|
43
|
+
> `optional` **targetParentId?**: `string`
|
|
44
44
|
|
|
45
45
|
场景中参照绑定的位置的对象上级编号,防止重名,可不填写,但要保证 targetId是唯一的
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Layer.addModel 参数。
|
|
|
48
48
|
|
|
49
49
|
### targetId?
|
|
50
50
|
|
|
51
|
-
> `optional` **targetId
|
|
51
|
+
> `optional` **targetId?**: `string`
|
|
52
52
|
|
|
53
53
|
场景中参照绑定的位置的对象编号,与position功能一样,只需要存在一个
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Layer.addModel 参数。
|
|
|
56
56
|
|
|
57
57
|
### rotation?
|
|
58
58
|
|
|
59
|
-
> `optional` **rotation
|
|
59
|
+
> `optional` **rotation?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
60
60
|
|
|
61
61
|
旋转角。
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Layer.addModel 参数。
|
|
|
64
64
|
|
|
65
65
|
### scale?
|
|
66
66
|
|
|
67
|
-
> `optional` **scale
|
|
67
|
+
> `optional` **scale?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
68
68
|
|
|
69
69
|
缩放。
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ Layer.addModel 参数。
|
|
|
72
72
|
|
|
73
73
|
### offSet?
|
|
74
74
|
|
|
75
|
-
> `optional` **offSet
|
|
75
|
+
> `optional` **offSet?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
76
76
|
|
|
77
77
|
poi的偏移量
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ poi的偏移量
|
|
|
80
80
|
|
|
81
81
|
### description?
|
|
82
82
|
|
|
83
|
-
> `optional` **description
|
|
83
|
+
> `optional` **description?**: `string`
|
|
84
84
|
|
|
85
85
|
备注描述。
|
|
86
86
|
|
|
@@ -88,23 +88,23 @@ poi的偏移量
|
|
|
88
88
|
|
|
89
89
|
### isSystem?
|
|
90
90
|
|
|
91
|
-
> `optional` **isSystem
|
|
91
|
+
> `optional` **isSystem?**: `boolean`
|
|
92
92
|
|
|
93
93
|
模型是否为系统模型。true--断开连接不删除,false--断开连接删除。如果图层为非系统的,也会删除
|
|
94
94
|
|
|
95
95
|
***
|
|
96
96
|
|
|
97
|
-
###
|
|
97
|
+
### name?
|
|
98
98
|
|
|
99
|
-
> `optional` **
|
|
99
|
+
> `optional` **name?**: `string`
|
|
100
100
|
|
|
101
|
-
poi
|
|
101
|
+
poi的名称
|
|
102
102
|
|
|
103
103
|
***
|
|
104
104
|
|
|
105
105
|
### fontSize?
|
|
106
106
|
|
|
107
|
-
> `optional` **fontSize
|
|
107
|
+
> `optional` **fontSize?**: `number`
|
|
108
108
|
|
|
109
109
|
poi的字体大小,默认为 16
|
|
110
110
|
|
|
@@ -112,6 +112,14 @@ poi的字体大小,默认为 16
|
|
|
112
112
|
|
|
113
113
|
### tags?
|
|
114
114
|
|
|
115
|
-
> `optional` **tags
|
|
115
|
+
> `optional` **tags?**: `string`[]
|
|
116
116
|
|
|
117
117
|
模型的标签
|
|
118
|
+
|
|
119
|
+
***
|
|
120
|
+
|
|
121
|
+
### extraProps?
|
|
122
|
+
|
|
123
|
+
> `optional` **extraProps?**: `any`
|
|
124
|
+
|
|
125
|
+
扩展属性,json对象,可不填写
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerResetPOINameRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerResetPOINameRequest
|
|
4
|
+
|
|
5
|
+
Layer.resetPOIName 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parentId?
|
|
10
|
+
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
|
+
|
|
13
|
+
场景中参照绑定的位置的对象上级编号,可不填,但要保证 ids 唯一。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### ids
|
|
18
|
+
|
|
19
|
+
> **ids**: `string`[]
|
|
20
|
+
|
|
21
|
+
POI 对象编号集合,至少一个。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
### parentId?
|
|
8
8
|
|
|
9
|
-
> `optional` **parentId
|
|
9
|
+
> `optional` **parentId?**: `string`
|
|
10
10
|
|
|
11
11
|
模型所属图层组 ID。
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
### assetsPath?
|
|
24
24
|
|
|
25
|
-
> `optional` **assetsPath
|
|
25
|
+
> `optional` **assetsPath?**: `string`
|
|
26
26
|
|
|
27
27
|
资源路径。
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
### offSet?
|
|
32
32
|
|
|
33
|
-
> `optional` **offSet
|
|
33
|
+
> `optional` **offSet?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
34
34
|
|
|
35
35
|
poi的偏移量
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ poi的偏移量
|
|
|
38
38
|
|
|
39
39
|
### visible?
|
|
40
40
|
|
|
41
|
-
> `optional` **visible
|
|
41
|
+
> `optional` **visible?**: `boolean`
|
|
42
42
|
|
|
43
43
|
是否可见
|
|
44
44
|
|
|
@@ -46,6 +46,6 @@ poi的偏移量
|
|
|
46
46
|
|
|
47
47
|
### scale?
|
|
48
48
|
|
|
49
|
-
> `optional` **scale
|
|
49
|
+
> `optional` **scale?**: [`Vector3Input`](../type-aliases/Vector3Input.md)
|
|
50
50
|
|
|
51
51
|
缩放。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / LayerUpdatePOINameRequest
|
|
2
|
+
|
|
3
|
+
# Interface: LayerUpdatePOINameRequest
|
|
4
|
+
|
|
5
|
+
Layer.updatePOIName 参数。
|
|
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
|
+
POI 对象编号,必填。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### name
|
|
26
|
+
|
|
27
|
+
> **name**: `string`
|
|
28
|
+
|
|
29
|
+
POI 显示文本。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### updateType?
|
|
34
|
+
|
|
35
|
+
> `optional` **updateType?**: `string`
|
|
36
|
+
|
|
37
|
+
文本更新方式:update 更新、append 追加、remove 移除。默认 update。
|
|
@@ -24,7 +24,7 @@ Model.add 参数。
|
|
|
24
24
|
|
|
25
25
|
### assetsPath?
|
|
26
26
|
|
|
27
|
-
> `optional` **assetsPath
|
|
27
|
+
> `optional` **assetsPath?**: `string`
|
|
28
28
|
|
|
29
29
|
资源路径。
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Model.add 参数。
|
|
|
32
32
|
|
|
33
33
|
### position?
|
|
34
34
|
|
|
35
|
-
> `optional` **position
|
|
35
|
+
> `optional` **position?**: `Vector3`
|
|
36
36
|
|
|
37
37
|
位置。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Model.add 参数。
|
|
|
40
40
|
|
|
41
41
|
### angle?
|
|
42
42
|
|
|
43
|
-
> `optional` **angle
|
|
43
|
+
> `optional` **angle?**: `Vector3`
|
|
44
44
|
|
|
45
45
|
旋转角。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Model.add 参数。
|
|
|
48
48
|
|
|
49
49
|
### scale?
|
|
50
50
|
|
|
51
|
-
> `optional` **scale
|
|
51
|
+
> `optional` **scale?**: `Vector3`
|
|
52
52
|
|
|
53
53
|
缩放。
|
|
54
54
|
|
|
@@ -56,6 +56,6 @@ Model.add 参数。
|
|
|
56
56
|
|
|
57
57
|
### description?
|
|
58
58
|
|
|
59
|
-
> `optional` **description
|
|
59
|
+
> `optional` **description?**: `string`
|
|
60
60
|
|
|
61
61
|
备注描述。
|
|
@@ -32,7 +32,7 @@ ModelPOI.add 参数。
|
|
|
32
32
|
|
|
33
33
|
### targetParentId?
|
|
34
34
|
|
|
35
|
-
> `optional` **targetParentId
|
|
35
|
+
> `optional` **targetParentId?**: `string`
|
|
36
36
|
|
|
37
37
|
目标父节点 ID。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ ModelPOI.add 参数。
|
|
|
40
40
|
|
|
41
41
|
### targetId?
|
|
42
42
|
|
|
43
|
-
> `optional` **targetId
|
|
43
|
+
> `optional` **targetId?**: `string`
|
|
44
44
|
|
|
45
45
|
目标对象 ID。
|
|
46
46
|
|
|
@@ -48,6 +48,6 @@ ModelPOI.add 参数。
|
|
|
48
48
|
|
|
49
49
|
### visible?
|
|
50
50
|
|
|
51
|
-
> `optional` **visible
|
|
51
|
+
> `optional` **visible?**: `boolean`
|
|
52
52
|
|
|
53
53
|
是否可见。
|
|
@@ -24,7 +24,7 @@ ModelPOI.update 参数。
|
|
|
24
24
|
|
|
25
25
|
### assetPath?
|
|
26
26
|
|
|
27
|
-
> `optional` **assetPath
|
|
27
|
+
> `optional` **assetPath?**: `string`
|
|
28
28
|
|
|
29
29
|
资源路径。
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ ModelPOI.update 参数。
|
|
|
32
32
|
|
|
33
33
|
### targetParentId?
|
|
34
34
|
|
|
35
|
-
> `optional` **targetParentId
|
|
35
|
+
> `optional` **targetParentId?**: `string`
|
|
36
36
|
|
|
37
37
|
目标父节点 ID。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ ModelPOI.update 参数。
|
|
|
40
40
|
|
|
41
41
|
### targetId?
|
|
42
42
|
|
|
43
|
-
> `optional` **targetId
|
|
43
|
+
> `optional` **targetId?**: `string`
|
|
44
44
|
|
|
45
45
|
目标对象 ID。
|
|
46
46
|
|
|
@@ -48,6 +48,6 @@ ModelPOI.update 参数。
|
|
|
48
48
|
|
|
49
49
|
### visible?
|
|
50
50
|
|
|
51
|
-
> `optional` **visible
|
|
51
|
+
> `optional` **visible?**: `boolean`
|
|
52
52
|
|
|
53
53
|
是否可见。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[@nnepoch/dtc-sdk](../../index.md) / [types](../index.md) / ModelSetVisibleByAttributeRequest
|
|
2
|
+
|
|
3
|
+
# Interface: ModelSetVisibleByAttributeRequest
|
|
4
|
+
|
|
5
|
+
Model.setVisibleByAttibute 参数。
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### attributes
|
|
10
|
+
|
|
11
|
+
> **attributes**: `Record`\<`string`, `unknown`\>
|
|
12
|
+
|
|
13
|
+
属性对象,key 为属性名称,value 为属性值。
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### filterMode?
|
|
18
|
+
|
|
19
|
+
> `optional` **filterMode?**: [`FilterMode`](../enumerations/FilterMode.md)
|
|
20
|
+
|
|
21
|
+
过滤模式,默认 FilterMode.Loose。
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### visible?
|
|
26
|
+
|
|
27
|
+
> `optional` **visible?**: `boolean`
|
|
28
|
+
|
|
29
|
+
符合条件对象的显示/隐藏:true 显示,false 隐藏,默认 true。
|
|
30
|
+
|
|
31
|
+
***
|
|
32
|
+
|
|
33
|
+
### otherVisible?
|
|
34
|
+
|
|
35
|
+
> `optional` **otherVisible?**: `boolean`
|
|
36
|
+
|
|
37
|
+
仅在 filterMode=FilterMode.Strict 时生效:控制其它包含相同属性名但属性值不同的对象的显示/隐藏,默认 false。
|
|
@@ -8,7 +8,7 @@ Model.setVisible 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
父节点 ID。
|
|
14
14
|
|
|
@@ -24,6 +24,6 @@ Model.setVisible 参数。
|
|
|
24
24
|
|
|
25
25
|
### visible?
|
|
26
26
|
|
|
27
|
-
> `optional` **visible
|
|
27
|
+
> `optional` **visible?**: `boolean`
|
|
28
28
|
|
|
29
29
|
是否可见。
|
|
@@ -8,7 +8,7 @@ ModelTransform.rotateByTarget 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
父节点 ID,可以为空。
|
|
14
14
|
|
|
@@ -24,7 +24,7 @@ ModelTransform.rotateByTarget 参数。
|
|
|
24
24
|
|
|
25
25
|
### parentTargetId?
|
|
26
26
|
|
|
27
|
-
> `optional` **parentTargetId
|
|
27
|
+
> `optional` **parentTargetId?**: `string`
|
|
28
28
|
|
|
29
29
|
场景中参照位置的父级对象编号。
|
|
30
30
|
|
|
@@ -48,7 +48,7 @@ ModelTransform.rotateByTarget 参数。
|
|
|
48
48
|
|
|
49
49
|
### axisX?
|
|
50
50
|
|
|
51
|
-
> `optional` **axisX
|
|
51
|
+
> `optional` **axisX?**: `number`
|
|
52
52
|
|
|
53
53
|
为正数则绕 x 轴旋转。默认 `0`。
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ ModelTransform.rotateByTarget 参数。
|
|
|
56
56
|
|
|
57
57
|
### axisY?
|
|
58
58
|
|
|
59
|
-
> `optional` **axisY
|
|
59
|
+
> `optional` **axisY?**: `number`
|
|
60
60
|
|
|
61
61
|
为正数则绕 y 轴旋转。默认 `0`。
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ ModelTransform.rotateByTarget 参数。
|
|
|
64
64
|
|
|
65
65
|
### axisZ?
|
|
66
66
|
|
|
67
|
-
> `optional` **axisZ
|
|
67
|
+
> `optional` **axisZ?**: `number`
|
|
68
68
|
|
|
69
69
|
为正数则绕 z 轴旋转。默认 `0`。
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ ModelTransform.rotateByTarget 参数。
|
|
|
72
72
|
|
|
73
73
|
### angle?
|
|
74
74
|
|
|
75
|
-
> `optional` **angle
|
|
75
|
+
> `optional` **angle?**: `number`
|
|
76
76
|
|
|
77
77
|
旋转度数。默认 `0`。
|
|
78
78
|
|
|
@@ -80,6 +80,6 @@ ModelTransform.rotateByTarget 参数。
|
|
|
80
80
|
|
|
81
81
|
### isPersistence?
|
|
82
82
|
|
|
83
|
-
> `optional` **isPersistence
|
|
83
|
+
> `optional` **isPersistence?**: `boolean`
|
|
84
84
|
|
|
85
85
|
是否持续旋转。默认 `false`。
|
|
@@ -8,7 +8,7 @@ ModelTransform.setScale 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
父节点 ID,可以为空。
|
|
14
14
|
|
|
@@ -32,6 +32,6 @@ ModelTransform.setScale 参数。
|
|
|
32
32
|
|
|
33
33
|
### duration?
|
|
34
34
|
|
|
35
|
-
> `optional` **duration
|
|
35
|
+
> `optional` **duration?**: `number`
|
|
36
36
|
|
|
37
37
|
缩放时长(秒)。默认 `0.5`。
|
|
@@ -8,7 +8,7 @@ ModelTransform.startMoveByNodes 参数。
|
|
|
8
8
|
|
|
9
9
|
### parentId?
|
|
10
10
|
|
|
11
|
-
> `optional` **parentId
|
|
11
|
+
> `optional` **parentId?**: `string`
|
|
12
12
|
|
|
13
13
|
父节点 ID,可以为空。
|
|
14
14
|
|
|
@@ -32,7 +32,7 @@ ModelTransform.startMoveByNodes 参数。
|
|
|
32
32
|
|
|
33
33
|
### speed?
|
|
34
34
|
|
|
35
|
-
> `optional` **speed
|
|
35
|
+
> `optional` **speed?**: `number`
|
|
36
36
|
|
|
37
37
|
移动速度。默认 `1`。
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ ModelTransform.startMoveByNodes 参数。
|
|
|
40
40
|
|
|
41
41
|
### linear?
|
|
42
42
|
|
|
43
|
-
> `optional` **linear
|
|
43
|
+
> `optional` **linear?**: `number`
|
|
44
44
|
|
|
45
45
|
移动方式,参见 `ModelTransformType` 枚举,默认 -1(引擎默认)。
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ ModelTransform.startMoveByNodes 参数。
|
|
|
48
48
|
|
|
49
49
|
### isLookAtTarget?
|
|
50
50
|
|
|
51
|
-
> `optional` **isLookAtTarget
|
|
51
|
+
> `optional` **isLookAtTarget?**: `boolean`
|
|
52
52
|
|
|
53
53
|
是否看向移动的目标点。默认 `true`。
|
|
54
54
|
|
|
@@ -56,6 +56,6 @@ ModelTransform.startMoveByNodes 参数。
|
|
|
56
56
|
|
|
57
57
|
### needDirection?
|
|
58
58
|
|
|
59
|
-
> `optional` **needDirection
|
|
59
|
+
> `optional` **needDirection?**: `boolean`
|
|
60
60
|
|
|
61
61
|
是否需要朝移动方向转向。默认 `true`。
|