Skip to content

InputPlugin

Defined in: InputPlugin.ts:16

Input plugin — wires keyboard and pointer listeners, registers InputManager.

  • Plugin

new InputPlugin(config?): InputPlugin

Defined in: InputPlugin.ts:25

InputConfig

InputPlugin

readonly name: "input" = "input"

Defined in: InputPlugin.ts:17

Unique plugin name.

Plugin.name


readonly version: "2.0.0" = "2.0.0"

Defined in: InputPlugin.ts:18

Semantic version string.

Plugin.version

install(context): void

Defined in: InputPlugin.ts:29

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

EngineContext

void

Plugin.install


onDestroy(): void

Defined in: InputPlugin.ts:136

Called when the engine is destroyed.

void

Plugin.onDestroy


onStart(): void

Defined in: InputPlugin.ts:131

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

void

Plugin.onStart


registerSystems(scheduler): void

Defined in: InputPlugin.ts:126

Register systems with the scheduler. Called after install.

SystemScheduler

void

Plugin.registerSystems