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.
Methods
Section titled “Methods”getCameraStack()
Section titled “getCameraStack()”getCameraStack():
CameraStackSnapshot[]
Defined in: DebugPlugin.ts:94
Returns
Section titled “Returns”getLayerTransform()
Section titled “getLayerTransform()”getLayerTransform(
sceneName,layerName):LayerTransformSnapshot|undefined
Defined in: DebugPlugin.ts:90
Parameters
Section titled “Parameters”sceneName
Section titled “sceneName”string
layerName
Section titled “layerName”string
Returns
Section titled “Returns”LayerTransformSnapshot | undefined
isHudVisible()
Section titled “isHudVisible()”isHudVisible():
boolean
Defined in: DebugPlugin.ts:96
Whether the HUD layer (text readouts) is currently visible.
Returns
Section titled “Returns”boolean
setHudVisible()
Section titled “setHudVisible()”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.
Parameters
Section titled “Parameters”visible
Section titled “visible”boolean
Returns
Section titled “Returns”void