Explorar el Código

Merge pull request #6947 from yrns/hemi-intensity

Serialize intensity
Mr.doob hace 10 años
padre
commit
a4076b56e5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;