Ejemplo n.º 1
0
 //Constructors:
 public ManagedHand(MLHand hand, HandInput handInput)
 {
     _handInput = handInput;
     Hand       = hand;
     Skeleton   = new ManagedHandSkeleton(this);
     Gesture    = new ManagedHandGesture(this);
     Collider   = new ManagedHandCollider(this);
 }
Ejemplo n.º 2
0
 //Constructors:
 public ManagedHand(MLHandTracking.Hand hand, HandInput handInput)
 {
     _handInput = handInput;
     Hand       = hand;
     Skeleton   = new ManagedHandSkeleton(this);
     Gesture    = new ManagedHandGesture(this);
     Collider   = new ManagedHandCollider(this);
     if (handInput != null)
     {
         Collider = new ManagedHandCollider(this);
     }
 }
Ejemplo n.º 3
0
        //Constructors:
        public ManagedHand(MLHandTracking.Hand hand, HandInput handInput)
        {
            _handInput = handInput;
            Hand       = hand;
            Skeleton   = new ManagedHandSkeleton(this);
            Gesture    = new ManagedHandGesture(this);

            // Modified here by prnvcher to not explode if using null hand input
            if (handInput != null)
            {
                Collider = new ManagedHandCollider(this);
            }
        }