PalmPoseListExtension.Add 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Add(ICollection<PoseConstraint>, Hand, PoseDirection, PoseDirection) |
입력 |
Add(ICollection<PoseConstraint>, HandContext, PoseDirection, PoseDirection) |
입력 |
Add(ICollection<PoseConstraint>, Hand, PoseDirection, PoseDirection)
입력 orientation
hand
direction
으로 설명된 새 PalmPose 항목을 기존 컬렉션poseConstraints
에 추가합니다.
public static void Add (this System.Collections.Generic.ICollection<Microsoft.Gestures.PoseConstraint> poseConstraints, Microsoft.Gestures.Hand hand, Microsoft.Gestures.PoseDirection direction = Microsoft.Gestures.PoseDirection.Undefined, Microsoft.Gestures.PoseDirection orientation = Microsoft.Gestures.PoseDirection.Undefined);
매개 변수
- poseConstraints
- ICollection<PoseConstraint>
개체의 PoseConstraint 기존 컬렉션입니다. 이 컬렉션은 종종 다음과 같습니다 PoseConstraints.
- direction
- PoseDirection
- orientation
- PoseDirection
새 PalmPose.Orientation의 값을 지정합니다.
설명
이 확장 메서드는 새 PalmPose 제약 조건으로 기존 항목을 보강하는 HandPose 편리한 방법입니다.
var handPose = new HandPose("MyPose");
handPose.PoseConstraints.Add(Hand.RightHand, PoseDirection.Forward, PoseDirection.Up);
적용 대상
Add(ICollection<PoseConstraint>, HandContext, PoseDirection, PoseDirection)
입력 orientation
handContext
direction
및 기존 컬렉션에 설명된 새 PalmPose 항목을 poseConstraints
추가합니다.
public static void Add (this System.Collections.Generic.ICollection<Microsoft.Gestures.PoseConstraint> poseConstraints, Microsoft.Gestures.HandContext handContext, Microsoft.Gestures.PoseDirection direction, Microsoft.Gestures.PoseDirection orientation = Microsoft.Gestures.PoseDirection.Undefined);
매개 변수
- poseConstraints
- ICollection<PoseConstraint>
개체의 PoseConstraint 기존 컬렉션입니다. 이 컬렉션은 종종 다음과 같습니다 PoseConstraints.
- handContext
- HandContext
새 PalmPose를 만드는 데 사용할 내용을 지정 HandContext 합니다.
- direction
- PoseDirection
- orientation
- PoseDirection
새 PalmPose.Orientation의 값을 지정합니다.
설명
이 확장 메서드는 새 PalmPose 제약 조건으로 기존 항목을 보강하는 HandPose 편리한 방법입니다.
var handPose = new HandPose("MyPose");
handPose.PoseConstraints.Add(new AnyHandContext(), PoseDirection.Forward, PoseDirection.Up);