Constructor
new EditDragger(viewer, axisLength, axisWidth, transformCallback, options)
新建一个编辑器
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
Viewer | 场景对象 |
|||||||||||||||
axisLength |
Number | 编辑器轴长 |
|||||||||||||||
axisWidth |
Number | 编辑器轴宽 |
|||||||||||||||
transformCallback |
function | 编辑器移动/旋转/缩放时执行的回调函数,可以用来更新面板属性信息等 |
|||||||||||||||
options |
Object | 可选参数 Properties
|
Classes
Methods
endEdit()
结束编辑
startEdit(options)
开始编辑
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | function | 可选项 Properties
|