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