UIPlugin
Defined in: ui/src/UIPlugin.ts:11
UIPlugin creates a screen-space UI container and registers the layout system.
Implements
Section titled “Implements”Plugin
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UIPlugin():
UIPlugin
Returns
Section titled “Returns”UIPlugin
Properties
Section titled “Properties”dependencies
Section titled “dependencies”
readonlydependencies:string[]
Defined in: ui/src/UIPlugin.ts:14
Names of plugins this plugin depends on.
Implementation of
Section titled “Implementation of”Plugin.dependencies
readonlyname:"ui"="ui"
Defined in: ui/src/UIPlugin.ts:12
Unique plugin name.
Implementation of
Section titled “Implementation of”Plugin.name
version
Section titled “version”
readonlyversion:"2.0.0"="2.0.0"
Defined in: ui/src/UIPlugin.ts:13
Semantic version string.
Implementation of
Section titled “Implementation of”Plugin.version
Methods
Section titled “Methods”install()
Section titled “install()”install(
context):Promise<void>
Defined in: ui/src/UIPlugin.ts:18
Install services into the engine context. Called in topological order.
Parameters
Section titled “Parameters”context
Section titled “context”EngineContext
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”Plugin.install
onDestroy()
Section titled “onDestroy()”onDestroy():
void
Defined in: ui/src/UIPlugin.ts:40
Called when the engine is destroyed.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Plugin.onDestroy
registerSystems()
Section titled “registerSystems()”registerSystems(
scheduler):void
Defined in: ui/src/UIPlugin.ts:36
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