Esempio n. 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();
        }
Esempio n. 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();
     }
 }
Esempio n. 4
0
        public void ResumeSession()
        {
            if (!m_IsInitialized)
            {
                return;
            }
#if !UNITY_EDITOR_OSX
            NativeAPI.NativeTracking.Resume();
            if (RenderController != null)
            {
                RenderController.Resume();
            }
            if (VirtualDisplayer != null)
            {
                VirtualDisplayer.Resume();
            }
#endif
        }