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

The PointableList class represents a list of Pointable objects. More...

Inherits Leap.Interface, and IEnumerable< Pointable >.

Public Member Functions

PointableList Append (PointableList other)
 Appends the members of the specifed PointableList to this PointableList.
 
PointableList Append (FingerList other)
 Appends the members of the specifed FingerList to this PointableList.
 
PointableList Append (ToolList other)
 Appends the members of the specifed ToolList to this PointableList.
 
 PointableList ()
 Constructs an empty list of pointable entities.
 

Properties

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).
 

Detailed Description

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().

Constructor & Destructor Documentation

Leap.PointableList.PointableList ( )
inline

Constructs an empty list of pointable entities.

Member Function Documentation

PointableList Leap.PointableList.Append ( PointableList  other)
inline

Appends the members of the specifed PointableList to this PointableList.

Parameters
otherA PointableList object containing Pointable objects to append to the end of this PointableList.
PointableList Leap.PointableList.Append ( FingerList  other)
inline

Appends the members of the specifed FingerList to this PointableList.

Parameters
otherA FingerList object containing Finger objects to append to the end of this PointableList.
PointableList Leap.PointableList.Append ( ToolList  other)
inline

Appends the members of the specifed ToolList to this PointableList.

Parameters
otherA ToolList object containing Tool objects to append to the end of this PointableList.

Property Documentation

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()
Pointable Leap.PointableList.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 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.
Pointable Leap.PointableList.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 pointable, or invalid if list is empty.
Pointable Leap.PointableList.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 pointable, or invalid if list is empty.