public enum ARTrackingMode
- Object
- Enum<ARTrackingMode>
- ARTrackingMode
ImplementsComparable<ARTrackingMode>
The tracking configuration of an
ARSession. World and face tracking are
distinct session configurations on both ARKit and ARCore, so a session runs
in exactly one mode; close the session and open a new one to switch.Enum constants
WORLD | Track the device pose in the world using the rear camera. |
FACE | Track faces using the front camera. |
Methods
public static ARTrackingMode[] values() | |
public static ARTrackingMode valueOf(String name) |
Inherited methods
Enum constant details
WORLD
WORLDTrack the device pose in the world using the rear camera. Enables plane
detection, hit testing, world anchors and image tracking.
FACE
FACETrack faces using the front camera. Detected faces are delivered as
ARFaceAnchors; plane detection and hit testing are unavailable.Method details
values
public static ARTrackingMode[] values()valueOf
public static ARTrackingMode valueOf(String name)