예제 #1
0
 // iOS-Specific Event Handlers
 #if UNITY_IOS
 private void UnityARSessionNativeInterface_ARFrameUpdatedEvent(UnityARCamera camera)
 {
     if (isSessionStarted)
     {
         session.ProcessFrame(arkitSession.GetNativeFramePtr());
     }
 }
예제 #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());
     }
 }