FingerPoseListExtension Class

Definition

Augments ICollection<T> with extension methods that are a particularly useful shorthand for adding FingerPose constraints to the PoseConstraints list of an existing HandPose.

public static class FingerPoseListExtension
Inheritance
FingerPoseListExtension

Methods

Add(ICollection<PoseConstraint>, Finger, FingerFlexion, PoseDirection)

Creates and adds to the poseConstraints collection a new FingerPose constraint which requires finger to attain the specified flexion state and be aligned with direction.

Add(ICollection<PoseConstraint>, Finger, PoseDirection)

Creates and adds to the poseConstraints collection a new FingerPose constraint which requires finger to be aligned with direction.

Add(ICollection<PoseConstraint>, FingersContext, FingerFlexion, PoseDirection)

Creates and adds to the poseConstraints collection a new FingerPose constraint which requires the fingers indicated by fingersContext to attain the specified flexion state and to be aligned with the given direction.

Add(ICollection<PoseConstraint>, FingersContext, PoseDirection)

Creates and adds to the poseConstraints collection a new FingerPose constraint which requires the fingers indicated by fingersContext to be aligned with direction.

Add(ICollection<PoseConstraint>, IEnumerable<Finger>, FingerFlexion, PoseDirection)

Creates and adds to the poseConstraints collection a new FingerPose constraint which requires each of the fingers to attain the specified flexion state and to be aligned with the given direction.

Add(ICollection<PoseConstraint>, IEnumerable<Finger>, PoseDirection)

Creates and adds to the poseConstraints collection a new FingerPose constraint which requires each of the fingers to be aligned with direction.

Applies to