提交 56c7c276 编写于 作者: P Pavel Vasev

Export PointCloudMaterial

上级 5a5c9ae0
......@@ -155,6 +155,15 @@ THREE.Material.prototype = {
if ( this.blending !== THREE.NormalBlending ) output.blending = this.blending;
if ( this.side !== THREE.FrontSide ) output.side = this.side;
} else if ( this instanceof THREE.PointCloudMaterial ) {
output.size = this.size;
output.sizeAttenuation = this.sizeAttenuation;
output.color = this.color.getHex();
if ( this.vertexColors !== THREE.NoColors ) output.vertexColors = this.vertexColors;
if ( this.blending !== THREE.NormalBlending ) output.blending = this.blending;
} else if ( this instanceof THREE.ShaderMaterial ) {
output.uniforms = this.uniforms;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册