IWidgetManager
右键菜单管理器
属性
contextMenu
右键菜单管理器
contextMenu: IContextMenuManager
initCamera
初始化相机
initCamera: ICamera
类型: ICamera
multipleSelectData
记录多选数据
multipleSelectData: any[]
类型: any[]
option
配置参数
option: ISceneUIOption
类型: ISceneUIOption
popup
popup 弹窗管理器
popup: IPopupManager
类型: IPopupManager
scene
所属场景
scene: IScene
类型: IScene
selector
选择器管理器
selector: ISelectorManager
类型: ISelectorManager
theme
ui主题
theme: string
类型: string
throughSelectData
记录透选数据
throughSelectData: ThroughSelect
类型: ThroughSelect
toolbar
工具栏管理器
toolbar: ISceneToolbarManager
tree
场景树管理器
tree: ISceneTreeManager
widgets
生成的部件记录
widgets: object
类型: object
方法
add
增加部件到场景中
add(widget, position?): void
参数
- widget:
string|IWidget部件实例或部件名称 - position?:
WidgetPosition需要被添加的位置
返回:void
get
根据部件名称获取某个部件实例
hide
隐藏部件
remove
移除部件
show
显示部件

BIMFlux AI
