## 圖標
```
{
'icon': {
'in_use': false,
'visible': true,
'image': {
'type': 'info',
'path': '',
},
'style': {
'type': 'glint', //normal,glint
'width': 40,
'height': 40,
'opacity': 1,
'margin_top': '0',
},
'position' : {
'x': 0, 'y': 0, 'z': 0,
},
},
}
```
| 參數 | 說明 | 格式 | 備注 |
| --- | --- | --- | --- | --- |
| icon.in_use | 是否使用圖標功能 | Boolean | |
| icon.visible | 是否可見 | Boolean | |
| icon.image.type | 圖標類型,可以選用若干預設的圖標 | String | 可以設為這幾種:`info,question,warning`<br />如果設為 '',則需要定義同級參數 path |
| icon.image.path | 自定義圖標路徑 | String | |
| icon.style.type | 圖標展示方式 | String | `'normal'`普通<br /> `'glint'`閃爍 |
| icon.style.width | 圖標的寬度 | Number | 0 ~ Infinity |
| icon.style.height | 圖標的高度 | Number | 0 ~ Infinity |
| icon.style.opacity | 圖標的透明度 | Number | 0 ~ 1 |
| icon.style.margin_top | 圖標的頂邊距 | String | 用style樣式標準 |
| icon.position | 圖標的位置 | Object | xyz坐標 |
- 序言
- 基礎
- 如何使用
- 目錄結構
- 配置數據
- 結構
- global
- style_lib
- default
- emphasis
- status
- environ
- camera
- ground
- light
- ambient_light
- directional_light
- point_light
- 物體數據
- 結構
- 通用參數
- id
- name
- style
- advgeom
- visible
- status
- param
- property
- scale
- align
- position
- rotation
- label
- infobox
- icon
- linkline
- float
- intersect
- animate
- rotate
- shuttle
- pipeline
- flow
- route
- 多個動畫
- 基礎物體
- 平面 Plane
- 圓平面 Circle
- 環平面 Ring
- 立方體 Cube
- 球體 Sphere
- 圓柱體 Cylinder
- 圓環體 Torus
- 管道 Tube
- 曲面 Spline
- 墻 Wall
- 拔高體 Raise
- 正四面體 Tetrahedron
- 正八面體 Octahedron
- 正二十面體 Icosahedron
- 接口
- 先讀我
- 物體類
- visible
- position
- scale
- rotation
- icon
- label
- infobox
- intersect
- param
- status
- animate
- list
- remove
- add
- 攝像機類
- get
- set
- reset
- auto_rotate
- 聯系