コード例 #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;
     }
 }
コード例 #2
0
 void OnSessionStateChanged(ARSessionStateChangedEventArgs eventArgs)
 {
     UpdateVisibility();
 }