uiHitTestWorld
此内容尚不支持你的语言。
uiHitTestWorld(
engine,registry,worldX,worldY,mouseDown?,mousePressed?,mouseReleased?):number|null
Defined in: ui/util/ui-pick.ts:23
Parameters
Section titled “Parameters”engine
Section titled “engine”EngineApi | null
registry
Section titled “registry”worldX
Section titled “worldX”number
worldY
Section titled “worldY”number
mouseDown?
Section titled “mouseDown?”boolean = false
mousePressed?
Section titled “mousePressed?”boolean = false
mouseReleased?
Section titled “mouseReleased?”boolean = false
Returns
Section titled “Returns”number | null
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.