Contents

ARRaycastResult

Information about a real-world surface found by examining a point on the screen.

Declaration

class ARRaycastResult

Overview

If you use ARView or ARSCNView as your renderer, you can search for real-world surfaces at a screen point using the raycast(from:allowing:alignment:), and raycastQuery(from:allowing:alignment:) functions, respectively.

If you use a custom renderer, you can find real-world positions using screen points with:

For tracked raycasting, you call trackedRaycast(_:updateHandler:) on your app’s current ARSession.

Topics

Identifying Results

See Also

Raycasting