Esempio n. 1
0
 /// <summary>
 /// UnloadContent will be called once per game and is the place to unload
 /// all content.
 /// </summary>
 protected override void UnloadContent()
 {
     // TODO: Unload any non ContentManager content here
     if (m_pltlabsapi != null)
     {
         m_pltlabsapi.Shutdown();
     }
 }
Esempio n. 2
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            // INFO: clean shutdown of Headtracking API is required:
            if (m_pltlabsapi != null)
            {
                m_pltlabsapi.Shutdown();
            }

            if (m_debugwin != null)
            {
                m_debugwin.Close();
                m_debugwin = null;
            }
        }
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     m_pltlabsapi.Shutdown();
 }
Esempio n. 4
0
 internal void ShutDown()
 {
     pltlabsapi.Shutdown();
 }