Skip to content

DebugDiagnostics

Defined in: DebugPlugin.ts:89

Renderer-aware diagnostics exposed through the inspector extension namespace debug. Kept out of the core Inspector surface so the core package stays renderer-agnostic while plugins can still publish optional runtime helpers in a uniform way.

getCameraStack(): CameraStackSnapshot[]

Defined in: DebugPlugin.ts:94

CameraStackSnapshot[]


getLayerTransform(sceneName, layerName): LayerTransformSnapshot | undefined

Defined in: DebugPlugin.ts:90

string

string

LayerTransformSnapshot | undefined


isHudVisible(): boolean

Defined in: DebugPlugin.ts:96

Whether the HUD layer (text readouts) is currently visible.

boolean


setHudVisible(visible): void

Defined in: DebugPlugin.ts:105

Show/hide the HUD layer — the screen-space text readouts (FPS, system timings, entity counts). World-space debug graphics (collider outlines etc.) are unaffected. The stage re-renders immediately, so the change lands on the canvas even while the debug clock is frozen — capture tooling can hide the wall-clock-dependent text before screenshotting without stepping the simulation.

boolean

void