@cesdk/node 1.65.0-rc.1 → 1.65.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.
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -7630,9 +7630,10 @@ export declare class SceneAPI {
|
|
|
7630
7630
|
* @category Scene Loading
|
|
7631
7631
|
* @param sceneContent - The scene file contents, a base64 string.
|
|
7632
7632
|
* @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
|
|
7633
|
+
* @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
|
|
7633
7634
|
* @returns A handle to the loaded scene.
|
|
7634
7635
|
*/
|
|
7635
|
-
loadFromString(sceneContent: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
|
|
7636
|
+
loadFromString(sceneContent: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
|
|
7636
7637
|
/**
|
|
7637
7638
|
* Load a scene from the URL to the scene file.
|
|
7638
7639
|
*
|
|
@@ -7646,9 +7647,10 @@ export declare class SceneAPI {
|
|
|
7646
7647
|
* @category Scene Loading
|
|
7647
7648
|
* @param url - The URL of the scene file.
|
|
7648
7649
|
* @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
|
|
7650
|
+
* @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
|
|
7649
7651
|
* @returns scene A promise that resolves once the scene was loaded or rejects with an error otherwise.
|
|
7650
7652
|
*/
|
|
7651
|
-
loadFromURL(url: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
|
|
7653
|
+
loadFromURL(url: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
|
|
7652
7654
|
/**
|
|
7653
7655
|
* Load a previously archived scene from the URL to the scene file.
|
|
7654
7656
|
*
|
|
@@ -7658,9 +7660,10 @@ export declare class SceneAPI {
|
|
|
7658
7660
|
* @category Scene Loading
|
|
7659
7661
|
* @param url - The URL of the scene archive file.
|
|
7660
7662
|
* @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
|
|
7663
|
+
* @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
|
|
7661
7664
|
* @returns scene A promise that resolves once the scene was loaded or rejects with an error otherwise.
|
|
7662
7665
|
*/
|
|
7663
|
-
loadFromArchiveURL(url: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
|
|
7666
|
+
loadFromArchiveURL(url: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
|
|
7664
7667
|
/**
|
|
7665
7668
|
* Serializes the current scene into a string. Selection is discarded.
|
|
7666
7669
|
*
|