Mr.doob 7 mesiacov pred
rodič
commit
c50cae0c7d

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 12 - 0
build/three.cjs


+ 12 - 0
build/three.core.js

@@ -46705,6 +46705,15 @@ class RectAreaLight extends Light {
 		 */
 		this.height = height;
 
+		/**
+		 * A texture that modulates the light color. The texture is
+		 * projected onto the light's surface and sampled during shading.
+		 *
+		 * @type {?Texture}
+		 * @default null
+		 */
+		this.map = null;
+
 	}
 
 	/**
@@ -46733,6 +46742,7 @@ class RectAreaLight extends Light {
 
 		this.width = source.width;
 		this.height = source.height;
+		this.map = source.map;
 
 		return this;
 
@@ -46745,6 +46755,8 @@ class RectAreaLight extends Light {
 		data.object.width = this.width;
 		data.object.height = this.height;
 
+		if ( this.map && this.map.isTexture ) data.object.map = this.map.toJSON( meta ).uuid;
+
 		return data;
 
 	}

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
build/three.core.min.js


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
build/three.module.js


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
build/three.module.min.js


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov

粤ICP备19079148号