TransformExtensionsΒΆ

TransformExtensions Class Reference

Static Public Member Functions

static Frame Transform (this Frame frame, LeapTransform transform)
 Does an in-place rigid transformation of a Frame. More...
 
static Hand Transform (this Hand hand, LeapTransform transform)
 Does an in-place rigid transformation of a Hand. More...
 
static Finger Transform (this Finger finger, LeapTransform transform)
 Does an in-place rigid transformation of a Finger. More...
 
static Bone Transform (this Bone bone, LeapTransform transform)
 Does an in-place rigid transformation of a Bone. More...
 
static Frame TransformedCopy (this Frame frame, LeapTransform transform)
 Returns a new frame that is a copy of a frame, with an additional rigid transformation applied to it. More...
 
static Hand TransformedCopy (this Hand hand, LeapTransform transform)
 Returns a new hand that is a copy of a hand, with an additional rigid transformation applied to it. More...
 
static Finger TransformedCopy (this Finger finger, LeapTransform transform)
 Returns a new finger that is a copy of a finger, with an additional rigid transformation applied to it. More...
 
static Bone TransformedCopy (this Bone bone, LeapTransform transform)
 Returns a new bone that is a copy of a bone, with an additional rigid transformation applied to it. More...
 

Member Function Documentation

static Frame Transform ( this Frame  frame,
LeapTransform  transform 
)
static

Does an in-place rigid transformation of a Frame.

Parameters
transformA LeapTransform containing the desired translation, rotation, and scale to be applied to the Frame.
static Hand Transform ( this Hand  hand,
LeapTransform  transform 
)
static

Does an in-place rigid transformation of a Hand.

Parameters
transformA LeapTransform containing the desired translation, rotation, and scale to be applied to the Hand.
static Finger Transform ( this Finger  finger,
LeapTransform  transform 
)
static

Does an in-place rigid transformation of a Finger.

Parameters
transformA LeapTransform containing the desired translation, rotation, and scale to be applied to the Finger.
static Bone Transform ( this Bone  bone,
LeapTransform  transform 
)
static

Does an in-place rigid transformation of a Bone.

Parameters
transformA LeapTransform containing the desired translation, rotation, and scale
  • * to be applied to the bone.
static Frame TransformedCopy ( this Frame  frame,
LeapTransform  transform 
)
static

Returns a new frame that is a copy of a frame, with an additional rigid transformation applied to it.

Parameters
transformThe transformation to be applied to the copied frame.
static Hand TransformedCopy ( this Hand  hand,
LeapTransform  transform 
)
static

Returns a new hand that is a copy of a hand, with an additional rigid transformation applied to it.

Parameters
transformThe transformation to be applied to the copied hand.
static Finger TransformedCopy ( this Finger  finger,
LeapTransform  transform 
)
static

Returns a new finger that is a copy of a finger, with an additional rigid transformation applied to it.

Parameters
transformThe transformation to be applied to the copied finger.
static Bone TransformedCopy ( this Bone  bone,
LeapTransform  transform 
)
static

Returns a new bone that is a copy of a bone, with an additional rigid transformation applied to it.

Parameters
transformThe transformation to be applied to the copied bone.