## 樣式
```
{
'style': {
'type' : 'Lambert',
'default' : '__DEFAULT__',
'emphasis': '__DEFAULT__',
'shadow': {
'cast' : false,
'receive': false,
},
},
}
```
* default 和 emphasis 除了可以通過一個樣式key來命名外,還可以直接以賦值face,texture,line屬性來進行聲明,具體參考樣式庫中的例子。
| 參數 | 說明 | 格式 | 備注 |
| --- | --- | --- | --- | --- |
| style.type | 材質類型 | String | `Lambert`漫反射材質<br />`Phong`金屬材質<br />`Basic`基本材質 |
| style.default | 默認樣式 | String 或 Object | 可以命名一個樣式庫中默認樣式的key |
| style.emphasis | 高亮樣式 | String 或 Object | 可以命名一個樣式庫中高亮樣式的key |
| style.shadow.cast | 是否發射陰影 | Boolean | |
| style.shadow.receive | 是否接受陰影 | Boolean | |
- 序言
- 基礎
- 如何使用
- 目錄結構
- 配置數據
- 結構
- 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
- 聯系