FocusManagerState
此内容尚不支持你的语言。
Defined in: ui/input/focusable.ts:23
core-ui.ts
The stable UI surface promoted into the top-level esengine
namespace (text, UINode box visuals, interaction, layout, theme).
This is the curated public UI API. The complete UI module surface — which
also includes low-level text/atlas internals and engine-internal composition
glue (e.g. EntityStateMap, ensureComponent) — lives in
./ui and is imported module-directly by the SDK code that needs it. Those
internals are intentionally NOT re-exported here, so the public esengine
namespace stays a stable, intentional surface.
Re-exported wholesale by core.ts.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FocusManagerState():
FocusManagerState
Returns
Section titled “Returns”FocusManagerState
Properties
Section titled “Properties”focusedEntity
Section titled “focusedEntity”focusedEntity:
number|null=null
Defined in: ui/input/focusable.ts:24
Methods
Section titled “Methods”blur()
Section titled “blur()”blur():
number|null
Defined in: ui/input/focusable.ts:32
Returns
Section titled “Returns”number | null
focus()
Section titled “focus()”focus(
entity):number|null
Defined in: ui/input/focusable.ts:26
Parameters
Section titled “Parameters”entity
Section titled “entity”number
Returns
Section titled “Returns”number | null