## 地面
```
{
/*...*/
'ground': {
'size' : {
'x': 300, 'y': 300,
},
'position_offset': {
'x': 0, 'y': 0, 'z': -0.5,
},
'style': {
'color': {
'face': {
'texture': '',
'normal': '{ color: "#000000", transparent:0, opacity:0.4, side:2, depthTest: false, }',
},
'line': '{color: "#000000", linewidth: 1, }',
},
},
},
/*...*/
}
```
* 默認情況下,地面的左下角端點位于原點
| 參數 | 說明 | 格式 | 備注 |
| --- | --- | --- | --- | --- |
| size.x | 地面寬度(X軸) | Number | 范圍:0 ~ Infinity |
| size.y | 地面長度(Y軸) | Number | 范圍:0 ~ Infinity |
| position_offset | 地面位置偏移量 | Object | xyz坐標 |
| style.color.face.normal | 地面的表面顏色 | String | |
| style.color.face.texture | 地面的貼圖 | String | 如果沒有,請設為 null 或 '' |
| style.color.line | 地面的邊框 | String | 如果沒有,請設為 null 或 '' |
- 序言
- 基礎
- 如何使用
- 目錄結構
- 配置數據
- 結構
- 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
- 聯系