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

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

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