Class Leap::Arm

class Leap.Arm : public Leap.Bone, public IEquatable<Arm>

The Arm class represents the forearm.

Public Functions

Arm ()

Constructs a default Arm object. Get valid Arm objects from a Hand object.

Since

2.0.3

Arm (Vector3 elbow, Vector3 wrist, Vector3 center, Vector3 direction, float length, float width, Quaternion rotation)

Constructs a new Arm object.

bool Equals (Arm other)

Compare Arm object equality. Two Arm objects are equal if and only if both Arm objects represent the exact same physical arm in the same frame and both Arm objects are valid.

Since

2.0.3

override string ToString ()

A string containing a brief, human readable description of the Arm object.

Since

2.0.3

Properties

Vector3 ElbowPosition { get; set; }

The position of the elbow. If not in view, the elbow position is estimated based on typical human anatomical proportions.

Since

2.0.3

Vector3 WristPosition { get; set; }

The position of the wrist.

Note that the wrist position is not collocated with the end of any bone in the hand. There is a gap of a few centimeters since the carpal bones are not included in the skeleton model.

Since

2.0.3