@cesdk/engine 1.67.0-nightly.20251209 → 1.67.0-nightly.20251210

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/index.d.ts CHANGED
@@ -8172,9 +8172,10 @@ export declare class SceneAPI {
8172
8172
  * @category Scene Loading
8173
8173
  * @param sceneContent - The scene file contents, a base64 string.
8174
8174
  * @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
8175
+ * @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
8175
8176
  * @returns A handle to the loaded scene.
8176
8177
  */
8177
- loadFromString(sceneContent: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
8178
+ loadFromString(sceneContent: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
8178
8179
  /**
8179
8180
  * Load a scene from the URL to the scene file.
8180
8181
  *
@@ -8188,9 +8189,10 @@ export declare class SceneAPI {
8188
8189
  * @category Scene Loading
8189
8190
  * @param url - The URL of the scene file.
8190
8191
  * @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
8192
+ * @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
8191
8193
  * @returns scene A promise that resolves once the scene was loaded or rejects with an error otherwise.
8192
8194
  */
8193
- loadFromURL(url: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
8195
+ loadFromURL(url: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
8194
8196
  /**
8195
8197
  * Load a previously archived scene from the URL to the scene file.
8196
8198
  *
@@ -8200,9 +8202,10 @@ export declare class SceneAPI {
8200
8202
  * @category Scene Loading
8201
8203
  * @param url - The URL of the scene archive file.
8202
8204
  * @param overrideEditorConfig - Whether to override editor configuration with settings and data from the scene file. Defaults to false.
8205
+ * @param waitForResources - Whether to wait for all resources to finish loading before resolving. Defaults to false.
8203
8206
  * @returns scene A promise that resolves once the scene was loaded or rejects with an error otherwise.
8204
8207
  */
8205
- loadFromArchiveURL(url: string, overrideEditorConfig?: boolean): Promise<DesignBlockId>;
8208
+ loadFromArchiveURL(url: string, overrideEditorConfig?: boolean, waitForResources?: boolean): Promise<DesignBlockId>;
8206
8209
  /**
8207
8210
  * Serializes the current scene into a string. Selection is discarded.
8208
8211
  *