pointInOBB
此内容尚不支持你的语言。
pointInOBB(
px,py,worldX,worldY,worldW,worldH,pivotX,pivotY,rotationZ,rotationW):boolean
Defined in: ui/util/math.ts:135
Parameters
Section titled “Parameters”number
number
worldX
Section titled “worldX”number
worldY
Section titled “worldY”number
worldW
Section titled “worldW”number
worldH
Section titled “worldH”number
pivotX
Section titled “pivotX”number
pivotY
Section titled “pivotY”number
rotationZ
Section titled “rotationZ”number
rotationW
Section titled “rotationW”number
Returns
Section titled “Returns”boolean
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.