Class LeapInternal::CopyFromLeapCExtensions

class LeapInternal.CopyFromLeapCExtensions

Public Static Functions

static Frame CopyFrom (this Frame frame, ref LEAP_TRACKING_EVENT trackingMsg)

Copies the data from an internal tracking message into a frame.

Param trackingMsg

The internal tracking message with the data to be copied into this frame.

static Hand CopyFrom (this Hand hand, ref LEAP_HAND leapHand, long frameId)

Copies the data from an internal hand definition into a hand.

Param leapHand

The internal hand definition to be copied into this hand.

Param frameId

The frame id of the frame this hand belongs to.

static Finger CopyFrom (this Finger finger, LEAP_DIGIT leapBone, Finger.FingerType type, int handId, float timeVisible)

Copies the data from an internal finger definition into a finger.

Param leapBone

The internal finger definition to be copied into this finger.

Param type

The finger type of this finger.

Param frameId

The frame id of the frame this finger belongs to.

Param handId

The hand id of the hand this finger belongs to.

Param timeVisible

The time in seconds that this finger has been visible.

static Bone CopyFrom (this Bone bone, LEAP_BONE leapBone, Bone.BoneType type)

Copies the data from an internal bone definition into a bone.

Param leapBone

The internal bone definition to be copied into this bone.

Param type

The bone type of this bone.