跳转到内容

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.

new FocusManagerState(): FocusManagerState

FocusManagerState

focusedEntity: number | null = null

Defined in: ui/input/focusable.ts:24

blur(): number | null

Defined in: ui/input/focusable.ts:32

number | null


focus(entity): number | null

Defined in: ui/input/focusable.ts:26

number

number | null