@galacean/effects-plugin-model 2.1.0-alpha.4 → 2.1.0-alpha.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/alipay.js +4 -4
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +5 -5
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +4 -4
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +5 -5
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/loader.mjs +5 -5
- package/dist/loader.mjs.map +1 -1
- package/dist/runtime/common.d.ts +2 -2
- package/dist/weapp.js +4 -4
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +5 -5
- package/dist/weapp.mjs.map +1 -1
- package/package.json +4 -4
package/dist/alipay.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as EFFECTS from '@galacean/effects/alipay';
|
|
2
|
-
import { math, Transform, PLAYER_OPTIONS_ENV_EDITOR,
|
|
2
|
+
import { math, spec, Transform, PLAYER_OPTIONS_ENV_EDITOR, glContext, Texture, TextureSourceType, RenderPassAttachmentStorageType, Material, Mesh, Geometry, GLSLVersion, addItem, removeItem, ShaderFactory, effectsClass, RendererComponent, Behaviour, HitTestType, AnimationClip, RenderPass, TextureLoadAction, DestroyOptions, RenderPassDestroyAttachmentType, Player, Renderer, getDefaultTextureFactory, loadImage, generateGUID, VFXItem, AbstractPlugin, glType2VertexFormatType, Downloader, getStandardJSON, isObject, registerPlugin, logger } from '@galacean/effects/alipay';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Model 插件元素类型
|
|
@@ -257,8 +257,8 @@ var PShadowType;
|
|
|
257
257
|
PShadowType[PShadowType["variance"] = 2] = "variance";
|
|
258
258
|
PShadowType[PShadowType["expVariance"] = 3] = "expVariance";
|
|
259
259
|
})(PShadowType || (PShadowType = {}));
|
|
260
|
-
var PBRShaderGUID =
|
|
261
|
-
var UnlitShaderGUID =
|
|
260
|
+
var PBRShaderGUID = spec.BuiltinObjectGUID.PBRShader;
|
|
261
|
+
var UnlitShaderGUID = spec.BuiltinObjectGUID.UnlitShader;
|
|
262
262
|
/**
|
|
263
263
|
* 插件变换类
|
|
264
264
|
*/ var PTransform = /*#__PURE__*/ function() {
|
|
@@ -13240,7 +13240,7 @@ function getDefaultUnlitMaterialData() {
|
|
|
13240
13240
|
},
|
|
13241
13241
|
"macros": [],
|
|
13242
13242
|
"shader": {
|
|
13243
|
-
"id":
|
|
13243
|
+
"id": spec.BuiltinObjectGUID.UnlitShader
|
|
13244
13244
|
},
|
|
13245
13245
|
"ints": {},
|
|
13246
13246
|
"floats": {
|
|
@@ -13793,7 +13793,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
|
|
|
13793
13793
|
|
|
13794
13794
|
registerPlugin("tree", ModelTreePlugin, VFXItem, true);
|
|
13795
13795
|
registerPlugin("model", ModelPlugin, VFXItem);
|
|
13796
|
-
var version = "2.1.0-alpha.
|
|
13796
|
+
var version = "2.1.0-alpha.6";
|
|
13797
13797
|
logger.info("Plugin model version: " + version + ".");
|
|
13798
13798
|
if (version !== EFFECTS.version) {
|
|
13799
13799
|
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!");
|