1. 说明(属性)

1.1. 类声明:

//引入三维库文件
<link rel="stylesheet" type="text/css" href="****/BOS3D.min.css" />
<script type="application/javascript" src="****/BOS3D.min.js">
</script>

//实例化工具栏类
var viewer3D = new BOS3D.Viewer(option);//创建视图 
var tool = new BOS3D.ToolBar(viewer3D);    //创建工具栏实例 
tool.createTool();    //创建工具栏UI部分

工具栏类具体实现

1.2. 属性:

snapshot

如果创建工具栏时选择了开启快照功能,那么tool.snapshot属性就是一个实例化的 Snapshot 对象,否 则为undefined。

相关方法见BOS3D.Snapshot。

mark

如果创建工具栏时选择了开启标签功能,那么tool.mark属性就是一个实例化的 MarkObject 对象,否则 为undefined。

相关方法见BOS3D.MarkObject。

postil

如果创建工具栏时选择了开启快照功能,那么tool.postil属性就是一个实例化的 PostilObject 对象,否则 为undefined。

相关方法见BOS3D.PostilObject。

版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2021 all right reserved,powered by Gitbook该文件修订时间: 2021-12-20 09:59:48

results matching ""

    No results matching ""