sunag vor 6 Jahren
Ursprung
Commit
2e9a84ceec
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  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 );