private void UpdateOptitrackData() { if (m_OptitrackStreamingClient) { try { m_OptitrackFramePerUpdateData.AddDataPoint(m_OptitrackStreamingClient.FramesPerUpdate()); m_OptitrackFramePerSecond = m_OptitrackStreamingClient.FramesPerSecond(); m_StaleRigidBodyDataCount = m_OptitrackStreamingClient.StaleRigidBodyInFrameCount(); m_ZeroOptiFrameInUpdateCount = m_OptitrackStreamingClient.ZeroFrameUpdateCount(); } catch (System.Exception e) { Spaces.LBE.DebugLog.Log("networking", "Error Querying Optitrack Stream Client for Time Between Frames: " + e.Message); } } }