GltfClipPlan

GltfClipPlan

模型剖切(平面)类

Constructor

new GltfClipPlan()

Classes

GltfClipPlan

Members

entity :Object

设置要剖切的图层实体 tileset

Type:
  • Object

Methods

clear()

清除裁剪面

setPlanes(planes, optionsopt)

切割面设置切割方式

Parameters:
Name Type Attributes Description
planes *

切割面 多边形面。矩形面 Plane

options Object <optional>

带有以下属性的对象:

Properties
Name Type Attributes Default Description
edgeWidth Number <optional>
0.0

切割宽度

edgeColor Object <optional>
Cesium.Color.WHITE

切割颜色