## 流水線
```
'animate': [
{
'in_use': true,
'type': 'pipeline',
'param': {
'destination': {
'position': {
'x': 180, 'y': 0, 'z': 0,
},
},
'progress': 0,
'step': 0.003,
},
},
],
```
* 物體會在初始位置和目標位置之間進行運動,該運動是單向且重復的。即:物體運動至目標位置后,下一幀時會從初始位置出現,再次繼續向目標位置運動。
| 參數 | 說明 | 格式 | 備注 |
| --- | --- | --- | --- | --- |
| animate[i].in_use | 是否啟用本動畫 | Boolean | |
| animate[i].type | 動畫類型 | String | |
| animate[i].param.destination.position | 動畫參數:相對于初始位置的目標位置 | Object | xyz坐標 |
| animate[i].param.progress | 動畫參數:初始進度 | Number | 0 ~ 1 |
| animate[i].param.step | 動畫參數:每幀步進比率 | Number | 如果為0.02,則代表50幀(1/step)完成一次動畫 |
- 序言
- 基礎
- 如何使用
- 目錄結構
- 配置數據
- 結構
- 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
- 聯系