@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/index.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player model plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 飂兮
6
- * Version: v2.0.0-alpha.15
6
+ * Version: v2.0.0-alpha.16
7
7
  */
8
8
 
9
9
  import { math, Transform, PLAYER_OPTIONS_ENV_EDITOR, spec, glContext, Texture, TextureSourceType, RenderPassAttachmentStorageType, Material, Mesh, Geometry, GLSLVersion, addItem, removeItem, effectsClass, RendererComponent, ItemBehaviour, HitTestType, AnimationClip, RenderPass, TextureLoadAction, DestroyOptions, RenderPassDestroyAttachmentType, Player, Renderer, getDefaultTextureFactory, loadImage, generateGUID, VFXItem, AbstractPlugin, glType2VertexFormatType, Downloader, getStandardJSON, registerPlugin, logger, version as version$1 } from '@galacean/effects';
@@ -2529,7 +2529,7 @@ function _assert_this_initialized(self) {
2529
2529
  _this.skin = proxy.getSkinObj(engine);
2530
2530
  _this.morph = proxy.getMorphObj();
2531
2531
  _this.hide = proxy.isHide();
2532
- _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.listIndex) || 0;
2532
+ _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.renderOrder) || 0;
2533
2533
  //
2534
2534
  _this.subMeshes = [];
2535
2535
  var geometry = proxy.getGeometry();
@@ -4434,7 +4434,7 @@ var ModelMeshComponent = /*#__PURE__*/ function(RendererComponent) {
4434
4434
  var _this_sceneManager;
4435
4435
  this.createContent();
4436
4436
  this.item.type = VFX_ITEM_TYPE_3D;
4437
- this.priority = this.item.listIndex;
4437
+ this.priority = this.item.renderOrder;
4438
4438
  this.sceneManager = getSceneManager(this);
4439
4439
  (_this_sceneManager = this.sceneManager) == null ? void 0 : _this_sceneManager.addItem(this.content);
4440
4440
  if (this.item.parentId && this.item.parent) {
@@ -4551,7 +4551,7 @@ var ModelSkyboxComponent = /*#__PURE__*/ function(RendererComponent) {
4551
4551
  var _this_sceneManager;
4552
4552
  this.createContent();
4553
4553
  this.item.type = VFX_ITEM_TYPE_3D;
4554
- this.priority = this.item.listIndex;
4554
+ this.priority = this.item.renderOrder;
4555
4555
  this.sceneManager = getSceneManager(this);
4556
4556
  (_this_sceneManager = this.sceneManager) == null ? void 0 : _this_sceneManager.addItem(this.content);
4557
4557
  this.setVisible(true);
@@ -8603,7 +8603,7 @@ var CullMode;
8603
8603
  _this.specularImage = data.specularImage;
8604
8604
  _this.specularImageSize = data.specularImageSize;
8605
8605
  _this.specularMipCount = data.specularMipCount;
8606
- _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.listIndex) || 0;
8606
+ _this.priority = (owner == null ? void 0 : (_owner_item = owner.item) == null ? void 0 : _owner_item.renderOrder) || 0;
8607
8607
  return _this;
8608
8608
  }
8609
8609
  var _proto = PSkybox.prototype;
@@ -13365,7 +13365,7 @@ var vertexBufferSemanticMap = {
13365
13365
 
13366
13366
  registerPlugin("tree", ModelTreePlugin, VFXItem, true);
13367
13367
  registerPlugin("model", ModelPlugin, VFXItem);
13368
- var version = "2.0.0-alpha.15";
13368
+ var version = "2.0.0-alpha.16";
13369
13369
  logger.info("plugin model version: " + version);
13370
13370
  if (version !== version$1) {
13371
13371
  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!");