Skip to content

DebugPlugin

Defined in: DebugPlugin.ts:114

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

DebugConfig

DebugPlugin

readonly dependencies: readonly ["renderer"]

Defined in: DebugPlugin.ts:117

Names of plugins this plugin depends on.

Plugin.dependencies


readonly name: "debug" = "debug"

Defined in: DebugPlugin.ts:115

Unique plugin name.

Plugin.name


readonly version: "3.0.0" = "3.0.0"

Defined in: DebugPlugin.ts:116

Semantic version string.

Plugin.version

install(context): void

Defined in: DebugPlugin.ts:144

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

EngineContext

void

Plugin.install


onDestroy(): void

Defined in: DebugPlugin.ts:265

Called when the engine is destroyed.

void

Plugin.onDestroy


onStart(): Promise<void>

Defined in: DebugPlugin.ts:186

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

Promise<void>

Plugin.onStart


registerSystems(scheduler): void

Defined in: DebugPlugin.ts:180

Register systems with the scheduler. Called after install.

SystemScheduler

void

Plugin.registerSystems