Interface ExportBCFPanelParams

interface ExportBCFPanelParams {
    container?: HTMLElement;
    renderer?: WebGLRenderer;
    storageKey?: string;
    view: View;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

renderer?: WebGLRenderer

Renderer used to capture the snapshot image. When omitted, the Snapshot option is disabled — saveBCFViewpoint itself never reads the canvas, so the snapshot field has to be filled in by the panel from renderer.getSnapshot(view).

storageKey?: string

localStorage key for persisting drag position + closed state. Defaults to "xkt-bcf-panel".

view: View

View whose state gets captured into the BCF viewpoint. Doubles as the WeakMap key for ExportBCFPanel.openFor idempotence — one panel per View.

visible?: boolean

Show on construction (default true).