提交 43c50872 编写于 作者: M Mr.doob

MeshFaceMaterial: Added visible property.

上级 b771d2ae
......@@ -10,6 +10,8 @@ THREE.MeshFaceMaterial = function ( materials ) {
this.materials = materials instanceof Array ? materials : [];
this.visible = true;
};
THREE.MeshFaceMaterial.prototype = {
......@@ -35,6 +37,8 @@ THREE.MeshFaceMaterial.prototype = {
}
output.visible = this.visible;
return output;
},
......@@ -49,6 +53,8 @@ THREE.MeshFaceMaterial.prototype = {
}
material.visible = this.visible;
return material;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册