GestureListΒΆ

Properties:

Methods:

class Leap::GestureList

The GestureList class represents a list of Gesture objects.

Get a GestureList object from a Frame object.

Since
1.0

Public Functions

GestureList Append(GestureList other)

Appends the members of the specified GestureList to this GestureList.

Since
1.0
Parameters

GestureList()

Constructs an empty gesture list.

Since
1.0

Property

int Count

The length of this list.

if (frame.Gestures ().Count > 0) {
    //Process gestures...
}

Return
The number of gestures in this list.
Since
1.0

bool IsEmpty

Reports whether the list is empty.

if (!frame.Gestures ().IsEmpty) {
    //Handle this frame's gesture objects
}

Return
True, if the list has no members.
Since
1.0