VidStudio SDK reference
    Preparing search index...

    Interface EditorBackendDeps

    interface EditorBackendDeps {
        options?: EngineOptions;
        previewCanvas?: HTMLCanvasElement;
        projectId: string;
        services?: EngineServices;
        store: ModelStore;
        undoManager?: UndoManager;
    }
    Index
    options?: EngineOptions

    What the engine would otherwise read from the page; see EngineOptions.

    previewCanvas?: HTMLCanvasElement

    Leave out to run headless: no player is created and engine methods throw.

    projectId: string
    services?: EngineServices

    File storage and monitoring. Each one left out is the store's. Wins over options.services.

    store: ModelStore
    undoManager?: UndoManager

    Tests may share one manager; production callers let the backend own it.