@galacean/effects-threejs 2.0.0-beta.2 → 2.0.1
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 +6 -3
- 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 -3
- 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.0.
|
|
6
|
+
* Version: v2.0.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -14096,6 +14096,9 @@ exports.SpriteComponent = /*#__PURE__*/ function(RendererComponent) {
|
|
|
14096
14096
|
};
|
|
14097
14097
|
_proto.start = function start() {
|
|
14098
14098
|
this.item.getHitTestParams = this.getHitTestParams;
|
|
14099
|
+
if (this.item.endBehavior === EndBehavior.restart) {
|
|
14100
|
+
this.frameAnimationLoop = true;
|
|
14101
|
+
}
|
|
14099
14102
|
};
|
|
14100
14103
|
_proto.update = function update(dt) {
|
|
14101
14104
|
this.frameAnimationTime += dt / 1000;
|
|
@@ -27708,7 +27711,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
|
|
|
27708
27711
|
registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
|
|
27709
27712
|
registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
|
|
27710
27713
|
registerPlugin("interact", InteractLoader, exports.VFXItem, true);
|
|
27711
|
-
var version$1 = "2.0.
|
|
27714
|
+
var version$1 = "2.0.1";
|
|
27712
27715
|
logger.info("Core version: " + version$1 + ".");
|
|
27713
27716
|
|
|
27714
27717
|
var _obj;
|
|
@@ -29389,7 +29392,7 @@ setMaxSpriteMeshItemCount(8);
|
|
|
29389
29392
|
*/ Mesh.create = function(engine, props) {
|
|
29390
29393
|
return new ThreeMesh(engine, props);
|
|
29391
29394
|
};
|
|
29392
|
-
var version = "2.0.
|
|
29395
|
+
var version = "2.0.1";
|
|
29393
29396
|
logger.info("THREEJS plugin version: " + version + ".");
|
|
29394
29397
|
|
|
29395
29398
|
exports.AbstractPlugin = AbstractPlugin;
|