@cesdk/node 1.63.0-nightly.20251024 → 1.64.0-nightly.20251025
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.63.0-nightly.20251024-2ZX5Q3X6.wasm → cesdk-v1.64.0-nightly.20251025-KL6I65LI.wasm} +0 -0
- package/index.d.ts +34 -3
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.63.0-nightly.20251024-44YCFRT6.data → cesdk-v1.64.0-nightly.20251025-44YCFRT6.data} +0 -0
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -135,8 +135,8 @@ export declare type ApplicationMimeType = Extract<MimeType_2, 'application/octet
|
|
|
135
135
|
export declare interface ApplyAssetOptions {
|
|
136
136
|
/**
|
|
137
137
|
* How the asset should be placed in the scene.
|
|
138
|
-
* - 'clip':
|
|
139
|
-
* - 'overlay':
|
|
138
|
+
* - 'clip': Background clip placed on background track
|
|
139
|
+
* - 'overlay': Foreground overlay placed at playhead
|
|
140
140
|
*/
|
|
141
141
|
clipType?: 'clip' | 'overlay';
|
|
142
142
|
/**
|
|
@@ -554,7 +554,7 @@ export declare class AssetAPI {
|
|
|
554
554
|
*
|
|
555
555
|
* @example
|
|
556
556
|
* ```javascript
|
|
557
|
-
* //
|
|
557
|
+
* // Foreground overlay placement
|
|
558
558
|
* await engine.asset.apply('asset-source-id', assetResult.assets[0], {
|
|
559
559
|
* clipType: 'overlay'
|
|
560
560
|
* });
|
|
@@ -6716,6 +6716,37 @@ export declare class EditorAPI {
|
|
|
6716
6716
|
* @param enabled - Whether or not the block should show highlighting when selected or hovered.
|
|
6717
6717
|
*/
|
|
6718
6718
|
setHighlightingEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
6719
|
+
/**
|
|
6720
|
+
* Set global safe area insets for UI overlays.
|
|
6721
|
+
*
|
|
6722
|
+
* Safe area insets define UI-safe regions by specifying padding from screen edges.
|
|
6723
|
+
* These insets are automatically applied to all camera operations (zoom, pan, clamping)
|
|
6724
|
+
* to ensure important content remains visible when UI elements overlap the viewport edges.
|
|
6725
|
+
* Set to zero to disable (default state).
|
|
6726
|
+
*
|
|
6727
|
+
* @param insets - The inset values in CSS pixels (device-independent)
|
|
6728
|
+
* @public
|
|
6729
|
+
* @category Viewport
|
|
6730
|
+
*/
|
|
6731
|
+
setSafeAreaInsets(insets: {
|
|
6732
|
+
left?: number;
|
|
6733
|
+
top?: number;
|
|
6734
|
+
right?: number;
|
|
6735
|
+
bottom?: number;
|
|
6736
|
+
}): void;
|
|
6737
|
+
/**
|
|
6738
|
+
* Get the current global safe area insets configuration.
|
|
6739
|
+
*
|
|
6740
|
+
* @returns The current inset values in CSS pixels (device-independent)
|
|
6741
|
+
* @public
|
|
6742
|
+
* @category Viewport
|
|
6743
|
+
*/
|
|
6744
|
+
getSafeAreaInsets(): {
|
|
6745
|
+
left: number;
|
|
6746
|
+
top: number;
|
|
6747
|
+
right: number;
|
|
6748
|
+
bottom: number;
|
|
6749
|
+
};
|
|
6719
6750
|
/**
|
|
6720
6751
|
* Checks whether the block can currently be selected.
|
|
6721
6752
|
*
|