Struct LEAP_HANDΒΆ

struct LEAP_HAND

Describes a tracked hand.

Since

3.0.0

Public Members

uint32_t id

A unique ID for a hand tracked across frames.

If tracking of a physical hand is lost, a new ID is assigned when tracking is reacquired.

Since

3.0.0

uint32_t flags

Reserved for future use.

Since

3.0.0

eLeapHandType type

Identifies the chirality of this hand.

Since

3.0.0

float confidence

How confident we are with a given hand pose.

Not currently used (always 1.0).

Since

3.0.0

uint64_t visible_time

The total amount of time this hand has been tracked, in microseconds.

Since

3.0.0

float pinch_distance

The distance between index finger and thumb.

Since

3.0.0

float grab_angle

The average angle of fingers to palm.

Since

3.0.0

float pinch_strength

The normalized estimate of the pinch pose - a pinch is between the thumb and any other finger.

Zero is not pinching; one is fully pinched.

Since

3.0.0

float grab_strength

The normalized estimate of the grab hand pose - a grab is all four fingers (excluding thumb) curled towards the palm.

Zero is not grabbing; one is fully grabbing.

Since

3.0.0

LEAP_PALM palm

Additional information associated with the palm.

Since

3.0.0

LEAP_DIGIT thumb

The thumb.

Since

3.0.0

LEAP_DIGIT index

The index finger.

Since

3.0.0

LEAP_DIGIT middle

The middle finger.

Since

3.0.0

LEAP_DIGIT ring

The ring finger.

Since

3.0.0

LEAP_DIGIT pinky

The pinky finger.

Since

3.0.0

LEAP_DIGIT digits[5]

The fingers of the hand as an array.

Since

3.0.0

union LEAP_HAND

The fingers of this hand.

Since

3.0.0

LEAP_BONE arm

The arm to which this hand is attached.

An arm consists of a single LEAP_BONE struct.

Since

3.0.0