NSArray(LeapPointableOrHandList) Category Reference
Declared in | LeapObjectiveC.h |
Overview
The LeapPointableOrHandList category provides methods for getting objects
from an NSArray containing LeapPointable, LeapFinger, LeapTool, or
LeapHand objects based on their physical position within the Leap
coordinate system.
Tasks
-
– leftmost
The member of the list that is farthest to the left within the standard
Leap frame of reference (i.e has the smallest X coordinate). -
– rightmost
The member of the list that is farthest to the right within the standard
Leap frame of reference (i.e has the largest X coordinate). -
– frontmost
The member of the list that is farthest to the front within the standard
Leap frame of reference (i.e has the smallest Z coordinate).
Instance Methods
frontmost
The member of the list that is farthest to the front within the standard
Leap frame of reference (i.e has the smallest Z coordinate).
- (id)frontmost
Discussion
The member of the list that is farthest to the front within the standard
Leap frame of reference (i.e has the smallest Z coordinate).
Returns nil if the NSArray is empty.
Declared In
LeapObjectiveC.h
leftmost
The member of the list that is farthest to the left within the standard
Leap frame of reference (i.e has the smallest X coordinate).
- (id)leftmost
Discussion
The member of the list that is farthest to the left within the standard
Leap frame of reference (i.e has the smallest X coordinate).
Returns nil if the NSArray is empty.
Declared In
LeapObjectiveC.h
rightmost
The member of the list that is farthest to the right within the standard
Leap frame of reference (i.e has the largest X coordinate).
- (id)rightmost
Discussion
The member of the list that is farthest to the right within the standard
Leap frame of reference (i.e has the largest X coordinate).
Returns nil if the NSArray is empty.
Declared In
LeapObjectiveC.h