[]
        
(Showing Draft Content)

dashboard.SceneViewer

类: SceneViewer

dashboard.SceneViewer

Table of contents

构造方法

方法

构造方法

constructor

new SceneViewer()

方法

destroy

destroy(): void

释放3D场景查看器实例的资源

返回值

void


initialize

initialize(initOption): Promise<void>

初始化3D场景查看器

参数

名称 类型
initOption SceneViewerInitOption

返回值

Promise<void>

示例代码

sceneViewer.initialize({
	container: document.querySelector("#scene"),
	onLoaded: (docName) => { 
	 document.title = docName;
	}
});