示例#1
0
        public void SetFrameRecordRange(int newStartIdx, int newEndIdx)
        {
            m_logData = new LogData(m_baseLogData, new FrameRecordRange(m_baseLogData.Name, newStartIdx, newEndIdx));
            m_viewFRs = new List <ViewFrameRecord>(m_baseViewFRs.GetRange(newStartIdx, newEndIdx - newStartIdx + 1));

            UpdateValidIdxs(m_maxValidBaseIdx);

            ResetValueStats();
            CalculateValueStats(newStartIdx, newEndIdx);
            m_logControl.OnLogChanged();

            DeleteDisplayLists();
            m_logControl.InvalidateGraphControl();
        }