@galacean/effects 0.0.1-alpha.2 → 0.0.1-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/README.md +5 -6
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/weapp.js +7 -3
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +7 -3
- package/dist/weapp.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
# Galacean Effects Player
|
|
2
2
|
|
|
3
|
-
Galacean Effects Player
|
|
4
|
-
Galacean Effects Player 的底层渲染引擎是 WebGL,能够高性能地支持粒子、3D、滤镜等特性,实时展现惊艳的视觉表现效果。
|
|
3
|
+
Galacean Effects Player is used to play the animations created with Galacean Effects. The underlying rendering engine of Galacean Effects Player is WebGL, which provides high-performance support for features such as particles, 3D, and filters, allowing for stunning visual effects in real-time.
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## Documentation
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
By reading the [Galacean Effects Developer Documentation](https://galacean.antgroup.com/effects/#/user/gasrv4ka5sacrwpg), you will learn more about how to develop interactive projects using Galacean Effects Player.
|
|
9
8
|
|
|
10
|
-
## API
|
|
9
|
+
## API Documentation
|
|
11
10
|
|
|
12
|
-
[Galacean Effects API
|
|
11
|
+
[Galacean Effects API Documentation](https://galacean.antgroup.com/effects/#/api/modules_galacean_effects)
|
|
13
12
|
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime player for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v0.0.1-alpha.
|
|
6
|
+
* Version: v0.0.1-alpha.3
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -15260,7 +15260,7 @@ var SpriteGroup = /** @class */ (function () {
|
|
|
15260
15260
|
for (var i = startIndex; i <= endIndex; i++) {
|
|
15261
15261
|
var item = items[i];
|
|
15262
15262
|
// 不可见的元素跳过 不参与合并
|
|
15263
|
-
if (!init && (!item.
|
|
15263
|
+
if (!init && (!item.started || item.lifetime < 0)) {
|
|
15264
15264
|
continue;
|
|
15265
15265
|
}
|
|
15266
15266
|
if (!isSprite(item)) {
|
|
@@ -19465,6 +19465,10 @@ var CalculateVFXItem = /** @class */ (function (_super) {
|
|
|
19465
19465
|
CalculateVFXItem.prototype.setScale = function (x, y, z) {
|
|
19466
19466
|
this.content.startSize = [x, y, z];
|
|
19467
19467
|
};
|
|
19468
|
+
CalculateVFXItem.prototype.scale = function (x, y, z) {
|
|
19469
|
+
var startSize = this.content.startSize.slice();
|
|
19470
|
+
this.content.startSize = [x * startSize[0], y * startSize[1], z * startSize[2]];
|
|
19471
|
+
};
|
|
19468
19472
|
CalculateVFXItem.prototype.getHitTestParams = function (force) {
|
|
19469
19473
|
};
|
|
19470
19474
|
CalculateVFXItem.prototype.getRenderData = function () {
|
|
@@ -31139,9 +31143,9 @@ Renderer.create = function (canvas, framework, renderOptions) {
|
|
|
31139
31143
|
Engine.create = function (gl) {
|
|
31140
31144
|
return new GLEngine(gl);
|
|
31141
31145
|
};
|
|
31142
|
-
var version = "0.0.1-alpha.
|
|
31146
|
+
var version = "0.0.1-alpha.3";
|
|
31143
31147
|
console.info({
|
|
31144
|
-
content: '[Galacean Effects Player] version: ' + "0.0.1-alpha.
|
|
31148
|
+
content: '[Galacean Effects Player] version: ' + "0.0.1-alpha.3",
|
|
31145
31149
|
type: LOG_TYPE,
|
|
31146
31150
|
});
|
|
31147
31151
|
|