RenderModePlugin

用于切换场景的不同显示模式

关系

Implements

RenderModePlugin Implements IRenderModePlugin

实现接口: IRenderModePlugin

用于切换场景的不同显示模式

构造函数

RenderModePlugin

构造函数

new RenderModePlugin(props?)

参数

返回:RenderModePlugin RenderModePlugin对象

属性

currentMode

当前模式

currentMode: any

类型: any

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

方法

close

关闭插件

close(): void

返回:void

destroy

销毁插件

destroy(): void

返回:void

initToolbar

初始化工具栏

initToolbar(): void

返回:void

install

安装插件到场景

install(_scene): void

参数

返回:void

show

场景开启展示 需要在layer.when()后使用

show(): void

返回:void

toggle

切换插件显示状态

toggle(): void

返回:void

BIMFlux AI