Skip to content

DebugPlugin

Defined in: DebugPlugin.ts:83

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

DebugConfig

DebugPlugin

readonly dependencies: readonly ["renderer"]

Defined in: DebugPlugin.ts:86

Names of plugins this plugin depends on.

Plugin.dependencies


readonly name: "debug" = "debug"

Defined in: DebugPlugin.ts:84

Unique plugin name.

Plugin.name


readonly version: "3.0.0" = "3.0.0"

Defined in: DebugPlugin.ts:85

Semantic version string.

Plugin.version

install(context): void

Defined in: DebugPlugin.ts:112

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

EngineContext

void

Plugin.install


onDestroy(): void

Defined in: DebugPlugin.ts:213

Called when the engine is destroyed.

void

Plugin.onDestroy


onStart(): Promise<void>

Defined in: DebugPlugin.ts:139

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

Promise<void>

Plugin.onStart


registerSystems(scheduler): void

Defined in: DebugPlugin.ts:133

Register systems with the scheduler. Called after install.

SystemScheduler

void

Plugin.registerSystems