Class

ARTrackedRaycast

A ray-cast query that ARKit repeats in succession to give you refined results over time.

Declaration

@interface ARTrackedRaycast : NSObject

Overview

Tracked ray-casting improves hit-testing techniques by repeating the query for a 3D position in succession. ARKit provides you with an updated position as it refines its understanding of world over time.

To start a tracked ray-cast, you call trackedRaycast:updateHandler: on your app's current ARSession.

Topics

Stopping Tracking

- stopTracking

Stops repeating the ray-cast query.

Relationships

Inherits From

See Also

Ray-Casting

ARRaycastQuery

A mathematical ray you use to find 3D positions on real-world surfaces.

Beta
ARRaycastResult

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

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software