-
Notifications
You must be signed in to change notification settings - Fork 514
ARKit iOS xcode13.0 beta1
Manuel de la Pena edited this page Jun 14, 2021
·
4 revisions
#ARKit.framework https://github.com/xamarin/xamarin-macios/pull/11908
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAnchor.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAnchor.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,7 +2,7 @@
// ARAnchor.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@@ -56,6 +56,7 @@
*/
@property (nonatomic, readonly) simd_float4x4 transform;
+
/**
Initializes a new anchor object.
@param transform The transformation matrix that defines the anchor’s rotation, translation and scale in world coordinates.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAppClipCodeAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAppClipCodeAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAppClipCodeAnchor.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARAppClipCodeAnchor.h 2021-06-02 12:48:09.000000000 -0400
@@ -2,7 +2,7 @@
// ARAppClipCodeAnchor.h
// ARKit
//
-// Copyright © 2017-2020 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <ARKit/ARAnchor.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARBodyAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARBodyAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARBodyAnchor.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARBodyAnchor.h 2021-06-02 12:48:08.000000000 -0400
@@ -13,6 +13,7 @@
@class ARBody2D;
@class ARSkeleton3D;
+
/**
An anchor representing a body in the world.
*/
@@ -34,6 +35,7 @@
*/
@property (nonatomic, readonly) CGFloat estimatedScaleFactor;
+
/** Unavailable */
- (instancetype)initWithTransform:(simd_float4x4)transform NS_UNAVAILABLE;
- (instancetype)initWithName:(NSString *)name transform:(simd_float4x4)transform NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCamera.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCamera.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCamera.h 2021-03-16 08:45:39.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCamera.h 2021-06-02 11:09:09.000000000 -0400
@@ -2,54 +2,18 @@
// ARCamera.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
-#import <UIKit/UIApplication.h>
+#import <UIKit/UIKit.h>
#import <simd/simd.h>
+#import <ARKit/ARTrackingStatusTypes.h>
NS_ASSUME_NONNULL_BEGIN
/**
- A value describing the camera’s tracking state.
- */
-API_AVAILABLE(ios(11.0))
-typedef NS_ENUM(NSInteger, ARTrackingState) {
- /** Tracking is not available. */
- ARTrackingStateNotAvailable,
-
- /** Tracking is limited. See tracking reason for details. */
- ARTrackingStateLimited,
-
- /** Tracking is Normal. */
- ARTrackingStateNormal,
-} NS_REFINED_FOR_SWIFT;
-
-/**
- A reason describing why the camera’s tracking state is limited.
- */
-API_AVAILABLE(ios(11.0))
-typedef NS_ENUM(NSInteger, ARTrackingStateReason) {
- /** Tracking is not limited. */
- ARTrackingStateReasonNone,
-
- /** Tracking is limited due to initialization in progress. */
- ARTrackingStateReasonInitializing,
-
- /** Tracking is limited due to a excessive motion of the camera. */
- ARTrackingStateReasonExcessiveMotion,
-
- /** Tracking is limited due to a lack of features visible to the camera. */
- ARTrackingStateReasonInsufficientFeatures,
-
- /** Tracking is limited due to a relocalization in progress. */
- ARTrackingStateReasonRelocalizing API_AVAILABLE(ios(11.3)),
-} NS_REFINED_FOR_SWIFT;
-
-
-/**
A model representing the camera and its parameters.
*/
API_AVAILABLE(ios(11.0))
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCoachingOverlayView.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCoachingOverlayView.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCoachingOverlayView.h 2021-03-16 08:45:40.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARCoachingOverlayView.h 2021-06-02 12:45:11.000000000 -0400
@@ -28,6 +28,8 @@
ARCoachingGoalVerticalPlane,
/** Session requires one plane of any type */
ARCoachingGoalAnyPlane,
+ /** Session requires geo tracking */
+ ARCoachingGoalGeoTracking,
} NS_SWIFT_NAME(ARCoachingOverlayView.Goal);
/**
@@ -121,7 +123,7 @@
- (void)coachingOverlayViewWillActivate:(ARCoachingOverlayView *)coachingOverlayView;
/**
- This is called when the view deactivates, either manually or automatically
+ This is called when the view has been deactivated, either manually or automatically
@param coachingOverlayView The view that was deactivated
*/
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARConfiguration.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARConfiguration.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARConfiguration.h 2021-03-16 08:45:38.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARConfiguration.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,13 +2,15 @@
// ARConfiguration.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import <CoreLocation/CoreLocation.h>
+#import <ARKit/ARPlaneDetectionTypes.h>
+
NS_ASSUME_NONNULL_BEGIN
@class ARReferenceImage;
@@ -16,6 +18,7 @@
@class ARVideoFormat;
@class ARWorldMap;
+
/**
Option set indicating semantic understanding types of the image frame.
*/
@@ -101,21 +104,6 @@
/**
- Option set indicating the type of planes to detect.
- */
-API_AVAILABLE(ios(11.0))
-typedef NS_OPTIONS(NSUInteger, ARPlaneDetection) {
- /** No plane detection is run. */
- ARPlaneDetectionNone = 0,
-
- /** Plane detection determines horizontal planes in the scene. */
- ARPlaneDetectionHorizontal = (1 << 0),
-
- /** Plane detection determines vertical planes in the scene. */
- ARPlaneDetectionVertical API_AVAILABLE(ios(11.3)) = (1 << 1)
-} NS_SWIFT_NAME(ARWorldTrackingConfiguration.PlaneDetection);
-
-/**
Types of scene reconstruction.
*/
API_AVAILABLE(ios(13.4))
@@ -130,6 +118,7 @@
ARSceneReconstructionMeshWithClassification = (1 << 1) | (1 << 0)
} NS_SWIFT_NAME(ARConfiguration.SceneReconstruction);
+
/**
An object to describe and configure the Augmented Reality techniques to be used in an ARSession.
*/
@@ -648,7 +637,7 @@
isAvailable - True if geo tracking is available at the current location, otherwise false.
error - An error that indicates why geo tracking is not available at the current location.
*/
-+ (void)checkAvailabilityWithCompletionHandler:(void (^)(BOOL isAvailable, NSError * _Nullable error))completionHandler;
++ (void)checkAvailabilityWithCompletionHandler:(void (^)(BOOL isAvailable, NSError * _Nullable error))completionHandler NS_SWIFT_DISABLE_ASYNC;
/**
Determines the availability of geo tracking at the given location.
@@ -658,7 +647,7 @@
isAvailable - True if geo tracking is available at the given location, otherwise false.
error - An error that indicates why geo tracking is not available at the given location.
*/
-+ (void)checkAvailabilityAtCoordinate:(CLLocationCoordinate2D)coordinate completionHandler:(void (^)(BOOL isAvailable, NSError * _Nullable error))completionHandler;
++ (void)checkAvailabilityAtCoordinate:(CLLocationCoordinate2D)coordinate completionHandler:(void (^)(BOOL isAvailable, NSError * _Nullable error))completionHandler NS_SWIFT_DISABLE_ASYNC;
- (instancetype)init;
+ (instancetype)new NS_SWIFT_UNAVAILABLE("Use init() instead");
@@ -666,4 +655,5 @@
@end
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARError.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARError.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARError.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARError.h 2021-06-02 12:48:09.000000000 -0400
@@ -2,7 +2,7 @@
// ARError.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@@ -71,6 +71,8 @@
/** Generic request failure. */
ARErrorCodeRequestFailed API_AVAILABLE(ios(14.0)) = 501,
+
+
};
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceAnchor.h 2021-03-16 08:45:39.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceAnchor.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,7 +2,7 @@
// ARFaceAnchor.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <ARKit/ARAnchor.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceGeometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceGeometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceGeometry.h 2021-03-16 08:48:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFaceGeometry.h 2021-06-02 12:48:10.000000000 -0400
@@ -2,13 +2,15 @@
// ARFaceGeometry.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <SceneKit/SCNGeometry.h>
#import <ARKit/ARFaceAnchor.h>
+#if __has_include(<ARKit/ARSCNFaceGeometry.h>)
#import <ARKit/ARSCNFaceGeometry.h>
+#endif
@protocol MTLBuffer;
@protocol MTLDevice;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFrame.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFrame.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFrame.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARFrame.h 2021-06-02 11:09:09.000000000 -0400
@@ -2,12 +2,12 @@
// ARFrame.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreVideo/CoreVideo.h>
-#import <UIKit/UIApplication.h>
+#import <UIKit/UIKit.h>
#import <simd/simd.h>
#import <ARKit/ARHitTestResult.h>
#import <ARKit/ARRaycastQuery.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoAnchor.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoAnchor.h 2021-06-02 12:48:09.000000000 -0400
@@ -2,33 +2,16 @@
// ARGeoAnchor.h
// ARKit
//
-// Copyright © 2019-2020 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <ARKit/ARAnchor.h>
+#import <ARKit/ARGeoTrackingTypes.h>
#import <CoreLocation/CoreLocation.h>
NS_ASSUME_NONNULL_BEGIN
/**
- Keeps track of where an ARGeoAnchor altitude value came from and informs the user about the expected accuracy.
- */
-API_AVAILABLE(ios(14.0))
-typedef NS_ENUM(NSInteger, ARAltitudeSource) {
- /** Altitude could not be determined (yet). */
- ARAltitudeSourceUnknown,
-
- /** ARKit determined altitude based on a coarse digital elevation model. The provided value is too imprecise to be used at close range, but is sufficient to anchor far away content. */
- ARAltitudeSourceCoarse,
-
- /** ARKit determined altitude based on a high resolution digital elevation model. */
- ARAltitudeSourcePrecise,
-
- /** Altitude was provided by the user. */
- ARAltitudeSourceUserDefined
-} NS_SWIFT_NAME(ARGeoAnchor.AltitudeSource);
-
-/**
An anchor representing a geographical location in the world.
@discussion The anchor's transform will be automatically updated by the session based on location and heading.
The session needs to be configured with ARGeoTrackingConfiguration.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoTrackingTypes.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoTrackingTypes.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoTrackingTypes.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARGeoTrackingTypes.h 2021-06-02 12:48:08.000000000 -0400
@@ -11,6 +11,24 @@
NS_ASSUME_NONNULL_BEGIN
/**
+ Keeps track of where an altitude value came from and informs the user about the expected accuracy.
+ */
+API_AVAILABLE(ios(14.0))
+typedef NS_ENUM(NSInteger, ARAltitudeSource) {
+ /** Altitude could not be determined (yet). */
+ ARAltitudeSourceUnknown,
+
+ /** ARKit determined altitude based on a coarse digital elevation model. The provided value is too imprecise to be used at close range, but is sufficient to anchor far away content. */
+ ARAltitudeSourceCoarse,
+
+ /** ARKit determined altitude based on a high resolution digital elevation model. */
+ ARAltitudeSourcePrecise,
+
+ /** Altitude was provided by the user. */
+ ARAltitudeSourceUserDefined
+} NS_SWIFT_NAME(ARGeoAnchor.AltitudeSource);
+
+/**
A value describing geo tracking state.
*/
API_AVAILABLE(ios(14.0))
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARImageAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARImageAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARImageAnchor.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARImageAnchor.h 2021-06-02 12:48:09.000000000 -0400
@@ -2,7 +2,7 @@
// ARImageAnchor.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <ARKit/ARAnchor.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKit.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKit.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKit.h 2021-03-16 08:41:28.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKit.h 2021-06-01 22:58:16.000000000 -0400
@@ -1,7 +1,7 @@
//
// ARKit.h
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
/** @framework ARKit
@@ -9,8 +9,10 @@
@discussion ARKit lets you easily configure and use Augmented Reality techniques to track, detect, and render.
*/
+#if __has_include(<ARKit/ARKitCore.h>)
#import <ARKit/ARKitCore.h>
+#endif
-#import <ARKit/ARCoachingOverlayView.h>
-#import <ARKit/ARSCNView.h>
-#import <ARKit/ARSKView.h>
+#if __has_include(<ARKit/ARKitUI.h>)
+#import <ARKit/ARKitUI.h>
+#endif
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitCore.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitCore.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitCore.h 2021-03-16 08:41:29.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitCore.h 2021-06-01 22:50:14.000000000 -0400
@@ -1,5 +1,6 @@
//
// ARKitCore.h
+// ARKitCore
//
// Copyright © 2020 Apple Inc. All rights reserved.
//
@@ -9,6 +10,7 @@
#import <ARKit/ARCamera.h>
#import <ARKit/ARCollaborationData.h>
#import <ARKit/ARConfiguration.h>
+#import <ARKit/ARTrackingStatusTypes.h>
#import <ARKit/ARDepthData.h>
#import <ARKit/ARFrame.h>
#import <ARKit/ARHitTestResult.h>
@@ -23,6 +25,7 @@
#import <ARKit/ARVideoFormat.h>
#import <ARKit/ARWorldMap.h>
+
#import <ARKit/ARAnchor.h>
#import <ARKit/AREnvironmentProbeAnchor.h>
#import <ARKit/ARFaceAnchor.h>
@@ -41,10 +44,10 @@
+
+
#import <ARKit/ARBody2D.h>
#import <ARKit/ARBodyAnchor.h>
#import <ARKit/ARMatteGenerator.h>
#import <ARKit/ARSkeleton.h>
#import <ARKit/ARSkeletonDefinition.h>
-
-#import <ARKit/ARQuickLookPreviewItem.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitUI.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitUI.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitUI.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARKitUI.h 2021-06-01 22:58:16.000000000 -0400
@@ -0,0 +1,12 @@
+//
+// ARKitUI.h
+//
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
+//
+
+#import <ARKit/ARCoachingOverlayView.h>
+#import <ARKit/ARSCNView.h>
+#import <ARKit/ARSCNFaceGeometry.h>
+#import <ARKit/ARSCNPlaneGeometry.h>
+#import <ARKit/ARSKView.h>
+#import <ARKit/ARQuickLookPreviewItem.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARLightEstimate.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARLightEstimate.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARLightEstimate.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARLightEstimate.h 2021-06-02 12:48:09.000000000 -0400
@@ -2,7 +2,7 @@
// ARLightEstimate.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARMeshGeometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARMeshGeometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARMeshGeometry.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARMeshGeometry.h 2021-06-02 12:48:09.000000000 -0400
@@ -117,6 +117,7 @@
ARMeshClassificationDoor,
};
+
/**
A three-dimensional shape that represents the geometry of a mesh.
*/
@@ -129,7 +130,7 @@
@property (nonatomic, strong, readonly) ARGeometrySource *vertices;
/*
- The normals of the mesh.
+ Normal of each vertex in the mesh.
*/
@property (nonatomic, strong, readonly) ARGeometrySource *normals;
@@ -143,6 +144,7 @@
*/
@property (nonatomic, strong, readonly, nullable) ARGeometrySource *classification;
+
/** Unavailable */
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARObjectAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARObjectAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARObjectAnchor.h 2021-03-16 08:48:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARObjectAnchor.h 2021-06-02 12:48:10.000000000 -0400
@@ -2,7 +2,7 @@
// ARObjectAnchor.h
// ARKit
//
-// Copyright © 2017-2018 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <ARKit/ARAnchor.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneAnchor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneAnchor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneAnchor.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneAnchor.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,11 +2,13 @@
// ARPlaneAnchor.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <ARKit/ARAnchor.h>
+#define AR_PLANE_ANCHOR_PROTOCOLS
+
NS_ASSUME_NONNULL_BEGIN
@class ARPlaneGeometry;
@@ -59,7 +61,7 @@
@discussion Planes are defined in the X and Z direction, where Y is the surface’s normal.
*/
API_AVAILABLE(ios(11.0))
-@interface ARPlaneAnchor : ARAnchor
+@interface ARPlaneAnchor : ARAnchor AR_PLANE_ANCHOR_PROTOCOLS
/**
Determines whether plane classification is supported on this device.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneDetectionTypes.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneDetectionTypes.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneDetectionTypes.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneDetectionTypes.h 2021-06-02 12:48:10.000000000 -0400
@@ -0,0 +1,23 @@
+//
+// ARPlaneDetectionTypes.h
+// ARKit
+//
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+/**
+ Option set indicating the type of planes to detect.
+ */
+API_AVAILABLE(ios(11.0))
+typedef NS_OPTIONS(NSUInteger, ARPlaneDetection) {
+ /** No plane detection is run. */
+ ARPlaneDetectionNone = 0,
+
+ /** Plane detection determines horizontal planes in the scene. */
+ ARPlaneDetectionHorizontal = (1 << 0),
+
+ /** Plane detection determines vertical planes in the scene. */
+ ARPlaneDetectionVertical API_AVAILABLE(ios(11.3)) = (1 << 1)
+} NS_SWIFT_NAME(ARWorldTrackingConfiguration.PlaneDetection);
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneGeometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneGeometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneGeometry.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPlaneGeometry.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,13 +2,15 @@
// ARPlaneGeometry.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <SceneKit/SCNGeometry.h>
#import <simd/simd.h>
+#if __has_include(<ARKit/ARSCNPlaneGeometry.h>)
#import <ARKit/ARSCNPlaneGeometry.h>
+#endif
@protocol MTLDevice;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPointCloud.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPointCloud.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPointCloud.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARPointCloud.h 2021-06-02 12:48:09.000000000 -0400
@@ -2,7 +2,7 @@
// ARPointCloud.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARReferenceImage.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARReferenceImage.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARReferenceImage.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARReferenceImage.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,7 +2,7 @@
// ARReferenceImage.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNFaceGeometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNFaceGeometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNFaceGeometry.h 2021-03-16 08:48:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNFaceGeometry.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,7 +2,7 @@
// ARSCNFaceGeometry.h
// ARKit
//
-// Copyright © 2016-2020 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNPlaneGeometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNPlaneGeometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNPlaneGeometry.h 2021-03-16 08:48:32.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNPlaneGeometry.h 2021-06-02 12:48:10.000000000 -0400
@@ -2,7 +2,7 @@
// ARSCNPlaneGeometry.h
// ARKit
//
-// Copyright © 2016-2020 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNView.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNView.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNView.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSCNView.h 2021-06-02 12:45:10.000000000 -0400
@@ -2,7 +2,7 @@
// ARSCNView.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <SceneKit/SceneKit.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSession.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSession.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSession.h 2021-03-16 08:45:40.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARSession.h 2021-06-02 12:45:12.000000000 -0400
@@ -2,13 +2,14 @@
// ARSession.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ARKit/ARConfiguration.h>
#import <ARKit/ARGeoTrackingTypes.h>
+
NS_ASSUME_NONNULL_BEGIN
@class ARAnchor;
@@ -21,6 +22,8 @@
@class ARRaycastResult;
@class ARTrackedRaycast;
+
+
@protocol ARSessionDelegate;
/**
@@ -79,6 +82,7 @@
@property (nonatomic, copy, nullable, readonly) ARConfiguration *configuration;
+
/**
Runs the session with the provided configuration.
@discussion Calling run on a session that has already started will
@@ -181,6 +185,10 @@
*/
- (nullable ARTrackedRaycast *)trackedRaycast:(ARRaycastQuery *)query updateHandler:(void (^)(NSArray<ARRaycastResult *> *))updateHandler API_AVAILABLE(ios(13.0));
+
+#pragma mark - Scene Graph Query
+
+
#pragma mark - Collaboration
/**
@@ -230,6 +238,7 @@
*/
- (void)session:(ARSession *)session didFailWithError:(NSError *)error;
+
/**
This is called when the camera’s tracking state has changed.
@@ -238,6 +247,7 @@
*/
- (void)session:(ARSession *)session cameraDidChangeTrackingState:(ARCamera *)camera;
+
/**
This is called when a session is interrupted.
@@ -347,6 +357,7 @@
*/
- (void)session:(ARSession *)session didRemoveAnchors:(NSArray<__kindof ARAnchor*>*)anchors;
+
@end
/**
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARTrackingStatusTypes.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARTrackingStatusTypes.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARTrackingStatusTypes.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARTrackingStatusTypes.h 2021-06-02 12:48:09.000000000 -0400
@@ -0,0 +1,45 @@
+//
+// ARTrackingStatusTypes.h
+// ARKit
+//
+// Copyright © 2020 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+/**
+ A value describing the camera’s tracking state.
+ */
+API_AVAILABLE(ios(11.0))
+typedef NS_ENUM(NSInteger, ARTrackingState) {
+ /** Tracking is not available. */
+ ARTrackingStateNotAvailable,
+
+ /** Tracking is limited. See tracking reason for details. */
+ ARTrackingStateLimited,
+
+ /** Tracking is Normal. */
+ ARTrackingStateNormal,
+} NS_REFINED_FOR_SWIFT;
+
+/**
+ A reason describing why the camera’s tracking state is limited.
+ */
+API_AVAILABLE(ios(11.0))
+typedef NS_ENUM(NSInteger, ARTrackingStateReason) {
+ /** Tracking is not limited. */
+ ARTrackingStateReasonNone,
+
+ /** Tracking is limited due to initialization in progress. */
+ ARTrackingStateReasonInitializing,
+
+ /** Tracking is limited due to a excessive motion of the camera. */
+ ARTrackingStateReasonExcessiveMotion,
+
+ /** Tracking is limited due to a lack of features visible to the camera. */
+ ARTrackingStateReasonInsufficientFeatures,
+
+ /** Tracking is limited due to a relocalization in progress. */
+ ARTrackingStateReasonRelocalizing API_AVAILABLE(ios(11.3)),
+
+} NS_REFINED_FOR_SWIFT;
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARVideoFormat.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARVideoFormat.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARVideoFormat.h 2021-03-16 08:48:30.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ARKit.framework/Headers/ARVideoFormat.h 2021-06-02 12:48:08.000000000 -0400
@@ -2,7 +2,7 @@
// ARVideoFormat.h
// ARKit
//
-// Copyright © 2016-2017 Apple Inc. All rights reserved.
+// Copyright © 2016-2021 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status