Example #1
0
        public void ResumeSession()
        {
            if (SessionState != SessionState.Paused)
            {
                return;
            }

            SessionState = SessionState.Running;
            NRDevice.Instance.ResumeHMD();
            NRDevice.Instance.ResumeGlassesController();
            VirtualDisplayer?.Resume();
            NativeAPI.NativeTracking.Resume();
            NRRenderer?.Resume();
        }
Example #2
0
        public void ResumeSession()
        {
            if (SessionState != SessionState.Paused)
            {
                return;
            }

            // Do not put it in other thread...
            VirtualDisplayer?.Resume();
            NativeAPI.NativeTracking.Resume();
            NRRenderer?.Resume();
            NRDevice.Instance.Resume();
            SessionState = SessionState.Running;
        }
 public void ResumeSession()
 {
     if (!m_IsInitialized)
     {
         return;
     }
     NativeAPI.NativeTracking.Resume();
     if (NRRenderer != null)
     {
         NRRenderer.Resume();
     }
     if (VirtualDisplayer != null)
     {
         VirtualDisplayer.Resume();
     }
 }