Explorar el Código

Serialize intensity

Al McElrath hace 10 años
padre
commit
31d25d1ee3
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;