The PointableList class represents a list of Pointable objects.
More...
Inherits Leap.Interface, and IEnumerable< Pointable >.
|
int | Count [get] |
| Returns the number of pointable entities in this list.
|
|
bool | Empty [get] |
| Deprecated.
|
|
Pointable | 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.
|
|
Pointable | 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).
|
|
Pointable | 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 PointableList class represents a list of Pointable objects.
Pointable objects include entities that can be pointed, such as fingers and tools.
Get a PointableList object by calling Frame::pointables().
Leap.PointableList.PointableList |
( |
| ) |
|
|
inline |
Constructs an empty list of pointable entities.
int Leap.PointableList.Count |
|
get |
Returns the number of pointable entities in this list.
- Returns
- The number of pointable entities in this list.
bool Leap.PointableList.Empty |
|
get |
Deprecated.
Use PointableList::isEmpty() instead.
- See Also
- PointableList::isEmpty()
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 pointable, or invalid if list is empty.
bool Leap.PointableList.IsEmpty |
|
get |
Reports whether the list is empty.
- Returns
- True, if the list has no members.
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 pointable, or invalid if list is empty.
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 pointable, or invalid if list is empty.