## 沿路徑運動
```
'route': {
'in_use': true,
'type': 'route',
'param': {
'pathline': {
'data': [
[0, 0, 0],
[200, 0, 0],
[200, 200, 0],
[0, 200, 0],
],
'curved': true,
'closed': true,
'auto_lookto': true,
},
'progress': 0,
'step': 0.001,
},
},
```
| 參數 | 說明 | 格式 | 備注 |
| --- | --- | --- | --- | --- |
| route.in_use | 是否啟用本動畫 | Boolean | |
| route.type | 動畫類型 | String | |
| route.param.pathline.data | 動畫參數:路徑點 | Array | xyz坐標 |
| route.param.pathline.curved | 動畫參數:路徑點間是否呈曲線形 | Boolean | |
| route.param.pathline.closed | 動畫參數:路徑點是否呈閉合 | Boolean | |
| route.param.pathline.auto_lookto | 動畫參數:移動時,是否沿路徑切線自動調整方向 | Boolean | |
| route.param.progress | 動畫參數:初始進度 | Number | 0 ~ 1 |
| route.param.step | 動畫參數:每幀步進比率 | Number | 如果為0.02,則代表50幀(1/step)完成一次動畫 |
- 序言
- 簡介
- 為何選擇
- 框架特點
- 運行性能
- 開始使用
- 目錄結構
- 運行環境
- 如何使用
- 可視化設計
- 簡介
- 如何使用
- 基礎
- 目錄結構
- 配置數據
- 結構
- global
- style_lib
- default
- emphasis
- status
- environ
- camera
- ground
- light
- ambient_light
- directional_light
- point_light
- designer_data
- 物體數據
- 結構
- 通用參數
- 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
- update
- query
- 攝像機類
- get
- set
- reset
- auto_rotate
- 雜項
- 聯系