pickHit
pickHit(
world,raycaster):EntityHit|null
Defined in: packages/engine/src/gameplay/entity/pick.ts:22
As pickEntity, with the world point where the ray meets it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
raycaster |
Raycaster |
Returns
Section titled “Returns”EntityHit | null