DragPanOptions
定义于: src/ui/handler/drag_pan.ts:28
DragPanOptions =
object
拖拽平移选项;
属性
linearity?
optional
linearity:number
定义于: src/ui/handler/drag_pan.ts:40
更高的值使相机的旋转响应更加线性,更低的值使相机的旋转更"加速"。
默认值
1
maxSpeed?
optional
maxSpeed:number
定义于: src/ui/handler/drag_pan.ts:45
相机移动速度的最大值,以每像素毫秒为单位。
默认值
1400
deceleration?
optional
deceleration:number
定义于: src/ui/handler/drag_pan.ts:50
惯性衰减率,每秒减少的速度百分比。
默认值
2.4