Skip to main content

RectangleRaycastData

Interface representing the data for a rectangle raycast operation.

Properties

bottomRight

bottomRight: Vector2

The bottom right corner of the rectangle


camera

camera: PerspectiveCamera | OrthographicCamera

The camera used for the raycast


dom

dom: HTMLCanvasElement

The DOM element where the scene is rendered


fullyIncluded

fullyIncluded: boolean

Whether the rectangle is fully included in the view


topLeft

topLeft: Vector2

The top left corner of the rectangle