new Excavation(viewer, options)
underground/Excavation.js, line 30
可选参数
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
Viewer |
当前视图 |
||||||||||||||||||||||||
options |
Object |
其他可选参数
|
Classes
Members
-
depth
-
下挖深度设置(米)
-
show
-
挖掘结果是否显示隐藏
Methods
-
clear()
underground/Excavation.js, line 151 -
清除挖掘结果
-
updateData(positions)
underground/Excavation.js, line 90 -
更新挖掘区域
Name Type Description positions
Array.<Position> 挖掘区域坐标