NotePlugin

用于在场景中进行批注操作,支持文本批注、圆形批注、矩形批注等功能

关系

Implements

NotePlugin Implements INotePlugin

实现接口: INotePlugin

用于在场景中进行批注操作,支持文本批注、圆形批注、矩形批注等功能

构造函数

NotePlugin

构造函数

new NotePlugin(props?)

参数

返回:NotePlugin NotePlugin对象

属性

icon

插件icon

icon: string

类型: string

id

插件唯一标识

id: string

类型: string

label

插件标识

label: string

类型: string

model

处理逻辑

model: any

类型: any

props

插件配置属性

props: IPluginProps

类型: IPluginProps

scene

当前场景

scene: IScene

类型: IScene

view

界面视图

view: any

类型: any

访问器

noteGroups

获取批注分组数据

get noteGroups(): any

返回: any 获取批注分组数据

方法

close

关闭插件

close(): void

返回:void

createGraphic

创建标注

createGraphic(noteGroups): void

参数

返回:void

destroy

销毁插件

destroy(): void

返回:void

initToolbar

初始化工具栏

initToolbar(): void

返回:void

install

安装插件到场景

install(_scene): void

参数

返回:void

show

显示插件

show(): void

返回:void

toggle

切换插件显示状态

toggle(): void

返回:void

BIMFlux AI