@galacean/effects-threejs 2.1.1 → 2.1.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/index.js +4 -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 +4 -7
- 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.
|
|
6
|
+
* Version: v2.1.2
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -16660,7 +16660,6 @@ exports.InteractComponent = /*#__PURE__*/ function(RendererComponent) {
|
|
|
16660
16660
|
};
|
|
16661
16661
|
_proto.render = function render(renderer) {
|
|
16662
16662
|
if (this.previewContent) {
|
|
16663
|
-
this.previewContent.mesh.worldMatrix = this.transform.getWorldMatrix();
|
|
16664
16663
|
this.previewContent.mesh.render(renderer);
|
|
16665
16664
|
}
|
|
16666
16665
|
};
|
|
@@ -28800,9 +28799,7 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
|
|
|
28800
28799
|
* @since 2.0.0
|
|
28801
28800
|
* @param visible - 是否可见
|
|
28802
28801
|
*/ _proto.setVisible = function setVisible(visible) {
|
|
28803
|
-
this.
|
|
28804
|
-
item.setActive(visible);
|
|
28805
|
-
});
|
|
28802
|
+
this.rootItem.setVisible(visible);
|
|
28806
28803
|
};
|
|
28807
28804
|
/**
|
|
28808
28805
|
* 获取合成的动画速度
|
|
@@ -31403,7 +31400,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
|
|
|
31403
31400
|
registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
|
|
31404
31401
|
registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
|
|
31405
31402
|
registerPlugin("interact", InteractLoader, exports.VFXItem, true);
|
|
31406
|
-
var version$1 = "2.1.
|
|
31403
|
+
var version$1 = "2.1.2";
|
|
31407
31404
|
logger.info("Core version: " + version$1 + ".");
|
|
31408
31405
|
|
|
31409
31406
|
var _obj;
|
|
@@ -33030,7 +33027,7 @@ setMaxSpriteMeshItemCount(8);
|
|
|
33030
33027
|
*/ Mesh.create = function(engine, props) {
|
|
33031
33028
|
return new ThreeMesh(engine, props);
|
|
33032
33029
|
};
|
|
33033
|
-
var version = "2.1.
|
|
33030
|
+
var version = "2.1.2";
|
|
33034
33031
|
logger.info("THREEJS plugin version: " + version + ".");
|
|
33035
33032
|
|
|
33036
33033
|
exports.AbstractPlugin = AbstractPlugin;
|