## 高級幾何體
```
{
'advgeom': [
{
'bsp': '', //intersect, union, subtract
'type': 'plane',
'size': {
'x': 50, 'y': 30,
},
'position': {
'x': 0, 'y': 0, 'z': 10,
},
'rotation': {
'x': 0, 'y': 0, 'z': 0,
},
},
{
'bsp': '', //intersect, union, subtract
'type': 'plane',
'size': {
'x': 40, 'y': 20,
},
'position': {
'x': 0, 'y': 0, 'z': 20,
},
'rotation': {
'x': 0, 'y': 0, 'z': 0,
},
},
],
}
```
* 這是可以在原基礎物體的幾何體基礎上,通過與新的幾何體進行BSP方式產生新的幾何體。
* 使用 property.parent 也可實現類似的相同效果,兩者的差別在于能否單獨進行控制,材質效果等方面。
| 參數 | 說明 | 格式 | 備注 |
| --- | --- | --- | --- | --- |
| advgeom[i].bsp | BSP類型 | String | `intersect`交集<br />`union`合集<br />`subtract`差集<br />如為空則是簡易拼接 |
| advgeom[i].type | 物體類型 | String | |
| advgeom[i].position| 相對于母體位置 | Object | xyz坐標 |
| advgeom[i].rotation | 物體旋轉 | 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
- 聯系