SCCameraKitARInput
@protocol SCCameraKitARInput <SCCameraKitInput>
Describes a source of AR data for CameraKit.
-
The managed ARSession.
Declaration
Objective-C
@property (nonatomic, strong, readonly) ARSession *_Nonnull session;
-
The intermediate destination for ARKit delegate methods. See the protocol definition for more details. This property should NOT be set directly. CameraKit will assign this as appropriate.
Declaration
Objective-C
@property (nonatomic, weak) id<SCCameraKitARInputDelegate> _Nullable arDelegate;
-
The ARConfiguration to use when using the front camera.
Warning
if your app supports lenses with true sizing, you MUST return an instance of ARFaceTrackingConfiguration (additionally, we recommend setting the number of tracked faces to 0)Note
this is nil by default, as adding ARFaceTrackingConfiguration will subject your app to additional app review, concerning your usage of the TrueDepth camera.Declaration
Objective-C
@property (nonatomic, strong, readonly) ARConfiguration *_Nonnull frontCameraConfiguration;