@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.
Files changed (163) hide show
  1. package/dist/browser/dtc-sdk-3.0.12.js +2 -0
  2. package/dist/cjs/index.cjs +4 -4
  3. package/dist/cjs/index.d.cts +373 -24
  4. package/dist/esm/index.d.ts +373 -24
  5. package/dist/esm/index.js +4 -4
  6. package/docs/api/api/classes/ApiRegistryError.md +2 -2
  7. package/docs/api/api/classes/Camera.md +3 -3
  8. package/docs/api/api/classes/GizmosTool.md +94 -0
  9. package/docs/api/api/classes/HeatMap.md +217 -0
  10. package/docs/api/api/classes/HighLighterEffect.md +6 -0
  11. package/docs/api/api/classes/Layer.md +103 -1
  12. package/docs/api/api/classes/Model.md +58 -0
  13. package/docs/api/api/classes/Navigation.md +618 -0
  14. package/docs/api/api/classes/PathPatrol.md +8 -4
  15. package/docs/api/api/classes/PointEditor.md +265 -0
  16. package/docs/api/api/classes/PointIcon.md +275 -0
  17. package/docs/api/api/classes/SpatialQuery.md +175 -0
  18. package/docs/api/api/classes/TimeLine.md +4 -0
  19. package/docs/api/api/classes/TrainSimulate.md +250 -0
  20. package/docs/api/api/classes/WeatherSystem.md +55 -6
  21. package/docs/api/api/classes/WebView.md +61 -0
  22. package/docs/api/api/index.md +11 -0
  23. package/docs/api/api/interfaces/ApiInstanceMap.md +52 -0
  24. package/docs/api/api/interfaces/ApiRegistryContext.md +21 -1
  25. package/docs/api/api/interfaces/PointIconIdsRequest.md +9 -0
  26. package/docs/api/api/interfaces/PointIconVisibilityResult.md +31 -0
  27. package/docs/api/api/type-aliases/ApiModuleFactory.md +1 -1
  28. package/docs/api/api/type-aliases/PointIconIdsInput.md +5 -0
  29. package/docs/api/application/DTCEngine/classes/DTCEngine.md +72 -0
  30. package/docs/api/application/DTCEngine/interfaces/DTCEngineOptions.md +2 -2
  31. package/docs/api/index.md +1 -1
  32. package/docs/api/typedoc-sidebar.json +260 -0
  33. package/docs/api/types/enumerations/FilterMode.md +21 -0
  34. package/docs/api/types/enumerations/GizmoType.md +37 -0
  35. package/docs/api/types/enumerations/TrainBehavior.md +29 -0
  36. package/docs/api/types/index.md +54 -0
  37. package/docs/api/types/interfaces/AnimationGetLengthRequest.md +1 -1
  38. package/docs/api/types/interfaces/AnimationPlayRequest.md +5 -5
  39. package/docs/api/types/interfaces/AnimationSetSpeedRequest.md +1 -1
  40. package/docs/api/types/interfaces/AnimationStartLoopRequest.md +4 -4
  41. package/docs/api/types/interfaces/AnimationStopLoopRequest.md +1 -1
  42. package/docs/api/types/interfaces/AnimationStopRequest.md +1 -1
  43. package/docs/api/types/interfaces/ApiRequestEnvelope.md +1 -1
  44. package/docs/api/types/interfaces/ApiResponseEnvelope.md +3 -3
  45. package/docs/api/types/interfaces/AuthSessionSnapshot.md +4 -4
  46. package/docs/api/types/interfaces/BuildingFloorCancelOptions.md +11 -0
  47. package/docs/api/types/interfaces/BuildingFloorItem.md +29 -0
  48. package/docs/api/types/interfaces/BuildingFloorOverview.md +21 -0
  49. package/docs/api/types/interfaces/BuildingFloorOverviewOptions.md +19 -0
  50. package/docs/api/types/interfaces/BuildingFloorRegistration.md +37 -0
  51. package/docs/api/types/interfaces/BuildingFloorRegistrationResult.md +11 -0
  52. package/docs/api/types/interfaces/BuildingFloorState.md +35 -0
  53. package/docs/api/types/interfaces/BuildingFloorStateOptions.md +11 -0
  54. package/docs/api/types/interfaces/BuildingFloorSwitchOptions.md +25 -0
  55. package/docs/api/types/interfaces/BuildingFloorTransitionResult.md +43 -0
  56. package/docs/api/types/interfaces/BuildingFloorViewPoint.md +37 -0
  57. package/docs/api/types/interfaces/CameraFlyByPathRequest.md +4 -4
  58. package/docs/api/types/interfaces/CameraFlyToTargetRequest.md +11 -3
  59. package/docs/api/types/interfaces/CameraLookAtRequest.md +7 -7
  60. package/docs/api/types/interfaces/CameraObjFollowRequest.md +3 -3
  61. package/docs/api/types/interfaces/CenterConnectResult.md +4 -4
  62. package/docs/api/types/interfaces/CenterEnvelope.md +4 -4
  63. package/docs/api/types/interfaces/CenterServiceInfo.md +5 -5
  64. package/docs/api/types/interfaces/CenterTokenAuthorizeResult.md +1 -1
  65. package/docs/api/types/interfaces/DlssSetEnableRequest.md +2 -2
  66. package/docs/api/types/interfaces/DlssSetQualityRequest.md +1 -1
  67. package/docs/api/types/interfaces/EngineConfig.md +34 -18
  68. package/docs/api/types/interfaces/GizmosStartSimpleRequest.md +21 -0
  69. package/docs/api/types/interfaces/HeatMapConfigRequest.md +53 -0
  70. package/docs/api/types/interfaces/HeatMapCreateRequest.md +85 -0
  71. package/docs/api/types/interfaces/HeatMapPointRequest.md +21 -0
  72. package/docs/api/types/interfaces/HeatMapRemoveRequest.md +21 -0
  73. package/docs/api/types/interfaces/HighLighterRemoveHighLightModelRequest.md +1 -1
  74. package/docs/api/types/interfaces/HighLighterSetHighLightModelRequest.md +1 -1
  75. package/docs/api/types/interfaces/LayerAddRequest.md +14 -6
  76. package/docs/api/types/interfaces/LayerChildElementRequest.md +1 -1
  77. package/docs/api/types/interfaces/LayerModelAddRequest.md +19 -7
  78. package/docs/api/types/interfaces/LayerPOIAddRequest.md +22 -14
  79. package/docs/api/types/interfaces/LayerResetPOINameRequest.md +21 -0
  80. package/docs/api/types/interfaces/LayerSelectorRequest.md +1 -1
  81. package/docs/api/types/interfaces/LayerShowUIPopRequest.md +5 -5
  82. package/docs/api/types/interfaces/LayerUpdatePOINameRequest.md +37 -0
  83. package/docs/api/types/interfaces/ModelAddRequest.md +5 -5
  84. package/docs/api/types/interfaces/ModelPOIAddRequest.md +3 -3
  85. package/docs/api/types/interfaces/ModelPOIUpdateRequest.md +4 -4
  86. package/docs/api/types/interfaces/ModelSelectorRequest.md +1 -1
  87. package/docs/api/types/interfaces/ModelSetVisibleByAttributeRequest.md +37 -0
  88. package/docs/api/types/interfaces/ModelSetVisibleByTagsRequest.md +1 -1
  89. package/docs/api/types/interfaces/ModelSetVisibleRequest.md +2 -2
  90. package/docs/api/types/interfaces/ModelTransformNodeRequest.md +1 -1
  91. package/docs/api/types/interfaces/ModelTransformRestoreRequest.md +1 -1
  92. package/docs/api/types/interfaces/ModelTransformRotateByTargetRequest.md +7 -7
  93. package/docs/api/types/interfaces/ModelTransformRotateRequest.md +1 -1
  94. package/docs/api/types/interfaces/ModelTransformScaleRequest.md +2 -2
  95. package/docs/api/types/interfaces/ModelTransformStartMoveRequest.md +5 -5
  96. package/docs/api/types/interfaces/NavigationMeshNavRequest.md +121 -0
  97. package/docs/api/types/interfaces/NavigationNavByPathRequest.md +61 -0
  98. package/docs/api/types/interfaces/NavigationNodeRequest.md +21 -0
  99. package/docs/api/types/interfaces/NavigationUpdateMeshNavRequest.md +45 -0
  100. package/docs/api/types/interfaces/NavigationUpdateNavPathRequest.md +45 -0
  101. package/docs/api/types/interfaces/NavigationUpdateSpeedRequest.md +27 -0
  102. package/docs/api/types/interfaces/NetworkAdaptationActionStep.md +1 -1
  103. package/docs/api/types/interfaces/NetworkAdaptationState.md +1 -1
  104. package/docs/api/types/interfaces/NetworkDecisionTrace.md +2 -2
  105. package/docs/api/types/interfaces/NetworkDiagnosticsSnapshot.md +2 -2
  106. package/docs/api/types/interfaces/NetworkMetricsSnapshot.md +7 -7
  107. package/docs/api/types/interfaces/PathPatrolAddRequest.md +18 -10
  108. package/docs/api/types/interfaces/PathPatrolNodeRequest.md +1 -1
  109. package/docs/api/types/interfaces/PathPatrolSetTimeNodeRequest.md +3 -3
  110. package/docs/api/types/interfaces/PathPatrolUpdateRequest.md +5 -5
  111. package/docs/api/types/interfaces/PointEditorAddRequest.md +149 -0
  112. package/docs/api/types/interfaces/PointEditorCategory.md +29 -0
  113. package/docs/api/types/interfaces/PointEditorClientPosition.md +21 -0
  114. package/docs/api/types/interfaces/PointEditorDeleteRequest.md +21 -0
  115. package/docs/api/types/interfaces/PointEditorDeleteResult.md +21 -0
  116. package/docs/api/types/interfaces/PointEditorResource.md +37 -0
  117. package/docs/api/types/interfaces/PointEditorScreenPosition.md +21 -0
  118. package/docs/api/types/interfaces/PointEditorVector.md +29 -0
  119. package/docs/api/types/interfaces/PopupAddRequest.md +2 -2
  120. package/docs/api/types/interfaces/PopupItemRequest.md +5 -5
  121. package/docs/api/types/interfaces/PopupRemoveRequest.md +2 -2
  122. package/docs/api/types/interfaces/PopupShowRequest.md +3 -3
  123. package/docs/api/types/interfaces/PopupSyncInfoRequest.md +2 -2
  124. package/docs/api/types/interfaces/QosEvent.md +5 -5
  125. package/docs/api/types/interfaces/QosRuntimeContext.md +4 -4
  126. package/docs/api/types/interfaces/ResolvedEngineConfig.md +17 -5
  127. package/docs/api/types/interfaces/ScreenSetSceneFPSRequest.md +1 -1
  128. package/docs/api/types/interfaces/ScreenSetSceneRenderBitrateRequest.md +1 -1
  129. package/docs/api/types/interfaces/ScreenSetScreenResolutionRequest.md +2 -2
  130. package/docs/api/types/interfaces/SignallingAllocateResponse.md +4 -4
  131. package/docs/api/types/interfaces/SpatialQueryLayerByModelBoxRequest.md +29 -0
  132. package/docs/api/types/interfaces/SpatialQueryLayerByModelRequest.md +53 -0
  133. package/docs/api/types/interfaces/SpatialQueryLayerByPositionRequest.md +45 -0
  134. package/docs/api/types/interfaces/StandardResponse.md +1 -1
  135. package/docs/api/types/interfaces/TimelineNodeRequest.md +2 -2
  136. package/docs/api/types/interfaces/TimelinePlayRequest.md +6 -6
  137. package/docs/api/types/interfaces/TimelineSetSpeedRequest.md +3 -3
  138. package/docs/api/types/interfaces/TimelineStopRequest.md +5 -5
  139. package/docs/api/types/interfaces/TrainSimulateSetCameraFollowTrainRequest.md +29 -0
  140. package/docs/api/types/interfaces/TrainSimulateSetTrainBehaviorRequest.md +29 -0
  141. package/docs/api/types/interfaces/TrainSimulateSetTrainVolumeRequest.md +29 -0
  142. package/docs/api/types/interfaces/TrainSimulateStartTrainRequest.md +77 -0
  143. package/docs/api/types/interfaces/UIPOIEnableOverlapRequest.md +1 -1
  144. package/docs/api/types/interfaces/Vector2JsonInput.md +15 -0
  145. package/docs/api/types/interfaces/WeatherChangeSeasonRequest.md +1 -1
  146. package/docs/api/types/interfaces/WeatherOpenCameraFogRequest.md +8 -8
  147. package/docs/api/types/interfaces/WeatherSetAnimateTimeOfDayRequest.md +3 -3
  148. package/docs/api/types/interfaces/WeatherSetSceneTimeRequest.md +1 -1
  149. package/docs/api/types/interfaces/WeatherSetTimeSyncRequest.md +1 -1
  150. package/docs/api/types/interfaces/WeatherSetVolumeRequest.md +13 -0
  151. package/docs/api/types/interfaces/WeatherTypeRequest.md +2 -8
  152. package/docs/api/types/interfaces/WebViewUpdateRequest.md +29 -0
  153. package/docs/api/types/type-aliases/ApiCallback.md +1 -1
  154. package/docs/api/types/type-aliases/BuildingFloorFocusMode.md +5 -0
  155. package/docs/api/types/type-aliases/BuildingFloorInput.md +7 -0
  156. package/docs/api/types/type-aliases/BuildingFloorRuntimeStatus.md +5 -0
  157. package/docs/api/types/type-aliases/BuildingFloorTransitionStatus.md +5 -0
  158. package/docs/api/types/type-aliases/PointEditorCreateCallback.md +7 -0
  159. package/docs/api/types/type-aliases/PointEditorPoint.md +7 -0
  160. package/docs/api/types/type-aliases/PointEditorUpdateRequest.md +15 -0
  161. package/docs/api/types/type-aliases/Vector2Input.md +5 -0
  162. package/package.json +1 -1
  163. 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**: `string`
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: `string`
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**: `boolean`
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**: `string`[]
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**: `string`
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: `string`
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**: `string`
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: `string`
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**: `boolean`
91
+ > `optional` **isSystem?**: `boolean`
92
92
 
