LeapTool Class Reference
Inherits from | LeapPointable : NSObject |
Declared in | LeapObjectiveC.h |
Overview
The LeapTool class represents a tracked tool.
Tools are pointable objects that the Leap has classified as a tool.
Tools are longer, thinner, and straighter than a typical finger.
Get valid LeapTool objects from a LeapFrame or a LeapHand object.
Note that LeapTool objects can be invalid, which means that they do not contain
valid tracking data and do not correspond to a physical tool. Invalid LeapTool
objects can be the result of asking for a tool object using an ID from an
earlier frame when no tools with that ID exist in the current frame.
A LeapTool object created from the LeapTool constructor is also invalid.
Test for validity with the LeapTool isValid function.