public NuiBoneOrientation(NuiJointType s, NuiJointType e, NuiBoneRotation a, NuiBoneRotation h)
 {
     startJoint = s;
     endJoint = e;
     absoluteRotation = a;
     hierarchicalRotation = h;
 }
 public NuiBoneOrientation this[NuiJointType jointType]
 {
     get
     {
         return this.orientations[(int)jointType];
     }
     set
     {
         if ((int)jointType < this.orientations.Capacity)
         {
             this.orientations.Insert(((int)jointType), value);
         }
     }
 }
Esempio n. 3
0
 public NuiJoint(NuiJointType jt, NuiSkeletonPoint p, NuiJointTrackingState ts)
 {
     position = p;
     trackingState = ts;
     jointType = jt;
 }
 public void Reset()
 {
     position = NuiJointType.AnkleLeft;
 }