Appearance
walkman ?
WalkMan ?
Kind: global class
Descriptopm: 行走模式
new WalkMan(opts) ?
| Param | Type | Description |
|---|---|---|
| opts | object | 參數(shù) |
| opts.viewer | viewer | 場景類 |
| opts.updateValue | number | 更新值 |
| opts.turnTime | number | 轉(zhuǎn)彎時間 |
| opts.interval | number | 路徑總體耗時 |
walkMan.addWalkMan(opts) ?
添加行走小人圖層
Kind: instance method of WalkMan
| Param | Type | Description |
|---|---|---|
| opts | * | 參數(shù) |
| opts.url | string | 模型路徑 |
| opts.scale | number | 模型比例 |
| opts.paths | Array | 人行走路徑數(shù)組 |
| opts.callback | Array | 回調(diào)函數(shù) |
walkMan.removeWalkMan() ?
清除行走模式以及移除行走模型
Kind: instance method of WalkMan
WalkMan.manOnRender(mixerList) ?
小人動畫渲染
Kind: static method of WalkMan
| Param | Type |
|---|---|
| mixerList | * |