Ejemplo n.º 1
0
 void OnSessionStateChanged(ARSessionStateChangedEventArgs eventArgs)
 {
     // If the session goes away then return to using standard background mode
     if (eventArgs.state < ARSessionState.SessionInitializing && m_BackgroundRenderer != null)
     {
         mode = ARRenderMode.StandardBackground;
     }
 }
Ejemplo n.º 2
0
 void OnSessionStateChanged(ARSessionStateChangedEventArgs eventArgs)
 {
     UpdateVisibility();
 }