Browse Source

Serialize intensity

Al McElrath 10 năm trước cách đây
mục cha
commit
31d25d1ee3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;