UIFocusRelayoutSystem
Defined in: ui/src/UILayoutSystem.ts:113
Lays out again, after UIFocusSystem, every surface a focus callback
changed. A confirm press that shows a dialog or a step that swaps a label
runs after the frame’s layout, so without this pass the frame is drawn with
the new content at the old positions. A surface nothing touched is skipped.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new UIFocusRelayoutSystem():
UIFocusRelayoutSystem
Returns
Section titled “Returns”UIFocusRelayoutSystem
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”context
Section titled “context”
protectedcontext:EngineContext
Defined in: core/dist/index.d.ts:1336
Reference to the engine context, set on registration.
Inherited from
Section titled “Inherited from”enabled
Section titled “enabled”enabled:
boolean
Defined in: core/dist/index.d.ts:1334
Whether this system is active.
Inherited from
Section titled “Inherited from”onlyChanged
Section titled “onlyChanged”
protectedreadonlyonlyChanged:boolean=true
Defined in: ui/src/UILayoutSystem.ts:116
Whether a surface whose layout nothing changed is skipped.
Overrides
Section titled “Overrides”
readonlyphase:LateUpdate=Phase.LateUpdate
Defined in: ui/src/UILayoutSystem.ts:22
The phase this system runs in.
Inherited from
Section titled “Inherited from”priority
Section titled “priority”
readonlypriority:number=203
Defined in: ui/src/UILayoutSystem.ts:114
Execution priority within the phase. Lower = earlier. Default: 0.
Overrides
Section titled “Overrides”Methods
Section titled “Methods”_setContext()
Section titled “_setContext()”_setContext(
context):void
Defined in: core/dist/index.d.ts:1343
Internal
Set the engine context. Called by SystemScheduler when the system is registered.
Parameters
Section titled “Parameters”context
Section titled “context”EngineContext
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”onRegister()
Section titled “onRegister()”onRegister(
context):void
Defined in: ui/src/UILayoutSystem.ts:31
Called once when the system is registered with the engine.
Parameters
Section titled “Parameters”context
Section titled “context”EngineContext
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”onUnregister()?
Section titled “onUnregister()?”
optionalonUnregister():void
Defined in: core/dist/index.d.ts:1351
Called when the system is removed.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”update()
Section titled “update()”update():
void
Defined in: ui/src/UILayoutSystem.ts:43
Called every frame (or every fixed step for FixedUpdate).
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”
protecteduse<T>(key):T
Defined in: core/dist/index.d.ts:1345
Resolve a service by key, cached after first lookup.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”ServiceKey<T>
Returns
Section titled “Returns”T
Inherited from
Section titled “Inherited from”Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.