@galacean/effects-core 2.0.0-alpha.26 → 2.0.0-alpha.27
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/__definations__/fbeffects-object-data.d.ts +28 -0
- package/dist/__definations__/fbeffects-package-data.d.ts +26 -0
- package/dist/__definations__/fbgeometry-data.d.ts +77 -0
- package/dist/__definations__/fbsub-mesh.d.ts +26 -0
- package/dist/__definations__/fbvertex-channel.d.ts +33 -0
- package/dist/__definations__/fbvertex-data.d.ts +27 -0
- package/dist/__definations__/index.d.ts +6 -0
- package/dist/composition-source-manager.d.ts +1 -1
- package/dist/effects-package.d.ts +15 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1646 -70
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1646 -71
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/timeline/track.d.ts +2 -2
- package/dist/vfx-item.d.ts +1 -1
- package/package.json +5 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndBehavior } from '@galacean/effects-specification';
|
|
2
2
|
import type { PlayableGraph } from '../cal/playable-graph';
|
|
3
3
|
import { Playable, PlayableAsset, PlayableOutput } from '../cal/playable-graph';
|
|
4
4
|
import { ParticleSystem } from '../particle/particle-system';
|
|
@@ -13,7 +13,7 @@ export declare class TimelineClip {
|
|
|
13
13
|
start: number;
|
|
14
14
|
duration: number;
|
|
15
15
|
asset: PlayableAsset;
|
|
16
|
-
endBehavior:
|
|
16
|
+
endBehavior: EndBehavior;
|
|
17
17
|
constructor();
|
|
18
18
|
toLocalTime(time: number): number;
|
|
19
19
|
}
|
package/dist/vfx-item.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare class VFXItem extends EffectsObject implements Disposable {
|
|
|
53
53
|
/**
|
|
54
54
|
* 元素动画结束时行为(如何处理元素)
|
|
55
55
|
*/
|
|
56
|
-
endBehavior: spec.
|
|
56
|
+
endBehavior: spec.EndBehavior | spec.ParentItemEndBehavior;
|
|
57
57
|
/**
|
|
58
58
|
* 元素是否可用
|
|
59
59
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-core",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.27",
|
|
4
4
|
"description": "Galacean Effects runtime core for the web",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,13 +42,15 @@
|
|
|
42
42
|
"registry": "https://registry.npmjs.org"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@galacean/effects-specification": "2.0.0-alpha.
|
|
45
|
+
"@galacean/effects-specification": "2.0.0-alpha.22",
|
|
46
46
|
"@galacean/effects-math": "1.1.0",
|
|
47
|
+
"flatbuffers": "24.3.25",
|
|
47
48
|
"uuid": "9.0.1"
|
|
48
49
|
},
|
|
49
50
|
"scripts": {
|
|
50
51
|
"prebuild": "pnpm clean",
|
|
51
|
-
"build": "pnpm build:declaration && pnpm build:module",
|
|
52
|
+
"build": "pnpm build:fbs && pnpm build:declaration && pnpm build:module",
|
|
53
|
+
"build:fbs": "node ../../scripts/flatc ./src/__definations__/index.fbs",
|
|
52
54
|
"build:module": "rollup -c",
|
|
53
55
|
"build:declaration": "tsc -d --emitDeclarationOnly",
|
|
54
56
|
"clean": "rimraf dist && rimraf \"*+(.tsbuildinfo)\""
|