Stores the value and all contextual data for a collected Gaze
point,
or the point in the screen coordinate space at which the user is looking.
public struct Gaze: Codable
Codable
An Int
representing the rawValue of UIInterfaceOrientation
.
var orientation
A UNIX timestamp for when this data point was collected.
let timestamp: TimeInterval
The reported tracking state for this data point, as reported
by its ARFrame
's ARCamera
instance. If nil
, then data
quality is normal.
let trackingState: String?
x position of the Gaze
, in screen coordinate space.
let x: CGFloat
y position of the Gaze
, in screen coordinate space.
let y: CGFloat