Skip to main content
Version: 12 Dec 2024

MLHandTrackingData

Module: Hand Tracking

Data which is received when querying hand tracker from MLHandTrackingGetData(). More...

#include <ml_hand_tracking.h>

Public Attributes

TypeName
uint32_tversion
MLHandTrackingHandState[MLHandTrackingHandType_Count]hand_state
Hand tracker states of the hands.
MLTimetimestamp_ns

Detailed Description

struct MLHandTrackingData;

Data which is received when querying hand tracker from MLHandTrackingGetData().

This structure must be initialized by calling MLHandTrackingDataInit() before use.

API Level:

  • 20

Public Attributes Documentation

version

uint32_t version;

Version of this structure.


hand_state

MLHandTrackingHandState[MLHandTrackingHandType_Count] hand_state;

Hand tracker states of the hands.

TypeDescription
MLHandTrackingHandState[MLHandTrackingHandType_Count]State of a single hand. [MLHandTrackingHandType_Count]

See MLHandTrackingHandType for more details.


timestamp_ns

MLTime timestamp_ns;

Timestamp of last measurement in nanoseconds.