@galacean/effects-plugin-model 1.6.0-beta.0 → 1.6.0-beta.2

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
@@ -9513,11 +9513,11 @@ var TextureManager = /** @class */ (function () {
9513
9513
  this._textureMap.clear();
9514
9514
  };
9515
9515
  TextureManager.prototype.addTexture = function (matIndex, texIndex, tex, isBaseColor) {
9516
- var index = isBaseColor ? matIndex * 100000 + texIndex : texIndex;
9516
+ var index = isBaseColor ? (matIndex + 1) * 100000 + texIndex : texIndex;
9517
9517
  this._textureMap.set(index, tex);
9518
9518
  };
9519
9519
  TextureManager.prototype.getTexture = function (matIndex, texIndex, isBaseColor) {
9520
- var index = isBaseColor ? matIndex * 100000 + texIndex : texIndex;
9520
+ var index = isBaseColor ? (matIndex + 1) * 100000 + texIndex : texIndex;
9521
9521
  return this._textureMap.get(index);
9522
9522
  };
9523
9523
  return TextureManager;
@@ -10072,7 +10072,7 @@ var GLTFHelper = /** @class */ (function () {
10072
10072
 
10073
10073
  effects.registerPlugin('tree', ModelTreePlugin, ModelTreeVFXItem, true);
10074
10074
  effects.registerPlugin('model', ModelPlugin, ModelVFXItem);
10075
- var version = "1.6.0-beta.0";
10075
+ var version = "1.6.0-beta.2";
10076
10076
  effects.logger.info('plugin model version: ' + version);
10077
10077
 
10078
10078
  exports.BoxMesh = BoxMesh;
package/dist/alipay.mjs CHANGED
@@ -9509,11 +9509,11 @@ var TextureManager = /** @class */ (function () {
9509
9509
  this._textureMap.clear();
9510
9510
  };
9511
9511
  TextureManager.prototype.addTexture = function (matIndex, texIndex, tex, isBaseColor) {
9512
- var index = isBaseColor ? matIndex * 100000 + texIndex : texIndex;
9512
+ var index = isBaseColor ? (matIndex + 1) * 100000 + texIndex : texIndex;
9513
9513
  this._textureMap.set(index, tex);
9514
9514
  };
9515
9515
  TextureManager.prototype.getTexture = function (matIndex, texIndex, isBaseColor) {
9516
- var index = isBaseColor ? matIndex * 100000 + texIndex : texIndex;
9516
+ var index = isBaseColor ? (matIndex + 1) * 100000 + texIndex : texIndex;
9517
9517
  return this._textureMap.get(index);
9518
9518
  };
9519
9519
  return TextureManager;
@@ -10068,7 +10068,7 @@ var GLTFHelper = /** @class */ (function () {
10068
10068
 
10069
10069
  registerPlugin('tree', ModelTreePlugin, ModelTreeVFXItem, true);
10070
10070
  registerPlugin('model', ModelPlugin, ModelVFXItem);
10071
- var version = "1.6.0-beta.0";
10071
+ var version = "1.6.0-beta.2";
10072
10072
  logger.info('plugin model version: ' + version);
10073
10073
 
10074
10074
  export { BoxMesh, CameraGestureHandlerImp, CameraGestureType, CheckerHelper, CompositionCache, CompositionHitTest, FBOOptions, Float16ArrayWrapper, GeometryBoxProxy, HitTestingProxy, HookOGLFunc, InterpolationSampler, LoaderHelper, LoaderImpl, MeshHelper, ModelPlugin, ModelTreeItem, ModelTreePlugin, ModelTreeVFXItem, ModelVFXItem, PAnimInterpType, PAnimPathType, PAnimTexture, PAnimTrack, PAnimation, PAnimationManager, PAnimationSystem, PBlendMode, PCamera, PCameraManager, PCoordinate, PEntity, PFaceSideMode, PGeometry, PGlobalState, PLight, PLightManager, PLightType, PMaterialBase, PMaterialPBR, PMaterialSkyboxFilter, PMaterialType, PMaterialUnlit, PMesh, PMorph, PObject, PObjectType, PPrimitive, PSceneManager, PShaderManager, PShadowType, PSkin, PSkybox, PSkyboxCreator, PSkyboxType, PTextureType, PTransform, PluginHelper, RayBoxTesting, RayIntersectsBoxWithRotation, RayTriangleTesting, TextureDataMode, ToggleItemBounding, TwoStatesSet, VFX_ITEM_TYPE_3D, VertexAttribBuffer, WebGLHelper, WebHelper, createAnimationSampler, createInternalMaterial, createPluginMaterial, getDefaultEffectsGLTFLoader, getDiffuseOnlyShaderCode, getGaussianBlurShaderCodeV1, getGaussianBlurShaderCodeV2, getKawaseBlurShaderCode, getNormalVisShaderCode, getPBRPassShaderCode, getPMeshList, getQuadFilterShaderCode, getRendererGPUInfo, getShadowPassShaderCode, getSimpleFilterShaderCode, getSkyBoxShaderCode, getTransparecyBaseShader, getTransparecyFilterShader, setDefaultEffectsGLTFLoader, version };
package/dist/index.js 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: v1.6.0-beta.0
6
+ * Version: v1.6.0-beta.2
7
7
  */
8
8
 
9
9
  'use strict';
@@ -9521,11 +9521,11 @@ var TextureManager = /** @class */ (function () {
9521
9521
  this._textureMap.clear();
9522
9522
  };
9523
9523
  TextureManager.prototype.addTexture = function (matIndex, texIndex, tex, isBaseColor) {
9524
- var index = isBaseColor ? matIndex * 100000 + texIndex : texIndex;
9524
+ var index = isBaseColor ? (matIndex + 1) * 100000 + texIndex : texIndex;
9525
9525
  this._textureMap.set(index, tex);
9526
9526
  };
9527
9527
  TextureManager.prototype.getTexture = function (matIndex, texIndex, isBaseColor) {
9528
- var index = isBaseColor ? matIndex * 100000 + texIndex : texIndex;
9528
+ var index = isBaseColor ? (matIndex + 1) * 100000 + texIndex : texIndex;
9529
9529
  return this._textureMap.get(index);
9530
9530
  };
9531
9531
  return TextureManager;
@@ -10080,7 +10080,7 @@ var GLTFHelper = /** @class */ (function () {
10080
10080
 
10081
10081
  effects.registerPlugin('tree', ModelTreePlugin, ModelTreeVFXItem, true);
10082
10082
  effects.registerPlugin('model', ModelPlugin, ModelVFXItem);
10083
- var version = "1.6.0-beta.0";
10083
+ var version = "1.6.0-beta.2";
10084
10084
  effects.logger.info('plugin model version: ' + version);
10085
10085
 
10086
10086
  exports.BoxMesh = BoxMesh;