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

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,14 @@
1
1
  ## BIMAir 更新日志
2
2
 
3
+ ### 1.6.1-beta.82
4
+
5
+ - feat: 第三人称漫游添加镜头自动拉近功能;添加竖直方向倾角限制
6
+ - fix: 修复镜头拉得很远时,添加骨骼模型出错的问题——改成先拉近 camera,再添加骨骼模型;
7
+
8
+ ### 1.6.1-beta.81
9
+
10
+ - feat: 添加节点透明度设置面板
11
+
3
12
  ### 1.6.1-beta.80
4
13
 
5
14
  - 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
 
@@ -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`