瀏覽代碼

Serialize intensity

Al McElrath 10 年之前
父節點
當前提交
31d25d1ee3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/lights/HemisphereLight.js

+ 1 - 0
src/lights/HemisphereLight.js

@@ -37,6 +37,7 @@ THREE.HemisphereLight.prototype.toJSON = function ( meta ) {
 
 	data.object.color = this.color.getHex();
 	data.object.groundColor = this.groundColor.getHex();
+	data.object.intensity = this.intensity;
 
 	return data;