2013-03-05 48 views

回答

6

不可以,但是,您可以使用object.traverse()设置对象材质及其子项的不透明度。

mesh.traverse(function(node) { 
    if(node.material) { 
     node.material.opacity = 0.5; 
     node.material.transparent = true; 
    } 
}); 

three.js所r.56

+0

将是超极有乘不透明度,让孩子不透明度可相对于父母的不透明度,相似的孩子如何变换是相对父。 – trusktr 2018-02-26 00:17:15