c# - How to call/find a reference for windows form? -


private void sensorskeletonframeready(object sender, skeletonframereadyeventargs e)         {             skeleton[] skeletons = new skeleton[0];              using (skeletonframe skeletonframe = e.openskeletonframe())             {                 if (skeletonframe != null)                 {                     skeletons = new skeleton[skeletonframe.skeletonarraylength];                     skeletonframe.copyskeletondatato(skeletons);                 }                 if (skeletons.length != 0)                 {                     foreach (skeleton skel in skeletons)                     {                         if (skel.trackingstate == skeletontrackingstate.tracked)                         {                             this.tracked(skel);                             this.trackedleft(skel);                         }                     }                 }             }         } 

i can not seems find "skeletonarraylength" , "skeletontrackingstate" anywhere, problem lies reference or need set of coding this?

you have add referene of microsoft.kinect (in microsoft.kinect.dll) , add namespace microsoft.kinect project . may linq :: https://msdn.microsoft.com/en-us/library/microsoft.kinect.skeletonframe.aspx


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -