Appearance
title: selectHelper
selectHelper
SelectHelper
Kind: global class
new SelectHelper(viewer)
包围盒选中效果 绑定 transformControls
Param | Type | Description |
---|---|---|
viewer | Viewer | 场景 |
selectHelper.addSelectObject(list, color)
选中物体
Kind: instance method of SelectHelper
Param | Type | Default | Description |
---|---|---|---|
list | Array | 选中物体数组 | |
color | string | "#BBFFFF" | 包围盒颜色 |
selectHelper.clear()
清空选中
Kind: instance method of SelectHelper
selectHelper.destroy()
销毁
Kind: instance method of SelectHelper