@agrhub/engine-pixi 1.3.3 → 1.4.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/NOTICE.md +2 -0
- package/dist/animation/mask-animation.d.ts +25 -0
- package/dist/animation/types.d.ts +7 -1
- package/dist/clips/caption-clip.d.ts +2 -0
- package/dist/clips/iclip.d.ts +4 -0
- package/dist/clips/transition-clip.d.ts +4 -0
- package/dist/clips/video-clip.d.ts +1 -0
- package/dist/compositor/effect-manager.d.ts +3 -1
- package/dist/index.es.js +1665 -1554
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.cjs +93 -93
- package/dist/index.umd.cjs.map +1 -1
- package/dist/json-serialization.d.ts +2 -0
- package/dist/sprite/base-sprite.d.ts +18 -0
- package/dist/sprite/pixi-sprite-renderer.d.ts +1 -0
- package/dist/standalone/index.es.js +3287 -3114
- package/dist/standalone/index.es.js.map +1 -1
- package/dist/studio.d.ts +3 -1
- package/dist/transition/transition.d.ts +1 -1
- package/dist/transition/types.d.ts +2 -0
- package/package.json +2 -2
package/dist/studio.d.ts
CHANGED
|
@@ -129,6 +129,8 @@ export interface StudioTrack {
|
|
|
129
129
|
name: string;
|
|
130
130
|
type: string;
|
|
131
131
|
clipIds: string[];
|
|
132
|
+
/** Silences every clip on the track without changing their own volume/muted */
|
|
133
|
+
muted?: boolean;
|
|
132
134
|
}
|
|
133
135
|
export declare class Studio extends EventEmitter<StudioEvents> {
|
|
134
136
|
selection: SelectionManager;
|
|
@@ -206,7 +208,7 @@ export declare class Studio extends EventEmitter<StudioEvents> {
|
|
|
206
208
|
render({ width, height, canvasTexture, progress, values: runtimeValues, }: import('./effect/types').EffectRendererOptions): RenderTexture;
|
|
207
209
|
}>;
|
|
208
210
|
transitionRenderers: Map<string, {
|
|
209
|
-
render({ width, height, from, to, progress }: import('./transition/types').TransitionRendererOptions): RenderTexture;
|
|
211
|
+
render({ width, height, from, to, progress, values }: import('./transition/types').TransitionRendererOptions): RenderTexture;
|
|
210
212
|
destroy(): void;
|
|
211
213
|
}>;
|
|
212
214
|
transitionSprites: Map<string, Sprite>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RenderTexture } from 'pixi.js';
|
|
2
2
|
import { TransitionOptions, TransitionRendererOptions } from './types';
|
|
3
3
|
export declare function makeTransition({ name, renderer }: TransitionOptions): {
|
|
4
|
-
render({ width, height, from, to, progress }: TransitionRendererOptions): RenderTexture;
|
|
4
|
+
render({ width, height, from, to, progress, values }: TransitionRendererOptions): RenderTexture;
|
|
5
5
|
destroy(): void;
|
|
6
6
|
};
|
|
@@ -10,6 +10,8 @@ export interface TransitionRendererOptions {
|
|
|
10
10
|
progress: number;
|
|
11
11
|
width: number;
|
|
12
12
|
height: number;
|
|
13
|
+
/** Uniform overrides (only keys the shader declares are applied) */
|
|
14
|
+
values?: Record<string, any>;
|
|
13
15
|
}
|
|
14
16
|
export interface GLTransition {
|
|
15
17
|
author?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agrhub/engine-pixi",
|
|
3
3
|
"description": "PixiJS/WebCodecs rendering engine for the AgrHub video editor (fork of @openvideo/engine-pixi)",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mp4",
|
|
7
7
|
"rendering",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"pixi.js": "^8.14.3",
|
|
48
48
|
"wave-resampler": "^1.0.0",
|
|
49
49
|
"wrapbox": "^0.1.0",
|
|
50
|
-
"@agrhub/core": "^1.
|
|
50
|
+
"@agrhub/core": "^1.4.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@vitest/browser": "^4.0.18",
|