提交 5fe7cb5e 编写于 作者: T Tentone 提交者: Mr.doob

Added depth characteristics to Material JSON serializer (#9448)

上级 1e7d0131
......@@ -151,6 +151,10 @@ Material.prototype = {
data.uuid = this.uuid;
data.type = this.type;
data.depthFunc = this.depthFunc;
data.depthTest = this.depthTest;
data.depthWrite = this.depthWrite;
if ( this.name !== '' ) data.name = this.name;
if ( (this.color && this.color.isColor) ) data.color = this.color.getHex();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册