Exemplo n.º 1
0
 public SerialSkeletonFrame(NuiSkeletonFrame nui)
 {
     this.liTimeStamp      = nui.liTimeStamp;
     this.dwFrameNumber    = nui.dwFrameNumber;
     this.dwFlags          = nui.dwFlags;
     this.vFloorClipPlane  = new SerialVec4(nui.vFloorClipPlane);
     this.vNormalToGravity = new SerialVec4(nui.vNormalToGravity);
     this.SkeletonData     = new SerialSkeletonData[6];
     for (int ii = 0; ii < 6; ii++)
     {
         this.SkeletonData[ii] = new SerialSkeletonData(nui.SkeletonData[ii]);
     }
 }
Exemplo n.º 2
0
 public SerialSkeletonData(NuiSkeletonData nui)
 {
     this.eTrackingState            = nui.eTrackingState;
     this.dwTrackingID              = nui.dwTrackingID;
     this.dwEnrollmentIndex_NotUsed = nui.dwEnrollmentIndex_NotUsed;
     this.dwUserIndex       = nui.dwUserIndex;
     this.Position          = new SerialVec4(nui.Position);
     this.SkeletonPositions = new SerialVec4[20];
     for (int ii = 0; ii < 20; ii++)
     {
         this.SkeletonPositions[ii] = new SerialVec4(nui.SkeletonPositions[ii]);
     }
     this.eSkeletonPositionTrackingState = nui.eSkeletonPositionTrackingState;
     this.dwQualityFlags = nui.dwQualityFlags;
 }
Exemplo n.º 3
0
 public SerialSkeletonFrame(NuiSkeletonFrame nui)
 {
     this.liTimeStamp = nui.liTimeStamp;
     this.dwFrameNumber = nui.dwFrameNumber;
     this.dwFlags = nui.dwFlags;
     this.vFloorClipPlane = new SerialVec4(nui.vFloorClipPlane);
     this.vNormalToGravity = new SerialVec4(nui.vNormalToGravity);
     this.SkeletonData = new SerialSkeletonData[6];
     for(int ii = 0; ii < 6; ii++){
         this.SkeletonData[ii] = new SerialSkeletonData(nui.SkeletonData[ii]);
     }
 }
Exemplo n.º 4
0
 public SerialSkeletonData(NuiSkeletonData nui)
 {
     this.eTrackingState = nui.eTrackingState;
     this.dwTrackingID = nui.dwTrackingID;
     this.dwEnrollmentIndex_NotUsed = nui.dwEnrollmentIndex_NotUsed;
     this.dwUserIndex = nui.dwUserIndex;
     this.Position = new SerialVec4(nui.Position);
     this.SkeletonPositions = new SerialVec4[20];
     for(int ii = 0; ii < 20; ii++){
         this.SkeletonPositions[ii] = new SerialVec4(nui.SkeletonPositions[ii]);
     }
     this.eSkeletonPositionTrackingState = nui.eSkeletonPositionTrackingState;
     this.dwQualityFlags = nui.dwQualityFlags;
 }