Structure

ARHitTestResult.ResultType

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

Topics

Result Types

static var featurePoint: ARHitTestResult.ResultType

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

static var estimatedHorizontalPlane: ARHitTestResult.ResultType

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

static var estimatedVerticalPlane: ARHitTestResult.ResultType

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

static var existingPlane: ARHitTestResult.ResultType

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

static var existingPlaneUsingExtent: ARHitTestResult.ResultType

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

static var existingPlaneUsingGeometry: ARHitTestResult.ResultType

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

Relationships

Conforms To

See Also

Identifying Results

var type: ARHitTestResult.ResultType

The kind of detected feature the search result represents.

var anchor: ARAnchor?

The anchor representing the detected surface, if any.