@vvfx/sdk 0.1.5 → 0.1.7-alpha.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/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -451,7 +451,7 @@ type MP4Config = {
|
|
|
451
451
|
/**
|
|
452
452
|
* @description MP4 导出时是否需要导出最后一帧 PNG
|
|
453
453
|
*/
|
|
454
|
-
|
|
454
|
+
isExportLastFrameJPEG?: boolean;
|
|
455
455
|
};
|
|
456
456
|
type GifConfig = {
|
|
457
457
|
/**
|
|
@@ -1552,6 +1552,7 @@ declare class SDK {
|
|
|
1552
1552
|
getVideoItemPlayTime(id: string): number;
|
|
1553
1553
|
setVideoItemPlayTime(id: string, time: number): void;
|
|
1554
1554
|
getPixelPositionByViewPosition(viewPosition: Vector2): Vector2;
|
|
1555
|
+
hitTest(x: number, y: number): string[] | undefined;
|
|
1555
1556
|
}
|
|
1556
1557
|
|
|
1557
1558
|
type SizeAdaptDirection = 'x' | 'y';
|
package/dist/index.d.ts
CHANGED
|
@@ -451,7 +451,7 @@ type MP4Config = {
|
|
|
451
451
|
/**
|
|
452
452
|
* @description MP4 导出时是否需要导出最后一帧 PNG
|
|
453
453
|
*/
|
|
454
|
-
|
|
454
|
+
isExportLastFrameJPEG?: boolean;
|
|
455
455
|
};
|
|
456
456
|
type GifConfig = {
|
|
457
457
|
/**
|
|
@@ -1552,6 +1552,7 @@ declare class SDK {
|
|
|
1552
1552
|
getVideoItemPlayTime(id: string): number;
|
|
1553
1553
|
setVideoItemPlayTime(id: string, time: number): void;
|
|
1554
1554
|
getPixelPositionByViewPosition(viewPosition: Vector2): Vector2;
|
|
1555
|
+
hitTest(x: number, y: number): string[] | undefined;
|
|
1555
1556
|
}
|
|
1556
1557
|
|
|
1557
1558
|
type SizeAdaptDirection = 'x' | 'y';
|