public KinectSkeletonFrame GetFrame()
        {
            var frame=new KinectSkeletonFrame();
            if (!NewTimeStamp(frame.Frame.liTimeStamp)){
                return null;
            }

            // smoothing
            Nui.Import.NuiTransformSmooth(ref frame.Frame, ref SmoothingParams);

            return frame;
        }
Exemple #2
0
        public KinectSkeletonFrame GetFrame()
        {
            var frame = new KinectSkeletonFrame();

            if (!NewTimeStamp(frame.Frame.liTimeStamp))
            {
                return(null);
            }

            // smoothing
            Nui.Import.NuiTransformSmooth(ref frame.Frame, ref SmoothingParams);

            return(frame);
        }