@galacean/effects-threejs 2.10.0 → 2.10.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 -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 +6 -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.10.
|
|
6
|
+
* Version: v2.10.1
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -37881,7 +37881,7 @@ function getStandardSpriteContent(sprite, transform) {
|
|
|
37881
37881
|
return ret;
|
|
37882
37882
|
}
|
|
37883
37883
|
|
|
37884
|
-
var version$2 = "2.10.
|
|
37884
|
+
var version$2 = "2.10.1";
|
|
37885
37885
|
var v0 = /^(\d+)\.(\d+)\.(\d+)(-(\w+)\.\d+)?$/;
|
|
37886
37886
|
var standardVersion = /^(\d+)\.(\d+)$/;
|
|
37887
37887
|
var reverseParticle = false;
|
|
@@ -42279,6 +42279,8 @@ var DEFAULT_FPS = 60;
|
|
|
42279
42279
|
_this.canvas = canvas;
|
|
42280
42280
|
var _options_env;
|
|
42281
42281
|
_this.env = (_options_env = options == null ? void 0 : options.env) != null ? _options_env : "";
|
|
42282
|
+
var _options_ownsCanvas;
|
|
42283
|
+
_this.ownsCanvas = (_options_ownsCanvas = options == null ? void 0 : options.ownsCanvas) != null ? _options_ownsCanvas : true;
|
|
42282
42284
|
var _options_doNotHandleContextLost;
|
|
42283
42285
|
_this.doNotHandleContextLost = (_options_doNotHandleContextLost = options == null ? void 0 : options.doNotHandleContextLost) != null ? _options_doNotHandleContextLost : true;
|
|
42284
42286
|
var _options_name;
|
|
@@ -43110,7 +43112,7 @@ registerPlugin("text", TextLoader);
|
|
|
43110
43112
|
registerPlugin("sprite", SpriteLoader);
|
|
43111
43113
|
registerPlugin("particle", ParticleLoader);
|
|
43112
43114
|
registerPlugin("interact", InteractLoader);
|
|
43113
|
-
var version$1 = "2.10.
|
|
43115
|
+
var version$1 = "2.10.1";
|
|
43114
43116
|
logger.info("Core version: " + version$1 + ".");
|
|
43115
43117
|
|
|
43116
43118
|
var _obj;
|
|
@@ -44603,7 +44605,7 @@ applyMixins(exports.ThreeTextComponent, [
|
|
|
44603
44605
|
*/ Mesh.create = function(engine, props) {
|
|
44604
44606
|
return new ThreeMesh(engine, props);
|
|
44605
44607
|
};
|
|
44606
|
-
var version = "2.10.
|
|
44608
|
+
var version = "2.10.1";
|
|
44607
44609
|
logger.info("THREEJS plugin version: " + version + ".");
|
|
44608
44610
|
|
|
44609
44611
|
exports.ATLAS_SIZE = ATLAS_SIZE;
|