Type Alias: BabylonPickWithRay
type BabylonPickWithRay = (origin: Vec3Tuple, direction: Vec3Tuple, maxDistance: number) => BabylonPickResult | null;
Defined in: babylon-interactions/src/hit-tester.ts:38
A mesh-accurate pick supplied by the app - scene.pickWithRay with a Ray
built from these arguments. Return null for a miss.
Parameters
| Parameter | Type |
|---|---|
origin | Vec3Tuple |
direction | Vec3Tuple |
maxDistance | number |
Returns
BabylonPickResult | null