コード例 #1
0
ファイル: KinectRecorder.cs プロジェクト: sopankhosla/harley
        public void Record(SkeletonFrame frame)
        {
            if (writer == null)
            {
                throw new Exception("This recorder is stopped");
            }

            if (skeletonRecorder == null)
            {
                throw new Exception("Skeleton recording is not actived on this KinectRecorder");
            }

            skeletonRecorder.Record(frame);
            Flush();
        }