Skip to content

DebugPlugin

Defined in: DebugPlugin.ts:103

Debug overlay plugin. Mounts a private DebugScene through SceneManager._mountDetached so it goes through the same scoped-DI lifecycle as stacked scenes (the renderer’s beforeEnter hook creates its render tree) while staying off the user-visible scene stack.

  • Plugin

new DebugPlugin(config?): DebugPlugin

Defined in: DebugPlugin.ts:128

DebugConfig

DebugPlugin

readonly dependencies: readonly ["renderer"]

Defined in: DebugPlugin.ts:106

Names of plugins this plugin depends on.

Plugin.dependencies


readonly name: "debug" = "debug"

Defined in: DebugPlugin.ts:104

Unique plugin name.

Plugin.name


readonly version: "3.0.0" = "3.0.0"

Defined in: DebugPlugin.ts:105

Semantic version string.

Plugin.version

install(context): void

Defined in: DebugPlugin.ts:132

Install services into the engine context. Called in topological order.

EngineContext

void

Plugin.install


onDestroy(): void

Defined in: DebugPlugin.ts:253

Called when the engine is destroyed.

void

Plugin.onDestroy


onStart(): Promise<void>

Defined in: DebugPlugin.ts:174

Called after all plugins are installed and the engine has started.

Promise<void>

Plugin.onStart


registerSystems(scheduler): void

Defined in: DebugPlugin.ts:168

Register systems with the scheduler. Called after install.

SystemScheduler

void

Plugin.registerSystems