loadScene() function

Helper to load a SceneInterface.

Signature:

declare function loadScene(ctx: Context, options?: Partial<SceneOptions> | undefined): Promise<SceneInterface>;

Parameters

Parameter

Type

Description

ctx

Context

options

Partial<SceneOptions> | undefined

(Optional)

**Returns:**

Promise<SceneInterface>

Remarks

This helper allows you to provide all scene options and load up a scene without having to interact with AdapterInterface internals.

Example

const ctx = createContext(...);
const design = await loadDesign(ctx, 'core3d:design:...');
const scene = await loadScene(ctx, { target: design });
Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2025 Core3D, Inc. All Rights Reserved.