提交 5a5c9ae0 编写于 作者: P Pavel Vasev

Export PointCloud in Object3D :: toJSON

上级 97b59934
...@@ -693,7 +693,7 @@ THREE.Object3D.prototype = { ...@@ -693,7 +693,7 @@ THREE.Object3D.prototype = {
data.color = object.color.getHex(); data.color = object.color.getHex();
data.groundColor = object.groundColor.getHex(); data.groundColor = object.groundColor.getHex();
} else if ( object instanceof THREE.Mesh ) { } else if ( object instanceof THREE.Mesh || object instanceof THREE.PointCloud ) {
data.geometry = parseGeometry( object.geometry ); data.geometry = parseGeometry( object.geometry );
data.material = parseMaterial( object.material ); data.material = parseMaterial( object.material );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册