Appearance
walkman
WalkMan
Kind: global class
Descriptopm: 行走模式
new WalkMan(opts)
Param | Type | Description |
---|---|---|
opts | object | 参数 |
opts.viewer | viewer | 场景类 |
opts.updateValue | number | 更新值 |
opts.turnTime | number | 转弯时间 |
opts.interval | number | 路径总体耗时 |
walkMan.addWalkMan(opts)
添加行走小人图层
Kind: instance method of WalkMan
Param | Type | Description |
---|---|---|
opts | * | 参数 |
opts.url | string | 模型路径 |
opts.scale | number | 模型比例 |
opts.paths | Array | 人行走路径数组 |
opts.callback | Array | 回调函数 |
walkMan.removeWalkMan()
清除行走模式以及移除行走模型
Kind: instance method of WalkMan
WalkMan.manOnRender(mixerList)
小人动画渲染
Kind: static method of WalkMan
Param | Type |
---|---|
mixerList | * |