DebugPlugin
Defined in: DebugPlugin.ts:44
Debug overlay plugin. Depends on the renderer plugin.
Implements
Section titled “Implements”Plugin
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DebugPlugin(
config?):DebugPlugin
Defined in: DebugPlugin.ts:65
Parameters
Section titled “Parameters”config?
Section titled “config?”Returns
Section titled “Returns”DebugPlugin
Properties
Section titled “Properties”dependencies
Section titled “dependencies”
readonlydependencies: readonly ["renderer"]
Defined in: DebugPlugin.ts:47
Names of plugins this plugin depends on.
Implementation of
Section titled “Implementation of”Plugin.dependencies
readonlyname:"debug"="debug"
Defined in: DebugPlugin.ts:45
Unique plugin name.
Implementation of
Section titled “Implementation of”Plugin.name
version
Section titled “version”
readonlyversion:"2.0.0"="2.0.0"
Defined in: DebugPlugin.ts:46
Semantic version string.
Implementation of
Section titled “Implementation of”Plugin.version
Methods
Section titled “Methods”install()
Section titled “install()”install(
context):void
Defined in: DebugPlugin.ts:69
Install services into the engine context. Called in topological order.
Parameters
Section titled “Parameters”context
Section titled “context”EngineContext
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.install
onDestroy()
Section titled “onDestroy()”onDestroy():
void
Defined in: DebugPlugin.ts:192
Called when the engine is destroyed.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.onDestroy
onStart()
Section titled “onStart()”onStart():
void
Defined in: DebugPlugin.ts:136
Called after all plugins are installed and the engine has started.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.onStart
registerSystems()
Section titled “registerSystems()”registerSystems(
scheduler):void
Defined in: DebugPlugin.ts:121
Register systems with the scheduler. Called after install.
Parameters
Section titled “Parameters”scheduler
Section titled “scheduler”SystemScheduler
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.registerSystems