Interface RendererPanelParams

interface RendererPanelParams {
    container?: HTMLElement;
    renderer: WebGLRenderer;
    storageKey?: string;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

renderer: WebGLRenderer

Renderer whose RenderInspector the panel surfaces. Doubles as the WeakMap key for RendererPanel.openFor idempotence — one panel per renderer.

storageKey?: string

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

visible?: boolean

Show on construction (default true).