Interface TilesPanelParams

interface TilesPanelParams {
    container?: HTMLElement;
    renderStats: RenderStats;
    scene: Scene;
    storageKey?: string;
    view: View;
    visible?: boolean;
}

Properties

container?: HTMLElement

DOM container; defaults to document.body.

renderStats: RenderStats

Live RenderStats produced by the renderer's RenderInspector. Mutated in place each frame; the panel reads renderStats.tiles on each refresh.

scene: Scene

The Scene the renderer is attached to.

storageKey?: string

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

view: View

View used to derive the "you are here" camera glyph's position + orientation on each projection.

visible?: boolean

Show on construction (default true).