@galacean/effects-threejs 2.1.3-alpha.1 → 2.1.3-alpha.3
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.js +9 -4
- 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 +9 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime threejs plugin for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v2.1.3-alpha.
|
|
6
|
+
* Version: v2.1.3-alpha.3
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -977,9 +977,13 @@ var PluginSystem = /*#__PURE__*/ function() {
|
|
|
977
977
|
}();
|
|
978
978
|
var pluginInfoMap = {
|
|
979
979
|
"alipay-downgrade": "@galacean/effects-plugin-alipay-downgrade",
|
|
980
|
+
"downgrade": "@galacean/effects-plugin-downgrade",
|
|
980
981
|
"editor-gizmo": "@galacean/effects-plugin-editor-gizmo",
|
|
981
982
|
"model": "@galacean/effects-plugin-model",
|
|
983
|
+
"video": "@galacean/effects-plugin-multimedia",
|
|
984
|
+
"audio": "@galacean/effects-plugin-multimedia",
|
|
982
985
|
"orientation-transformer": "@galacean/effects-plugin-orientation-transformer",
|
|
986
|
+
"richtext": "@galacean/effects-plugin-rich-text",
|
|
983
987
|
"spine": "@galacean/effects-plugin-spine"
|
|
984
988
|
};
|
|
985
989
|
function getPluginUsageInfo(name) {
|
|
@@ -21177,9 +21181,10 @@ exports.ParticleSystem = /*#__PURE__*/ function(Component) {
|
|
|
21177
21181
|
};
|
|
21178
21182
|
this.textureSheetAnimation = textureSheetAnimation;
|
|
21179
21183
|
var renderer = props.renderer || {};
|
|
21180
|
-
var rotationOverLifetime
|
|
21184
|
+
var rotationOverLifetime;
|
|
21181
21185
|
var rotOverLt = props.rotationOverLifetime;
|
|
21182
21186
|
if (rotOverLt) {
|
|
21187
|
+
rotationOverLifetime = {};
|
|
21183
21188
|
rotationOverLifetime.asRotation = !!rotOverLt.asRotation;
|
|
21184
21189
|
rotationOverLifetime.z = rotOverLt.z ? createValueGetter(rotOverLt.z) : createValueGetter(0);
|
|
21185
21190
|
if (rotOverLt.separateAxes) {
|
|
@@ -31396,7 +31401,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
|
|
|
31396
31401
|
registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
|
|
31397
31402
|
registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
|
|
31398
31403
|
registerPlugin("interact", InteractLoader, exports.VFXItem, true);
|
|
31399
|
-
var version$1 = "2.1.3-alpha.
|
|
31404
|
+
var version$1 = "2.1.3-alpha.3";
|
|
31400
31405
|
logger.info("Core version: " + version$1 + ".");
|
|
31401
31406
|
|
|
31402
31407
|
var _obj;
|
|
@@ -33023,7 +33028,7 @@ setMaxSpriteMeshItemCount(8);
|
|
|
33023
33028
|
*/ Mesh.create = function(engine, props) {
|
|
33024
33029
|
return new ThreeMesh(engine, props);
|
|
33025
33030
|
};
|
|
33026
|
-
var version = "2.1.3-alpha.
|
|
33031
|
+
var version = "2.1.3-alpha.3";
|
|
33027
33032
|
logger.info("THREEJS plugin version: " + version + ".");
|
|
33028
33033
|
|
|
33029
33034
|
exports.AbstractPlugin = AbstractPlugin;
|