93
93
  模型是否为系统模型。true--断开连接不删除,false--断开连接删除。如果图层为非系统的,也会删除
94
94
 
95
95
  ***
96
96
 
97
- ### text?
97
+ ### name?
98
98
 
99
- > `optional` **text**: `string`
99
+ > `optional` **name?**: `string`
100
100
 
101
- poi的文本
101
+ poi的名称
102
102
 
103
103
  ***
104
104
 
105
105
  ### fontSize?
106
106
 
107
- > `optional` **fontSize**: `number`
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**: `string`[]
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 对象编号集合,至少一个。
@@ -8,7 +8,7 @@ Layer.removeLayer / Layer.isLayerOrGroupExit 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父图层或分组 ID。仅传 parentId 时兼容作为 id 使用。
14
14
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ### parentId?
8
8
 
9
- > `optional` **parentId**: `string`
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**: `string`
25
+ > `optional` **assetsPath?**: `string`
26
26
 
27
27
  资源路径。
28
28
 
@@ -30,7 +30,7 @@
30
30
 
31
31
  ### offSet?
32
32
 
33
- > `optional` **offSet**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: `boolean`
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**: [`Vector3Input`](../type-aliases/Vector3Input.md)
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**: `string`
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**: `Vector3`
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**: `Vector3`
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**: `Vector3`
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**: `string`
59
+ > `optional` **description?**: `string`
60
60
 
