public override KinectBaseImageFrame GetFrame(IntPtr handle) { var frame = new V2BodyIndexFrame(m_reader, handle); if (!NewTimeStamp(frame.Time)) { frame.Dispose(); return(null); } return(frame); }
public override KinectBaseImageFrame GetFrame() { var frame = new V2BodyIndexFrame(m_reader.AcquireLatestFrame()); if (!NewTimeStamp(frame.Time)) { frame.Dispose(); return(null); } return(frame); }