sunag 6 anni fa
parent
commit
2e9a84ceec
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      examples/jsm/nodes/misc/TextureCubeNode.js

+ 10 - 0
examples/jsm/nodes/misc/TextureCubeNode.js

@@ -96,6 +96,16 @@ TextureCubeNode.prototype.generate = function ( builder, output ) {
 
 };
 
+TextureCubeNode.prototype.copy = function ( source ) {
+
+	TempNode.prototype.copy.call( this, source );
+
+	this.value = source.value;
+
+	return this;
+
+};
+
 TextureCubeNode.prototype.toJSON = function ( meta ) {
 
 	var data = this.getJSONNode( meta );