Raycasts from camera to the screen position to find the first object hit.
The screen position to raycast from.
A promise that resolves to the raycast result.
Raycasts from camera to world position to find the first object hit.
The world position to raycast from.
A promise that resolves to the raycast result.
Interface for raycasting against a 3D scene.