@galacean/effects-plugin-model 2.0.0-alpha.15 → 2.0.0-alpha.16

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/alipay.js CHANGED
@@ -2525,7 +2525,7 @@ function _assert_this_initialized(self) {
2525
2525
  _this.skin = proxy.getSkinObj(engine);
2526
2526
  _this.morph = proxy.getMorphObj();
2527
2527
  _this.hide = proxy.isHide();
2528
- _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.listIndex) || 0;
2528
+ _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.renderOrder) || 0;
2529
2529
  //
2530
2530
  _this.subMeshes = [];
2531
2531
  var geometry = proxy.getGeometry();
@@ -4430,7 +4430,7 @@ exports.ModelMeshComponent = /*#__PURE__*/ function(RendererComponent) {
4430
4430
  var _this_sceneManager;
4431
4431
  this.createContent();
4432
4432
  this.item.type = VFX_ITEM_TYPE_3D;
4433
- this.priority = this.item.listIndex;
4433
+ this.priority = this.item.renderOrder;
4434
4434
  this.sceneManager = getSceneManager(this);
4435
4435
  (_this_sceneManager = this.sceneManager) == null ? void 0 : _this_sceneManager.addItem(this.content);
4436
4436
  if (this.item.parentId && this.item.parent) {
@@ -4547,7 +4547,7 @@ exports.ModelSkyboxComponent = /*#__PURE__*/ function(RendererComponent) {
4547
4547
  var _this_sceneManager;
4548
4548
  this.createContent();
4549
4549
  this.item.type = VFX_ITEM_TYPE_3D;
4550
- this.priority = this.item.listIndex;
4550
+ this.priority = this.item.renderOrder;
4551
4551
  this.sceneManager = getSceneManager(this);
4552
4552
  (_this_sceneManager = this.sceneManager) == null ? void 0 : _this_sceneManager.addItem(this.content);
4553
4553
  this.setVisible(true);
@@ -8599,7 +8599,7 @@ exports.CullMode = void 0;
8599
8599
  _this.specularImage = data.specularImage;
8600
8600
  _this.specularImageSize = data.specularImageSize;
8601
8601
  _this.specularMipCount = data.specularMipCount;
8602
- _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.listIndex) || 0;
8602
+ _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.renderOrder) || 0;
8603
8603
  return _this;
8604
8604
  }
8605
8605
  var _proto = PSkybox.prototype;
@@ -13361,7 +13361,7 @@ var vertexBufferSemanticMap = {
13361
13361
 
13362
13362
  effects.registerPlugin("tree", ModelTreePlugin, effects.VFXItem, true);
13363
13363
  effects.registerPlugin("model", ModelPlugin, effects.VFXItem);
13364
- var version = "2.0.0-alpha.15";
13364
+ var version = "2.0.0-alpha.16";
13365
13365
  effects.logger.info("plugin model version: " + version);
13366
13366
  if (version !== effects.version) {
13367
13367
  console.error("注意:请统一 Model 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Model plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");