var polygon = viewer.entities.add({ id: ptag, polygon: { height: height + hplus, fill: pmts.fill != undefined ? pmts.fill : true, material: '/BIMGenmodel/JD/MJ/BiaoPai/6.png', outline: pmts.outline != undefined ? pmts.outline : true, outlineColor: pmts.lcolor != undefined ? pmts.lcolor : new _Cesium.Color(1, 0, 0.8), outlineWidth: 25, hierarchy: new _Cesium.PolygonHierarchy(pos, null), perPositionHeight:true, }, });
https://blog.csdn.net/weixin_42532695/article/details/134786560