The HandList class represents a list of Hand objects.
More...
Inherits Leap.Interface, and IEnumerable< Hand >.
|
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).
|
|
The HandList class represents a list of Hand objects.
Get a HandList object by calling Frame::hands().
Leap.HandList.HandList |
( |
| ) |
|
|
inline |
Constructs an empty list of hands.
Returns the number of hands in this list.
- Returns
- The number of hands in this list.
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.