Config.HeadTrackingMode
public final class Config.HeadTrackingMode implements Config.ConfigMode
Feature that allows tracking of the user's head pose.
Setting this feature to HeadTrackingMode.LAST_KNOWN requires that the HEAD_TRACKING Android permission is granted by the calling application.
Summary
Public fields |
|
|---|---|
static final @NonNull Config.HeadTrackingMode |
The head pose is not updated. |
static final @NonNull Config.HeadTrackingMode |
Head pose will be tracked and the last known pose from the system at the time of runtime update will be provided. |
Inherited methods |
||
|---|---|---|
|
Public fields
DISABLED
public static final @NonNull Config.HeadTrackingMode DISABLED
The head pose is not updated. It remains at the origin (an identity pose).
LAST_KNOWN
public static final @NonNull Config.HeadTrackingMode LAST_KNOWN
Head pose will be tracked and the last known pose from the system at the time of runtime update will be provided. Note that there is generally a delay between the actual head pose and the pose provided by the system by the time of the update.