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

The HandList class represents a list of Hand objects. More...

Inherits Leap.Interface, and IEnumerable< Hand >.

Public Member Functions

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

Properties

int Count [get]
 Returns the number of hands in this list.
 
bool Empty [get]
 Deprecated.
 
Hand 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.
 
Hand 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).
 
Hand 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 HandList class represents a list of Hand objects.

Get a HandList object by calling Frame::hands().

Constructor & Destructor Documentation

Leap.HandList.HandList ( )
inline

Constructs an empty list of hands.

Member Function Documentation

HandList Leap.HandList.Append ( HandList  other)
inline

Appends the members of the specifed HandList to this HandList.

Parameters
otherA HandList object containing Hand objects to append to the end of this HandList.

Property Documentation

int Leap.HandList.Count
get

Returns the number of hands in this list.

Returns
The number of hands in this list.
bool Leap.HandList.Empty
get

Deprecated.

Use HandList::isEmpty() instead.

See Also
HandList::isEmpty()
Hand Leap.HandList.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 hand, or invalid if list is empty.
bool Leap.HandList.IsEmpty
get

Reports whether the list is empty.

Returns
True, if the list has no members.
Hand Leap.HandList.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 hand, or invalid if list is empty.
Hand Leap.HandList.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 hand, or invalid if list is empty.