@galacean/engine 0.0.0-experimental-0.9-plus.5 → 0.0.0-experimental-0.9-plus.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -14765,6 +14765,14 @@
14765
14765
  };
14766
14766
  /**
14767
14767
  * @internal
14768
+ */ _proto._cloneTo = function _cloneTo(target) {
14769
+ var materials = this._materials;
14770
+ for(var i = 0, n = materials.length; i < n; i++){
14771
+ target._setMaterial(i, materials[i]);
14772
+ }
14773
+ };
14774
+ /**
14775
+ * @internal
14768
14776
  */ _proto._onDestroy = function _onDestroy() {
14769
14777
  this.entity.transform._updateFlagManager.removeListener(this._onTransformChanged);
14770
14778
  this.shaderData._addRefCount(-1);
@@ -14943,7 +14951,7 @@
14943
14951
  ignoreClone
14944
14952
  ], exports.Renderer.prototype, "_overrideUpdate", void 0);
14945
14953
  __decorate$1([
14946
- shallowClone
14954
+ ignoreClone
14947
14955
  ], exports.Renderer.prototype, "_materials", void 0);
14948
14956
  __decorate$1([
14949
14957
  ignoreClone
@@ -15158,6 +15166,7 @@
15158
15166
  /**
15159
15167
  * @internal
15160
15168
  */ _proto._cloneTo = function _cloneTo(target) {
15169
+ Renderer.prototype._cloneTo.call(this, target);
15161
15170
  target.sprite = this._sprite;
15162
15171
  };
15163
15172
  /**
@@ -17583,6 +17592,7 @@
17583
17592
  /**
17584
17593
  * @internal
17585
17594
  */ _proto._cloneTo = function _cloneTo(target) {
17595
+ Renderer.prototype._cloneTo.call(this, target);
17586
17596
  target.mesh = this._mesh;
17587
17597
  };
17588
17598
  /**
@@ -24466,6 +24476,7 @@
24466
24476
  /**
24467
24477
  * @internal
24468
24478
  */ _proto._cloneTo = function _cloneTo(target) {
24479
+ Renderer.prototype._cloneTo.call(this, target);
24469
24480
  target.sprite = this._sprite;
24470
24481
  target.drawMode = this._drawMode;
24471
24482
  };
@@ -25215,6 +25226,7 @@
25215
25226
  /**
25216
25227
  * @internal
25217
25228
  */ _proto._cloneTo = function _cloneTo(target) {
25229
+ Renderer.prototype._cloneTo.call(this, target);
25218
25230
  target.font = this._font;
25219
25231
  target._subFont = this._subFont;
25220
25232
  };
@@ -36119,7 +36131,7 @@
36119
36131
  ], OasisMaterialsRemap);
36120
36132
 
36121
36133
  //@ts-ignore
36122
- var version = "0.0.0-experimental-0.9-plus.5";
36134
+ var version = "0.0.0-experimental-0.9-plus.6";
36123
36135
  console.log("Galacean engine version: " + version);
36124
36136
  for(var key in CoreObjects){
36125
36137
  Loader.registerClass(key, CoreObjects[key]);