Enumeration Case

ARHitTestResultTypeExistingPlane

A point on a real-world plane (already detected with the planeDetection option), without considering the plane's size.

Declaration

ARHitTestResultTypeExistingPlane = (1 << 3)

Discussion

When searching for this result type, ARKit can return any point coplanar with an already detected plane, regardless of whether that plane's already detected extent or geometry includes that point. (That is, this result type searches the infinite extensions of detected planes.)

An existing plane search can return any number of results, depending on how many already-detected planes the hit test ray intersects (if any).

See Also

Result Types

ARHitTestResultTypeFeaturePoint

A point on a surface detected by ARKit, but not part of any detected planes.

ARHitTestResultTypeEstimatedHorizontalPlane

A point on a real-world planar surface detected during the search, whose orientation is perpendicular to gravity.

ARHitTestResultTypeEstimatedVerticalPlane

A point on a real-world planar surface detected during the search, whose orientation is parallel to gravity.

ARHitTestResultTypeExistingPlaneUsingExtent

A point on a real-world plane (already detected with the planeDetection option), respecting the plane's estimated size.

ARHitTestResultTypeExistingPlaneUsingGeometry

A point on a real-world plane (already detected with the planeDetection option), respecting the plane's estimated size and shape.