@cesdk/node 1.67.0-nightly.20251209 → 1.67.0-nightly.20251211
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.67.0-nightly.20251209-O653WPVD.wasm → cesdk-v1.67.0-nightly.20251211-4GSQCCXL.wasm} +0 -0
- package/index.d.ts +6 -3
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.67.0-nightly.20251209-44YCFRT6.data → cesdk-v1.67.0-nightly.20251211-44YCFRT6.data} +0 -0
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -7649,9 +7649,10 @@ export declare class SceneAPI {
|
|
|
7649
7649
|
* @category Scene Loading
|
|
7650
7650
|
* @param sceneContent - The scene file contents, a base64 string.
|
|
7651
7651
|
* @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
|
|
7652
|
+
* @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
|
|
7652
7653
|
* @returns A handle to the loaded scene.
|
|
7653
7654
|
*/
|
|
7654
|
-
loadFromString(sceneContent: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
|
|
7655
|
+
loadFromString(sceneContent: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
|
|
7655
7656
|
/**
|
|
7656
7657
|
* Load a scene from the URL to the scene file.
|
|
7657
7658
|
*
|
|
@@ -7665,9 +7666,10 @@ export declare class SceneAPI {
|
|
|
7665
7666
|
* @category Scene Loading
|
|
7666
7667
|
* @param url - The URL of the scene file.
|
|
7667
7668
|
* @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
|
|
7669
|
+
* @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
|
|
7668
7670
|
* @returns scene A promise that resolves once the scene was loaded or rejects with an error otherwise.
|
|
7669
7671
|
*/
|
|
7670
|
-
loadFromURL(url: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
|
|
7672
|
+
loadFromURL(url: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
|
|
7671
7673
|
/**
|
|
7672
7674
|
* Load a previously archived scene from the URL to the scene file.
|
|
7673
7675
|
*
|
|
@@ -7677,9 +7679,10 @@ export declare class SceneAPI {
|
|
|
7677
7679
|
* @category Scene Loading
|
|
7678
7680
|
* @param url - The URL of the scene archive file.
|
|
7679
7681
|
* @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
|
|
7682
|
+
* @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
|
|
7680
7683
|
* @returns scene A promise that resolves once the scene was loaded or rejects with an error otherwise.
|
|
7681
7684
|
*/
|
|
7682
|
-
loadFromArchiveURL(url: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
|
|
7685
|
+
loadFromArchiveURL(url: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
|
|
7683
7686
|
/**
|
|
7684
7687
|
* Serializes the current scene into a string. Selection is discarded.
|
|
7685
7688
|
*
|