Enumeration Case

ARHitTestResultTypeFeaturePoint

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

Declaration

ARHitTestResultTypeFeaturePoint = (1 << 0)

Discussion

During a world-tracking AR session, ARKit builds a coarse point cloud representing its rough understanding of the 3D world around the user (see rawFeaturePoints). Individual feature points represent parts of the camera image likely to be part of a real-world surface, but not necessarily a planar surface.

When you search using this hit-test option, ARKit finds the feature point nearest to the hit-test ray (the extension of the 2D hit-test point into 3D world space), then returns the point on the ray nearest to that feature point.

See Also

Result Types

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.