Ray-Casting and Hit-Testing
Find 3D positions on real-world surfaces given a screen point.
Ray-casting is the preferred method for finding positions on surfaces in the real-world environment, but the hit-testing functions remain present for compatibility. With tracked ray-casting, ARKit continues to refine the results to increase the position accuracy of virtual content you place with a ray-cast.
For an example of tracked ray-casting, see Placing Objects and Handling 3D Interaction.
A ray-cast query that ARKit repeats in succession to give you refined results over time.
A configuration that monitors the iOS device's position and orientation while enabling you to augment the environment that's in front of the user.
A view that presents visual instructions that guide the user during session initialization and in limited tracking situations.
The space-mapping state and set of anchors from a world-tracking AR session.