Ejemplo n.º 1
0
 // iOS-Specific Event Handlers
 #if UNITY_IOS
 private void UnityARSessionNativeInterface_ARFrameUpdatedEvent(UnityARCamera camera)
 {
     if (isSessionStarted)
     {
         session.ProcessFrame(arkitSession.GetNativeFramePtr());
     }
 }
Ejemplo n.º 2
0
 void UnityARSessionNativeInterface_ARFrameUpdatedEvent(UnityARCamera camera)
 {
     if (cloudSpatialAnchorSession != null && EnableProcessing)
     {
         cloudSpatialAnchorSession.ProcessFrame(arkitSession.GetNativeFramePtr());
     }
 }
 private void UnityARSessionNativeInterface_ARFrameUpdatedEvent(UnityARCamera camera)
 {
     if (session != null && IsTracking)
     {
         session.ProcessFrame(arkitSession.GetNativeFramePtr());
     }
 }