Interface SceneStatsPanelParams

interface SceneStatsPanelParams {
    container?: HTMLElement;
    scene: Scene;
    storageKey?: string;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

scene: Scene

The Scene to surface statistics for.

storageKey?: string

localStorage key for persisting drag position + closed state. Defaults to "xkt-scs-panel". Provide a unique key per Scene if you want per-scene layout memory.

visible?: boolean

Show on construction (default true).