this.polygonEntity = this.viewer.entities.add({
polygon: {
hierarchy: this.tempPositions,
material: Cesium.Color.RED.withAlpha(0.4),
perPositionHeight: true,
},
polyline: {
positions: this.tempPositions,
width: 1,
material: new Cesium.PolylineDashMaterialProperty({
color: Cesium.Color.YELLOW,
}),
depthFailMaterial: new Cesium.PolylineDashMaterialProperty({ //(被建筑遮挡部分具有穿透效果、虚线)
color: Cesium.Color.YELLOW,
}),
}
})
entity中 depthFailMaterial(深度穿透) 与material
于 2023-07-18 10:54:08 首次发布