@rendley/sdk 1.4.0 → 1.4.2
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/Engine.d.ts +6 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/modules/clip/Clip.d.ts +15 -15
- package/dist/modules/clip/ClipStyle.d.ts +3 -0
- package/dist/modules/clip/clips/audio/AudioClip.d.ts +103 -5
- package/dist/modules/clip/clips/custom/CustomClip.d.ts +5 -5
- package/dist/modules/clip/clips/lottie/LottieClip.d.ts +5 -5
- package/dist/modules/clip/clips/shape/ShapeClip.d.ts +5 -5
- package/dist/modules/clip/clips/text/TextClip.d.ts +5 -5
- package/dist/modules/clip/clips/video/VideoClip.d.ts +104 -6
- package/dist/modules/font-registry/FontRegistry.d.ts +1 -0
- package/dist/modules/layer/Layer.d.ts +21 -10
- package/dist/modules/subtitleManager/SubtitleManager.d.ts +4 -0
- package/dist/modules/timeline/Timeline.d.ts +18 -12
- package/dist/utils/cachedAccess/cachedAccess.d.ts +2 -1
- package/package.json +1 -1
package/dist/Engine.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ type CustomClipConstructor<T extends CustomClip = CustomClip> = {
|
|
|
36
36
|
new (...args: any[]): T;
|
|
37
37
|
};
|
|
38
38
|
export declare class Engine {
|
|
39
|
-
private static instance
|
|
39
|
+
private static instance?;
|
|
40
40
|
private display;
|
|
41
41
|
private timeline;
|
|
42
42
|
private library;
|
|
@@ -54,7 +54,7 @@ export declare class Engine {
|
|
|
54
54
|
hasInstance(): boolean;
|
|
55
55
|
getFFmpeg(): import("./libs/ffmpeg").FFmpeg;
|
|
56
56
|
init(options: EngineOptions): Promise<void>;
|
|
57
|
-
destroy(): void
|
|
57
|
+
destroy(everything?: boolean): Promise<void>;
|
|
58
58
|
getProjectId(): string;
|
|
59
59
|
getDisplay(): Display;
|
|
60
60
|
getTimeline(): Timeline;
|
|
@@ -73,7 +73,7 @@ export declare class Engine {
|
|
|
73
73
|
seek(value: number): Promise<void>;
|
|
74
74
|
getRenderer(): import("./modules/display/renderer/PixiRenderer").PixiRenderer;
|
|
75
75
|
getRendererStage(): PIXI.Container<PIXI.DisplayObject> | null;
|
|
76
|
-
getClipById(clipId: string): import("
|
|
76
|
+
getClipById(clipId: string): import("./modules/clip").Clip<PIXI.Sprite, import("./modules/clip").ClipStyle<PIXI.Sprite>> | undefined;
|
|
77
77
|
getClipsIdsForPoint(x: number, y: number): null;
|
|
78
78
|
setSubtitles(subtitlesId: string, offset: number): void;
|
|
79
79
|
shouldSplitAudio(): boolean;
|
|
@@ -94,8 +94,6 @@ export declare class Engine {
|
|
|
94
94
|
fps: number;
|
|
95
95
|
layers: {
|
|
96
96
|
id: string;
|
|
97
|
-
isEnabled: boolean;
|
|
98
|
-
isMuted: boolean;
|
|
99
97
|
clips: any[];
|
|
100
98
|
transitions: {
|
|
101
99
|
name: string;
|
|
@@ -107,6 +105,9 @@ export declare class Engine {
|
|
|
107
105
|
outDuration: number;
|
|
108
106
|
transitionSrc: string;
|
|
109
107
|
}[];
|
|
108
|
+
visible?: boolean | undefined;
|
|
109
|
+
muted?: boolean | undefined;
|
|
110
|
+
volume?: number | undefined;
|
|
110
111
|
}[];
|
|
111
112
|
fitDuration: number;
|
|
112
113
|
};
|