Skip to content

Latest commit

 

History

History
executable file
·
50 lines (32 loc) · 1.11 KB

Configuration.md

File metadata and controls

executable file
·
50 lines (32 loc) · 1.11 KB

Configuration

An object for configuring an EyeTracking session.

public struct Configuration

Initializers

init(appID:blendShapes:)

Initialize a Configuration.

public init(appID: String? = nil, blendShapes: [ARFaceAnchor.BlendShapeLocation]? = nil)

Parameters

  • appID: - appID: Optionally provide a String for an app id for Sessions. Default value is the app's bundleID.
  • blendShapes: - blendShapes: Optionally provide an array of BlendShapeLocations to track any number of ARKit's provided facial recognition values.

Properties

appID

This appID will be tied to all Sessions. Default value is the app's bundleID (recommended).

let appID: String

blendShapes

Stores any number of BlendShapeLocations for tracking and storing during sessions. See README or Apple's documentation for possible values.

let blendShapes: [ARFaceAnchor.BlendShapeLocation]

framesPerSecond

Stores the desired fidelity for a Session's storage in FPS. Max is 60 fps from ARKit as of iOS 14.

let framesPerSecond: Int