Skip to content

DebugDiagnostics

Defined in: DebugPlugin.ts:102

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:107

CameraStackSnapshot[]


getLayerTransform(sceneName, layerName): LayerTransformSnapshot | undefined

Defined in: DebugPlugin.ts:103

string

string

LayerTransformSnapshot | undefined


isHudVisible(): boolean

Defined in: DebugPlugin.ts:109

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

boolean


setHudVisible(visible): void

Defined in: DebugPlugin.ts:118

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

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/debug.md.