uiHitTestWorld
此内容尚不支持你的语言。
uiHitTestWorld(
world,ray,screenRay?):number|null
Defined in: ui/util/ui-pick.ts:119
The topmost interactable entity along a pointer ray — the same raycast the interaction system runs, so a custom cursor agrees with the built-in one. A query: what a press or a hover MEANS is the interaction system’s business.
Parameters
Section titled “Parameters”screenRay?
Section titled “screenRay?”Returns
Section titled “Returns”number | null