@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.mjs CHANGED
@@ -2521,7 +2521,7 @@ function _assert_this_initialized(self) {
2521
2521
  _this.skin = proxy.getSkinObj(engine);
2522
2522
  _this.morph = proxy.getMorphObj();
2523
2523
  _this.hide = proxy.isHide();
2524
- _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.listIndex) || 0;
2524
+ _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.renderOrder) || 0;
2525
2525
  //
2526
2526
  _this.subMeshes = [];
2527
2527
  var geometry = proxy.getGeometry();
@@ -4426,7 +4426,7 @@ var ModelMeshComponent = /*#__PURE__*/ function(RendererComponent) {
4426
4426
  var _this_sceneManager;
4427
4427
  this.createContent();
4428
4428
  this.item.type = VFX_ITEM_TYPE_3D;
4429
- this.priority = this.item.listIndex;
4429
+ this.priority = this.item.renderOrder;
4430
4430
  this.sceneManager = getSceneManager(this);
4431
4431
  (_this_sceneManager = this.sceneManager) == null ? void 0 : _this_sceneManager.addItem(this.content);
4432
4432
  if (this.item.parentId && this.item.parent) {
@@ -4543,7 +4543,7 @@ var ModelSkyboxComponent = /*#__PURE__*/ function(RendererComponent) {
4543
4543
  var _this_sceneManager;
4544
4544
  this.createContent();
4545
4545
  this.item.type = VFX_ITEM_TYPE_3D;
4546
- this.priority = this.item.listIndex;
4546
+ this.priority = this.item.renderOrder;
4547
4547
  this.sceneManager = getSceneManager(this);
4548
4548
  (_this_sceneManager = this.sceneManager) == null ? void 0 : _this_sceneManager.addItem(this.content);
4549
4549
  this.setVisible(true);
@@ -8595,7 +8595,7 @@ var CullMode;
8595
8595
  _this.specularImage = data.specularImage;
8596
8596
  _this.specularImageSize = data.specularImageSize;
8597
8597
  _this.specularMipCount = data.specularMipCount;
8598
- _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.listIndex) || 0;
8598
+ _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.renderOrder) || 0;
8599
8599
  return _this;
8600
8600
  }
8601
8601
  var _proto = PSkybox.prototype;
@@ -13357,7 +13357,7 @@ var vertexBufferSemanticMap = {
13357
13357
 
13358
13358
  registerPlugin("tree", ModelTreePlugin, VFXItem, true);
13359
13359
  registerPlugin("model", ModelPlugin, VFXItem);
13360
- var version = "2.0.0-alpha.15";
13360
+ var version = "2.0.0-alpha.16";
13361
13361
  logger.info("plugin model version: " + version);
13362
13362
  if (version !== version$1) {
13363
13363
  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!");