Skip to content

DebugPlugin

Defined in: DebugPlugin.ts:44

Debug overlay plugin. Depends on the renderer plugin.

  • Plugin

new DebugPlugin(config?): DebugPlugin

Defined in: DebugPlugin.ts:65

DebugConfig

DebugPlugin

readonly dependencies: readonly ["renderer"]

Defined in: DebugPlugin.ts:47

Names of plugins this plugin depends on.

Plugin.dependencies


readonly name: "debug" = "debug"

Defined in: DebugPlugin.ts:45

Unique plugin name.

Plugin.name


readonly version: "2.0.0" = "2.0.0"

Defined in: DebugPlugin.ts:46

Semantic version string.

Plugin.version

install(context): void

Defined in: DebugPlugin.ts:69

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

EngineContext

void

Plugin.install


onDestroy(): void

Defined in: DebugPlugin.ts:192

Called when the engine is destroyed.

void

Plugin.onDestroy


onStart(): void

Defined in: DebugPlugin.ts:136

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

void

Plugin.onStart


registerSystems(scheduler): void

Defined in: DebugPlugin.ts:121

Register systems with the scheduler. Called after install.

SystemScheduler

void

Plugin.registerSystems