61 bones[0] = metacarpal;
63 bones[2] = intermediate;
65 Id = (handId * 10) + fingerId;
80 return bones[(int)boneIx];
The Bone class represents a tracked bone.
BoneType
Enumerates the type of bones.
The Finger class represents a tracked finger.
float Length
The estimated length of the finger.
bool IsExtended
Whether or not this Finger is in an extended posture.
override string ToString()
A string containing a brief, human readable description of the Finger object.
Bone Bone(Bone.BoneType boneIx)
The bone at a given bone index on this finger.
int Id
A unique ID assigned to this Finger object, whose value remains the same across consecutive frames wh...
Finger.FingerType Type
The type of this finger.
float Width
The estimated width of the finger.
Finger()
Constructs a finger.
Finger(long frameId, int handId, int fingerId, float timeVisible, Vector tipPosition, Vector direction, float width, float length, bool isExtended, FingerType type, Bone metacarpal, Bone proximal, Bone intermediate, Bone distal)
Constructs a finger.
Vector TipPosition
The tip position of this Finger.
Vector Direction
The direction in which this finger or tool is pointing. The direction is expressed as a unit vector p...
int HandId
The Hand associated with a finger.
FingerType
Enumerates the names of the fingers.
float TimeVisible
The duration of time this Finger has been visible to the Leap Motion Controller.
The Vector struct represents a three-component mathematical vector or point such as a direction or po...