UIPlugin
Defined in: ui/src/UIPlugin.ts:13
UIPlugin loads Yoga, wires the AssetManager for UI-specific texture
assets, and registers the layout system. UI entities attach to the
active scene’s render tree via this.use(SceneRenderTreeKey) — no
dedicated global screen container is created.
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:16
Names of plugins this plugin depends on.
Implementation of
Section titled “Implementation of”Plugin.dependencies
readonlyname:"ui"="ui"
Defined in: ui/src/UIPlugin.ts:14
Unique plugin name.
Implementation of
Section titled “Implementation of”Plugin.name
version
Section titled “version”
readonlyversion:"3.0.0"="3.0.0"
Defined in: ui/src/UIPlugin.ts:15
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
registerSystems()
Section titled “registerSystems()”registerSystems(
scheduler):void
Defined in: ui/src/UIPlugin.ts:28
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