Skip to main content
Version: 20 Mar 2024

MLHeadTrackingState

Module: Head Tracking

A structure containing information on the current state of the Head Tracking system. More...

#include <ml_head_tracking.h>

Public Attributes

TypeName
MLHeadTrackingModemode
floatconfidence
MLHeadTrackingErrorerror

Detailed Description

struct MLHeadTrackingState;

A structure containing information on the current state of the Head Tracking system.

Deprecated

Deprecated since 1.2.0. Scheduled for removal. Replaced by MLHeadTrackingStateEx.

API Level:

  • 1

Public Attributes Documentation

mode

MLHeadTrackingMode mode;
TypeDescription
MLHeadTrackingModeA set of possible tracking modes the Head Tracking system can be in.

What tracking mode the Head Tracking system is currently in.


confidence

float confidence;

A confidence value (from [0, 1]) representing the confidence in the current pose estimation.


error

MLHeadTrackingError error;
TypeDescription
MLHeadTrackingErrorA set of possible error conditions that can cause Head Tracking to be less than ideal.

Represents what tracking error (if any) is present.