gs-bim-air 1.6.1-beta.81 → 1.6.1-beta.83

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  ## BIMAir 更新日志
2
2
 
3
+ ### 1.6.1-beta.83
4
+
5
+ > 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
6
+
7
+ - feat: 修复第三人称漫游检测射线可能会跟自身发生碰撞的问题
8
+ - fix: 修复 cutting 失效问题
9
+
10
+ ### 1.6.1-beta.82
11
+
12
+ - feat: 第三人称漫游添加镜头自动拉近功能;添加竖直方向倾角限制
13
+ - fix: 修复镜头拉得很远时,添加骨骼模型出错的问题——改成先拉近 camera,再添加骨骼模型;
14
+
15
+ ### 1.6.1-beta.81
16
+
17
+ - feat: 添加节点透明度设置面板
18
+
3
19
  ### 1.6.1-beta.80
4
20
 
5
21
  - feat: 导出 CommandShowFirstPersonRoam
@@ -12,7 +12,7 @@
12
12
 
13
13
  ### Properties
14
14
 
15
- - [lightModel](Animation.SkyboxEffect.md#lightmodel)
15
+ - [ro](Animation.SkyboxEffect.md#ro)
16
16
  - [skyboxEffectConfig](Animation.SkyboxEffect.md#skyboxeffectconfig)
17
17
 
18
18
  ### Methods
@@ -36,9 +36,9 @@
36
36
 
37
37
  ## Properties
38
38
 
39
- ### lightModel
39
+ ### ro
40
40
 
41
- • **lightModel**: `LightModel`
41
+ • **ro**: `RenderObject`
42
42
 
43
43
  ___
44
44
 
@@ -18,6 +18,7 @@
18
18
 
19
19
  ### Properties
20
20
 
21
+ - [cameraLeastNear](Longan.LonganCore.Viewer.md#cameraleastnear)
21
22
  - [canvas](Longan.LonganCore.Viewer.md#canvas)
22
23
  - [collisionComputed](Longan.LonganCore.Viewer.md#collisioncomputed)
23
24
  - [collisionComputing](Longan.LonganCore.Viewer.md#collisioncomputing)
@@ -127,6 +128,12 @@
127
128
 
128
129
  ## Properties
129
130
 
131
+ ### cameraLeastNear
132
+
133
+ • **cameraLeastNear**: `number` = `0.1`
134
+
135
+ ___
136
+
130
137
  ### canvas
131
138
 
132
139
  • **canvas**: `HTMLCanvasElement`
@@ -21,6 +21,7 @@
21
21
  ### Properties
22
22
 
23
23
  - [aysnTaskManager](Longan.Viewer.md#aysntaskmanager)
24
+ - [cameraLeastNear](Longan.Viewer.md#cameraleastnear)
24
25
  - [canvas](Longan.Viewer.md#canvas)
25
26
  - [collisionComputed](Longan.Viewer.md#collisioncomputed)
26
27
  - [collisionComputing](Longan.Viewer.md#collisioncomputing)
@@ -215,6 +216,16 @@
215
216
 
216
217
  ___
217
218
 
219
+ ### cameraLeastNear
220
+
221
+ • **cameraLeastNear**: `number` = `0.1`
222
+
223
+ #### Inherited from
224
+
225
+ [Viewer](Longan.LonganCore.Viewer.md).[cameraLeastNear](Longan.LonganCore.Viewer.md#cameraleastnear)
226
+
227
+ ___
228
+
218
229
  ### canvas
219
230
 
220
231
  • **canvas**: `HTMLCanvasElement`
@@ -19,6 +19,7 @@
19
19
  ### Properties
20
20
 
21
21
  - [aysnTaskManager](Viewer.md#aysntaskmanager)
22
+ - [cameraLeastNear](Viewer.md#cameraleastnear)
22
23
  - [canvas](Viewer.md#canvas)
23
24
  - [collisionComputed](Viewer.md#collisioncomputed)
24
25
  - [collisionComputing](Viewer.md#collisioncomputing)
@@ -252,6 +253,16 @@
252
253
 
253
254
  ___
254
255
 
256
+ ### cameraLeastNear
257
+
258
+ • **cameraLeastNear**: `number` = `0.1`
259
+
260
+ #### Inherited from
261
+
262
+ [Viewer](Longan.Viewer.md).[cameraLeastNear](Longan.Viewer.md#cameraleastnear)
263
+
264
+ ___
265
+
255
266
  ### canvas
256
267
 
257
268
  • **canvas**: `HTMLCanvasElement`
@@ -12,6 +12,7 @@
12
12
  - [elementId](ViewerOptions.md#elementid)
13
13
  - [events](ViewerOptions.md#events)
14
14
  - [fileService](ViewerOptions.md#fileservice)
15
+ - [isFreeze](ViewerOptions.md#isfreeze)
15
16
  - [isShowLoading](ViewerOptions.md#isshowloading)
16
17
  - [modelService](ViewerOptions.md#modelservice)
17
18
  - [renderingOptions](ViewerOptions.md#renderingoptions)
@@ -40,6 +41,11 @@ ___
40
41
 
41
42
  | Name | Type | Description |
42
43
  | :------ | :------ | :------ |
44
+ | `bottomToolbar?` | { `markup?`: { `color?`: `string` ; `visible?`: `boolean` ; `width?`: `number` } } | 底部工具栏配置 |
45
+ | `bottomToolbar.markup?` | { `color?`: `string` ; `visible?`: `boolean` ; `width?`: `number` } | - |
46
+ | `bottomToolbar.markup.color?` | `string` | - |
47
+ | `bottomToolbar.markup.visible?` | `boolean` | - |
48
+ | `bottomToolbar.markup.width?` | `number` | - |
43
49
  | `bottomToolbarButtons?` | { `active`: `boolean` ; `clickFun`: () => `void` ; `icon`: `string` ; `title`: `string` }[] | 底部工具栏配置 |
44
50
  | `compass?` | { `position?`: {} ; `visible?`: `boolean` } | 罗盘配置 |
45
51
  | `compass.position?` | {} | - |
@@ -118,6 +124,14 @@ ___
118
124
 
119
125
  ___
120
126
 
127
+ ### isFreeze
128
+
129
+ • `Optional` **isFreeze**: `boolean`
130
+
131
+ 是否禁用viewer的pointerEvent
132
+
133
+ ___
134
+
121
135
  ### isShowLoading
122
136
 
123
137
  • `Optional` **isShowLoading**: `boolean`
@@ -6,10 +6,28 @@
6
6
 
7
7
  ### Functions
8
8
 
9
+ - [hexToRgba](Utility.md#hextorgba)
9
10
  - [isPointInPolygonXy](Utility.md#ispointinpolygonxy)
11
+ - [rgbaToHex](Utility.md#rgbatohex)
10
12
 
11
13
  ## Functions
12
14
 
15
+ ### hexToRgba
16
+
17
+ ▸ **hexToRgba**(`hex`): `number`[]
18
+
19
+ #### Parameters
20
+
21
+ | Name | Type |
22
+ | :------ | :------ |
23
+ | `hex` | `string` |
24
+
25
+ #### Returns
26
+
27
+ `number`[]
28
+
29
+ ___
30
+
13
31
  ### isPointInPolygonXy
14
32
 
15
33
  ▸ **isPointInPolygonXy**(`point`, `polygon_points`): `boolean`
@@ -24,3 +42,19 @@
24
42
  #### Returns
25
43
 
26
44
  `boolean`
45
+
46
+ ___
47
+
48
+ ### rgbaToHex
49
+
50
+ ▸ **rgbaToHex**(`rgba`): `string`
51
+
52
+ #### Parameters
53
+
54
+ | Name | Type |
55
+ | :------ | :------ |
56
+ | `rgba` | `number`[] |
57
+
58
+ #### Returns
59
+
60
+ `string`