61
61
  备注描述。
@@ -32,7 +32,7 @@ ModelPOI.add 参数。
32
32
 
33
33
  ### targetParentId?
34
34
 
35
- > `optional` **targetParentId**: `string`
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**: `string`
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**: `boolean`
51
+ > `optional` **visible?**: `boolean`
52
52
 
53
53
  是否可见。
@@ -24,7 +24,7 @@ ModelPOI.update 参数。
24
24
 
25
25
  ### assetPath?
26
26
 
27
- > `optional` **assetPath**: `string`
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**: `string`
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**: `string`
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**: `boolean`
51
+ > `optional` **visible?**: `boolean`
52
52
 
53
53
  是否可见。
@@ -8,7 +8,7 @@
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID。
14
14
 
@@ -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。
@@ -16,6 +16,6 @@ Model.setVisible 参数。
16
16
 
17
17
  ### visible?
18
18
 
19
- > `optional` **visible**: `boolean`
19
+ > `optional` **visible?**: `boolean`
20
20
 
21
21
  是否可见。
@@ -8,7 +8,7 @@ Model.setVisible 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
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**: `boolean`
27
+ > `optional` **visible?**: `boolean`
28
28
 
29
29
  是否可见。
@@ -8,7 +8,7 @@ ModelTransform.pauseMove / resumeMove / endMove / endRotate / endScale 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID,可以为空。
14
14
 
@@ -8,7 +8,7 @@ ModelTransform.restoreMove / restoreRotate / restoreScale 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID,可以为空。
14
14
 
@@ -8,7 +8,7 @@ ModelTransform.rotateByTarget 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
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**: `string`
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**: `number`
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**: `number`
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**: `number`
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**: `number`
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**: `boolean`
83
+ > `optional` **isPersistence?**: `boolean`
84
84
 
85
85
  是否持续旋转。默认 `false`。
@@ -8,7 +8,7 @@ ModelTransform.rotate / continuedRotate 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
11
+ > `optional` **parentId?**: `string`
12
12
 
13
13
  父节点 ID,可以为空。
14
14
 
@@ -8,7 +8,7 @@ ModelTransform.setScale 参数。
8
8
 
9
9
  ### parentId?
10
10
 
11
- > `optional` **parentId**: `string`
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**: `number`
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**: `string`
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**: `number`
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**: `number`
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**: `boolean`
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**: `boolean`
59
+ > `optional` **needDirection?**: `boolean`
60
60
 
61
61
  是否需要朝移动方向转向。默认 `true`。