Most visited

Recently visited

ViroViewARCore.AnchorDetectionType

public static final enum ViroViewARCore.AnchorDetectionType
extends Enum<ViroViewARCore.AnchorDetectionType>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.ViroViewARCore.AnchorDetectionType>
     ↳ com.viro.core.ViroViewARCore.AnchorDetectionType


ARCore, which underlies Viro's augmented reality system, can be set to detect various types of real world features (anchors) by continually scanning the incoming video feed from the device camera. This enum indicates what anchors ARCore should attempt to detect. The ARScene.Listener will receive a callback whenever an ARAnchor of one of these enabled types is found.

Summary

Enum values

ViroViewARCore.AnchorDetectionType  NONE

Anchor detection will be entirely disabled. 

ViroViewARCore.AnchorDetectionType  PLANES_HORIZONTAL

Horizontal planes will be detected by the AR tracking system. 

Public methods

static ViroViewARCore.AnchorDetectionType valueOf(String name)
static final AnchorDetectionType[] values()

Enum values

NONE

ViroViewARCore.AnchorDetectionType NONE

Anchor detection will be entirely disabled. This setting results in optimal performance and should be used in applications where anchors are not required.

PLANES_HORIZONTAL

ViroViewARCore.AnchorDetectionType PLANES_HORIZONTAL

Horizontal planes will be detected by the AR tracking system.

Public methods

valueOf

ViroViewARCore.AnchorDetectionType valueOf (String name)

Parameters
name String

Returns
ViroViewARCore.AnchorDetectionType

values

AnchorDetectionType[] values ()

Returns
AnchorDetectionType[]

Hooray!