Enumeration

ARHitTestResultType

Possible types for specifying a hit-test search, or for the result of a hit-test search.

Declaration

typedef enum ARHitTestResultType : NSUInteger {
    ...
} ARHitTestResultType;

Topics

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.

ARHitTestResultTypeExistingPlane

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

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.

See Also

Identifying Results

type

The kind of detected feature the search result represents.

anchor

The anchor representing the detected surface, if any.