Skip to main content

RaycastData

Interface representing the data for a raycast operation.

Properties​

camera​

camera: PerspectiveCamera | OrthographicCamera

The camera used for the raycast


dom​

dom: HTMLCanvasElement

The DOM element where the scene is rendered


mouse​

mouse: Vector2

The mouse position