Class Leap::TransformExtensions¶
- class Leap.TransformExtensions¶
Public Static Functions
- static Frame Transform (this Frame frame, LeapTransform transform)¶
Does an in-place rigid transformation of a Frame.
- Param transform
A LeapTransform containing the desired translation, rotation, and scale to be applied to the Frame.
- 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.
- Param transform
The transformation to be applied to the copied frame.
- static Frame TransformedCopy (this Frame frame, Vector3 position, Quaternion rotation)
Returns a new frame that is a copy of a frame, with an additional rigid transformation applied to it.
- Param transform
The transformation to be applied to the copied frame.
- static Hand Transform (this Hand hand, LeapTransform transform)
Does an in-place rigid transformation of a Hand.
- Param transform
A LeapTransform containing the desired translation, rotation, and scale to be applied to the Hand.
- 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.
- Param transform
The transformation to be applied to the copied hand.
- static Hand TransformedCopy (this Hand hand, Vector3 position, Quaternion rotation)
Returns a new hand that is a copy of a hand, with an additional rigid transformation applied to it.
- Param transform
The transformation to be applied to the copied hand.
- static Finger Transform (this Finger finger, LeapTransform transform)
Does an in-place rigid transformation of a Finger.
- Param transform
A LeapTransform containing the desired translation, rotation, and scale to be applied to the Finger.
- 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.
- Param transform
The transformation to be applied to the copied finger.
- static Bone Transform (this Bone bone, LeapTransform transform)
Does an in-place rigid transformation of a Bone. @param transform A LeapTransform containing the desired translation, rotation, and scale
* to be applied to the bone.
- 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.
- Param transform
The transformation to be applied to the copied bone.