function SetTransparent() {
var sc = new SuperMap.Web.Core.Color(0, 255, 0, 150);
var sc1 = new SuperMap.Web.Core.Color(0, 0, 0, 255);
var sc2 = new SuperMap.Web.Core.Color(0, 0, 0, 100);
var sc3 = new SuperMap.Web.Core.Color(0, 0, 0, 0);
var count = layer3Ds.get_count();
for (var i = 0; i < count; i++) {
var layer = layer3Ds.get_item(i);
//var tnum = layer.get_selectionFiltrateByTransparency();
layer.set_transparentColor(sc);
layer.set_isTransparent(true);
//var rv = layer.getVolume3D();
}
}
这样设置好像不起作用,图层无论如何都不透明,模型用的就是实例模型中的CBD