An object for configuring an EyeTracking
session.
public struct Configuration
Initialize a Configuration
.
public init(appID: String? = nil, blendShapes: [ARFaceAnchor.BlendShapeLocation]? = nil)
- appID: - appID: Optionally provide a
String
for an app id forSession
s. Default value is the app'sbundleID
. - blendShapes: - blendShapes: Optionally provide an array of
BlendShapeLocation
s to track any number ofARKit
's provided facial recognition values.
This appID
will be tied to all Session
s. Default value is the app's bundleID (recommended).
let appID: String
Stores any number of BlendShapeLocation
s for tracking and storing during sessions.
See README or Apple's documentation for possible values.
let blendShapes: [ARFaceAnchor.BlendShapeLocation]
Stores the desired fidelity for a Session
's storage in FPS.
Max is 60 fps from ARKit
as of iOS 14.
let framesPerSecond: Int