DebugConfig
Defined in: DebugPlugin.ts:26
Configuration for the DebugPlugin.
Properties
Section titled “Properties”flags?
Section titled “flags?”
optionalflags?:Record<string,boolean>
Defined in: DebugPlugin.ts:40
Initial flag overrides, keyed by “contributorName.flagName”.
manualClock?
Section titled “manualClock?”
optionalmanualClock?:boolean
Defined in: DebugPlugin.ts:30
When true, stop the renderer ticker and advance simulation manually via window.__yage__.clock.
maxGraphics?
Section titled “maxGraphics?”
optionalmaxGraphics?:number
Defined in: DebugPlugin.ts:34
Max pooled Graphics objects. Default: 256
maxHudLines?
Section titled “maxHudLines?”
optionalmaxHudLines?:number
Defined in: DebugPlugin.ts:36
Max HUD text lines. Default: 32
startEnabled?
Section titled “startEnabled?”
optionalstartEnabled?:boolean
Defined in: DebugPlugin.ts:38
Whether the overlay starts enabled. Default: false
stepKey?
Section titled “stepKey?”
optionalstepKey?:string
Defined in: DebugPlugin.ts:32
Key code to advance one fixed-timestep frame while manual clock mode is active. Default: “Period”
toggleKey?
Section titled “toggleKey?”
optionaltoggleKey?:string
Defined in: DebugPlugin.ts:28
Key code to toggle debug overlay. Default: “Backquote”