enum ARHitTestResultType (Niantic.ARDK.AR.HitTest.ARHitTestResultType)

Overview

Types of objects to hit-test against and also the type of objects found by the hit-test. More…

enum ARHitTestResultType {
    None                       = 0,
    FeaturePoint               = 1,
    EstimatedArbitraryPlane    = 2,
    EstimatedHorizontalPlane   = 4,
    EstimatedVerticalPlane     = 8,
    ExistingPlane              = 16,
    ExistingPlaneUsingExtent   = 32,
    ExistingPlaneUsingGeometry = 64,
    All                        = ~None,
};

Detailed Documentation

Types of objects to hit-test against and also the type of objects found by the hit-test.

Enum Values

None

Unrecognized hit-test result type.

FeaturePoint

A point detected by an AR session representing a distinguishable feature, but without a corresponding anchor.

Note

This is not supported in VirtualStudio’s Mock or Remote mode.

EstimatedArbitraryPlane

A real-world planar surface detected by the search (without a corresponding anchor), whose orientation is perpendicular to gravity.

Note

This is an Android-only value.

EstimatedHorizontalPlane

A real-world planar surface detected by the search (without a corresponding anchor), whose orientation is perpendicular to gravity.

Note

This is not supported in VirtualStudio’s Mock or Remote mode.

EstimatedVerticalPlane

A real-world planar surface detected by the search (without a corresponding anchor), whose orientation is parallel to gravity.

Note

This is not supported in VirtualStudio’s Mock or Remote mode.

ExistingPlane

A plane anchor already in the scene, without considering the plane’s size.

Note

This is not supported in VirtualStudio’s Mock or Remote mode.

ExistingPlaneUsingExtent

A plane anchor already in the scene, respecting the plane’s size.

ExistingPlaneUsingGeometry

A plane anchor already in the scene, respecting the plane’s rough, physical geometry.

Note

This is not supported in VirtualStudio’s Mock or Remote mode.

All

Any of the types above.