private static extern void session_SetSessionCallbacks(
     IntPtr nativeSession,
     internal_ARFrameUpdate frameCallback,
     ARSessionFailed sessionFailed,
     ARSessionCallback sessionInterrupted,
     ARSessionCallback sessionInterruptionEnded,
     ARSessionLocalizeCallback sessionShouldRelocalize,
     internal_ARSessionTrackingChanged trackingChanged,
     Action <IntPtr, IntPtr> sessionWorldMapCompletionHandler,
     Action <IntPtr, IntPtr> sessionRefObjExtractCompletionHandler);
示例#2
0
 private static extern void session_SetSessionCallbacks(IntPtr nativeSession, internal_ARFrameUpdate frameCallback,
                                                        ARSessionFailed sessionFailed,
                                                        ARSessionCallback sessionInterrupted,
                                                        ARSessionCallback sessionInterruptionEnded,
                                                        internal_ARSessionTrackingChanged trackingChanged);
 private static extern IntPtr unity_CreateNativeARSession(internal_ARFrameUpdate frameUpdate, internal_ARAnchorAdded anchorAdded, internal_ARAnchorUpdated anchorUpdated, internal_ARAnchorRemoved anchorRemoved, ARSessionFailed sessionFailed);