コード例 #1
0
        /// <summary>
        /// Remove Frame
        /// </summary>
        public void RemoveFrame(KinectFrame frame)
        {
            _Frames.Remove(frame);

            if (OnFramesUpdated != null)
            {
                OnFramesUpdated();
            }
        }
コード例 #2
0
        public void AddFrame(KinectFrame frame, int index)
        {
            if (frame == null)
            {
                return;
            }

            _Frames.Insert(index, frame);
            if (OnFramesUpdated != null)
            {
                OnFramesUpdated();
            }
        }
コード例 #3
0
        /// <summary>
        //Add a new Frame to the list
        /// </summary>
        public void AddFrame(KinectFrame frame)
        {
            if (frame == null)
            {
                return;
            }

            _Frames.Add(frame);
            if (OnFramesUpdated != null)
            {
                OnFramesUpdated();
            }
        }