Leap Motion C# API Reference  0.8.0
Leap.FingerList Class Reference

The FingerList class represents a list of Finger objects. More...

Inherits Leap.Interface, and IEnumerable< Finger >.

Public Member Functions

FingerList Append (FingerList other)
 Appends the members of the specifed FingerList to this FingerList.
 
 FingerList ()
 Constructs an empty list of fingers.
 

Properties

int Count [get]
 Returns the number of fingers in this list.
 
bool Empty [get]
 Deprecated.
 
Finger Frontmost [get]
 The member of the list that is farthest to the front within the standard Leap Motion frame of reference (i.e has the smallest Z coordinate).
 
bool IsEmpty [get]
 Reports whether the list is empty.
 
Finger Leftmost [get]
 The member of the list that is farthest to the left within the standard Leap Motion frame of reference (i.e has the smallest X coordinate).
 
Finger Rightmost [get]
 The member of the list that is farthest to the right within the standard Leap Motion frame of reference (i.e has the largest X coordinate).
 

Detailed Description

The FingerList class represents a list of Finger objects.

Get a FingerList object by calling Frame::fingers().

Constructor & Destructor Documentation

Leap.FingerList.FingerList ( )
inline

Constructs an empty list of fingers.

Member Function Documentation

FingerList Leap.FingerList.Append ( FingerList  other)
inline

Appends the members of the specifed FingerList to this FingerList.

Parameters
otherA FingerList object containing Finger objects to append to the end of this FingerList.

Property Documentation

int Leap.FingerList.Count
get

Returns the number of fingers in this list.

Returns
The number of fingers in this list.
bool Leap.FingerList.Empty
get

Deprecated.

Use FingerList::isEmpty() instead.

See Also
FingerList::isEmpty()
Finger Leap.FingerList.Frontmost
get

The member of the list that is farthest to the front within the standard Leap Motion frame of reference (i.e has the smallest Z coordinate).

Returns
The frontmost finger, or invalid if list is empty.
bool Leap.FingerList.IsEmpty
get

Reports whether the list is empty.

Returns
True, if the list has no members.
Finger Leap.FingerList.Leftmost
get

The member of the list that is farthest to the left within the standard Leap Motion frame of reference (i.e has the smallest X coordinate).

Returns
The leftmost finger, or invalid if list is empty.
Finger Leap.FingerList.Rightmost
get

The member of the list that is farthest to the right within the standard Leap Motion frame of reference (i.e has the largest X coordinate).

Returns
The rightmost finger, or invalid if list is empty.