zw-bim-opt
v1.2.5
Published
model sdk
Downloads
3
Readme
Webviz Viewer SDK
已实现功能:
主菜单:
1.视口重置
reset()2.相机菜单
regulateCamera(direction: string)
参数: Back , Front , Left , Right , Top , Iso , ortho , persp3.线框渲染
drawingMode(type: string)
参数: Shaded , Wireframe , HiddenLine , XRay ,wireframeshaded4.标注
label(type: string)
参数: circle , freehand , rectangle , note5.选择
selectOpt(type: string)
参数: clickSelect , areaSelect , toolbarNote , measureAngle , measureDistance , measureEdge , measurePoint6.相机
camera(type: string)
参数: orbit , turntable , walk7.爆炸
explosion(num: number)
参数 1-100设置菜单:
1.切换视角相机
changeCamera(num: number)
参数: 0 / 12.围绕相机中心旋转
rotateByCenter(isRotate: boolean)
参数: t / f3.打开环境遮挡
ambientOcclusion(isShow: boolean)
参数: t / f4.打开反走样
antialiasing(isShow: boolean)
参数: t / f5.反射平面
outlineMark(isShow: boolean)
参数: t / f6.开启/关闭坐标轴
axisMark(isShow: boolean)
参数: t / f7.开启/关闭浏览立方体
cubeMark(isShow: boolean)
参数: t / f未实现功能
主菜单:
1.标注
label("circle") 当参数为circle时不生效2.剖切
设置菜单:
通用:
1.显示切面(剖切未实现)
2.takeSnapshot()截图功能无效
3.showBack 显示背面无效
4.打开环境遮挡
5.打开Bloom(包括其子项目)
6.打开阴影(包括其子项目)
7.点云(包括其子项目)
8.color(包括其子项目)
绘图:
1.绘图颜色
2.显示图框背景
