@galacean/effects-plugin-model 2.0.0-alpha.29 → 2.0.0-alpha.30
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 +5 -6
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +5 -6
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +5 -6
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +5 -6
- package/dist/douyin.mjs.map +1 -1
- package/dist/gesture/index.d.ts +1 -1
- package/dist/index.js +6 -7
- 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 -7
- package/dist/index.mjs.map +1 -1
- package/dist/loader.mjs +6 -7
- package/dist/loader.mjs.map +1 -1
- package/dist/weapp.js +5 -6
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +5 -6
- package/dist/weapp.mjs.map +1 -1
- package/package.json +4 -4
package/dist/douyin.mjs
CHANGED
|
@@ -10263,6 +10263,7 @@ var CameraGestureHandlerImp = /*#__PURE__*/ function() {
|
|
|
10263
10263
|
return this.startGesture(arg);
|
|
10264
10264
|
};
|
|
10265
10265
|
_proto.onZMoving = function onZMoving(x, y, speed) {
|
|
10266
|
+
if (speed === void 0) speed = 0.015;
|
|
10266
10267
|
if (!this.startParams.mouseEvent) {
|
|
10267
10268
|
return this.composition.camera.getOptions();
|
|
10268
10269
|
}
|
|
@@ -10275,7 +10276,7 @@ var CameraGestureHandlerImp = /*#__PURE__*/ function() {
|
|
|
10275
10276
|
clientWidth: arg0.clientWidth,
|
|
10276
10277
|
clientHeight: arg0.clientHeight,
|
|
10277
10278
|
target: arg0.target,
|
|
10278
|
-
speed: speed
|
|
10279
|
+
speed: speed
|
|
10279
10280
|
};
|
|
10280
10281
|
return this.moveGesture(arg);
|
|
10281
10282
|
};
|
|
@@ -11840,10 +11841,8 @@ function createGeometryData(props, subMeshes) {
|
|
|
11840
11841
|
var vertexChannels = [];
|
|
11841
11842
|
for(var attrib1 in props.attributes){
|
|
11842
11843
|
var attribData1 = props.attributes[attrib1];
|
|
11843
|
-
var
|
|
11844
|
-
|
|
11845
|
-
throw new Error("Invalid attrib " + attrib1 + ".");
|
|
11846
|
-
}
|
|
11844
|
+
var _vertexBufferSemanticMap_attrib;
|
|
11845
|
+
var semantic = (_vertexBufferSemanticMap_attrib = vertexBufferSemanticMap[attrib1]) != null ? _vertexBufferSemanticMap_attrib : attrib1;
|
|
11847
11846
|
// @ts-expect-error
|
|
11848
11847
|
vertexCount = attribData1.data.length / attribData1.size;
|
|
11849
11848
|
var _attribData_type;
|
|
@@ -13799,7 +13798,7 @@ var GLTFHelper = /*#__PURE__*/ function() {
|
|
|
13799
13798
|
|
|
13800
13799
|
registerPlugin("tree", ModelTreePlugin, VFXItem, true);
|
|
13801
13800
|
registerPlugin("model", ModelPlugin, VFXItem);
|
|
13802
|
-
var version = "2.0.0-alpha.
|
|
13801
|
+
var version = "2.0.0-alpha.30";
|
|
13803
13802
|
logger.info("Plugin model version: " + version + ".");
|
|
13804
13803
|
if (version !== EFFECTS.version) {
|
|
13805
13804
|
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!");
|