@vvfx/ge-ir 0.0.1-beta.6 → 0.0.1-beta.7
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/ge2ir/converter.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +131 -87
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +130 -88
- package/dist/index.mjs.map +1 -1
- package/dist/ir2ge/builders/animation.d.ts +8 -0
- package/package.json +2 -2
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { IRComposition, IRLayerNode } from '@vvfx/animation-ir';
|
|
2
2
|
import type { LayerProcessingContext, TransformAnimation } from '../types';
|
|
3
3
|
export declare function buildTransformAnimation(layer: IRLayerNode, ctx: LayerProcessingContext): TransformAnimation;
|
|
4
|
+
/**
|
|
5
|
+
* Encode normalized IR transform channels as GE timeline payloads without
|
|
6
|
+
* consulting composition-specific passthrough data. Sibling converters use
|
|
7
|
+
* this when they need the canonical curve encoding for a preserved sub-scene.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildNormalizedTransformAnimation(layer: IRLayerNode, ctx: Pick<LayerProcessingContext, 'width' | 'height'>): TransformAnimation;
|
|
4
10
|
export declare function buildColorAnimation(layer: IRLayerNode, ir: IRComposition): Record<string, unknown> | undefined;
|
|
11
|
+
/** Encode normalized IR opacity as a GE color-over-lifetime payload. */
|
|
12
|
+
export declare function buildNormalizedColorAnimation(layer: IRLayerNode): Record<string, unknown> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vvfx/ge-ir",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.7",
|
|
4
4
|
"description": "Galacean Effects and animation IR bidirectional conversion package",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@galacean/effects-specification": "^2.8.0",
|
|
20
20
|
"uuid": "^13.0.0",
|
|
21
|
-
"@vvfx/animation-ir": "0.0.1-beta.
|
|
21
|
+
"@vvfx/animation-ir": "0.0.1-beta.7"
|
|
22
22
|
},
|
|
23
23
|
"contributors": [
|
|
24
24
|
{
|