@cesdk/engine 1.55.0-nightly.20250626 → 1.55.0-rc.0
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/assets/core/{cesdk-v1.55.0-nightly.20250626-N7VOQLWB.wasm → cesdk-v1.55.0-rc.0-36AZY5S7.wasm} +0 -0
- package/assets/core/worker-host-v1.55.0-rc.0.js +1 -0
- package/index.d.ts +16 -2
- package/index.js +1 -1
- package/package.json +1 -1
- package/assets/core/worker-host-v1.55.0-nightly.20250626.js +0 -1
- /package/assets/core/{cesdk-v1.55.0-nightly.20250626-44YCFRT6.data → cesdk-v1.55.0-rc.0-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -634,7 +634,7 @@ export declare type AudioMimeType = Extract<MimeType_2, 'audio/wav'>;
|
|
|
634
634
|
/**
|
|
635
635
|
* @public
|
|
636
636
|
*/
|
|
637
|
-
export declare type BlendMode = 'PassThrough' | 'Normal' | 'Darken' | 'Multiply' | 'ColorBurn' | 'Lighten' | 'Screen' | 'ColorDodge' | 'Overlay' | 'SoftLight' | 'HardLight' | 'Difference' | 'Exclusion' | 'Hue' | 'Saturation' | 'Color' | 'Luminosity';
|
|
637
|
+
export declare type BlendMode = 'PassThrough' | 'Normal' | 'Darken' | 'Multiply' | 'ColorBurn' | 'LinearBurn' | 'DarkenColor' | 'Lighten' | 'Screen' | 'ColorDodge' | 'LinearDodge' | 'LightenColor' | 'Overlay' | 'SoftLight' | 'HardLight' | 'VividLight' | 'LinearLight' | 'PinLight' | 'HardMix' | 'Difference' | 'Exclusion' | 'Subtract' | 'Divide' | 'Hue' | 'Saturation' | 'Color' | 'Luminosity';
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
640
|
* @public
|
|
@@ -3056,7 +3056,8 @@ export declare class BlockAPI {
|
|
|
3056
3056
|
getVideoHeight(id: DesignBlockId): number;
|
|
3057
3057
|
/**
|
|
3058
3058
|
* Generate a sequence of thumbnails for the given video fill or design block.
|
|
3059
|
-
* Note:
|
|
3059
|
+
* Note: There can only be one thumbnail generation request in progress for a given block.
|
|
3060
|
+
* Note: During playback, the thumbnail generation will be paused.
|
|
3060
3061
|
* @param id - The video fill or design block.
|
|
3061
3062
|
* @param thumbnailHeight - The height of a thumbnail. The width will be calculated from the video aspect ratio.
|
|
3062
3063
|
* @param timeBegin - The time in seconds relative to the time offset of the design block at which the thumbnail sequence should start.
|
|
@@ -3070,6 +3071,7 @@ export declare class BlockAPI {
|
|
|
3070
3071
|
* Generate a thumbnail sequence for the given audio block or video fill.
|
|
3071
3072
|
* A thumbnail in this case is a chunk of samples in the range of 0 to 1.
|
|
3072
3073
|
* In case stereo data is requested, the samples are interleaved, starting with the left channel.
|
|
3074
|
+
* Note: During playback, the thumbnail generation will be paused.
|
|
3073
3075
|
* @param id - The audio block or video fill.
|
|
3074
3076
|
* @param samplesPerChunk - The number of samples per chunk. `onChunk` is called when this many samples are ready.
|
|
3075
3077
|
* @param timeBegin - The time in seconds at which the thumbnail sequence should start.
|
|
@@ -4047,6 +4049,18 @@ export declare class EditorAPI {
|
|
|
4047
4049
|
* @param relocatedURL - The new URL of the resource.
|
|
4048
4050
|
*/
|
|
4049
4051
|
relocateResource(currentUrl: string, relocatedUrl: string): void;
|
|
4052
|
+
/**
|
|
4053
|
+
* Checks wether the block has selection and hover highlighting enabled or disabled.
|
|
4054
|
+
* @param id - The block to query.
|
|
4055
|
+
* @returns True if highlighting is enabled, false otherwise.
|
|
4056
|
+
*/
|
|
4057
|
+
isHighlightingEnabled(id: DesignBlockId): boolean;
|
|
4058
|
+
/**
|
|
4059
|
+
* Enable or disable selection and hover highlighting for a block.
|
|
4060
|
+
* @param id - The block to update.
|
|
4061
|
+
* @param enabled - Whether or not the block should show highlighting when selected or hovered.
|
|
4062
|
+
*/
|
|
4063
|
+
setHighlightingEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
4050
4064
|
}
|
|
4051
4065
|
|
|
4052
4066
|
/**
|