/// <summary> /// Initializes a new instance of the <see cref="Hand" /> class. /// </summary> /// <param name="handType">The hand type of this hand.</param> public Hand(MLHandTracking.HandType handType) { this.Type = handType; this.Index = new Finger(3); this.Middle = new Finger(3); this.Ring = new Finger(2); this.Pinky = new Finger(2); this.Thumb = new Thumb(); this.Wrist = new Wrist(); this.Center = Vector3.zero; this.NormalizedCenter = Vector3.zero; this.KeyPose = MLHandTracking.HandKeyPose.NoHand; }
/// <summary> /// Initializes a new instance of the MLHand" class. /// </summary> /// <param name="handType">Hand type.</param> public MLHand(MLHandTracking.HandType handType) : base(handType) { }