Skip to content

Latest commit

 

History

History
executable file
·
56 lines (36 loc) · 863 Bytes

Gaze.md

File metadata and controls

executable file
·
56 lines (36 loc) · 863 Bytes

Gaze

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

Inheritance

Codable

Properties

orientation

An Int representing the rawValue of UIInterfaceOrientation.

var orientation

timestamp

A UNIX timestamp for when this data point was collected.

let timestamp: TimeInterval

trackingState

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

x position of the Gaze, in screen coordinate space.

let x: CGFloat

y

y position of the Gaze, in screen coordinate space.

let y: CGFloat