Struct LEAP_BONE

struct LEAP_BONE

Describes a bone’s position and orientation.

Bones are members of the LEAP_DIGIT struct.

Since

3.0.0

Public Members

LEAP_VECTOR prev_joint

The base of the bone, closer to the heart.

The bones origin.

Since

3.0.0

LEAP_VECTOR next_joint

The end of the bone, further from the heart.

Since

3.0.0

float width

The average width of the flesh around the bone in millimeters.

Since

3.0.0

LEAP_QUATERNION rotation

Rotation in world space from the forward direction.

Convert the quaternion to a matrix to derive the basis vectors.

Since

3.1.2