Options
All
  • Public
  • Public/Protected
  • All
V1.7
  • V1.6
  • V1.7
Menu

Class EyeTrackingEventData

EyeTrackingEventData - Eye tracking update events

Hierarchy

Index

Constructors

constructor

Methods

getEyeTrackingFixationConfidence

  • getEyeTrackingFixationConfidence(): number
  • Get the confidence value of the fixation tracking data

    priv

    none

    Returns number

    a confidence value between 0.0f (no confidence) and 1.0f (full confidence) indicating eye tracking data confidence for the eye fixation point this frame.

getEyeTrackingFixationPosition

  • getEyeTrackingFixationPosition(): [number, number, number]
  • Get the position of the fixation point of the user's eyes in world space

    priv

    none

    Returns [number, number, number]

    the world space position of the fixation point of the user's eyes

getEyeTrackingLeftEyeBlinkState

  • getEyeTrackingLeftEyeBlinkState(): boolean

getEyeTrackingLeftEyeConfidence

  • getEyeTrackingLeftEyeConfidence(): number
  • Get the confidence value of the left eye tracking data

    priv

    none

    Returns number

    a confidence value between 0.0f (no confidence) and 1.0f (full confidence) indicating eye tracking data confidence for the left eye this frame.

getEyeTrackingLeftEyePosition

  • getEyeTrackingLeftEyePosition(): [number, number, number]

getEyeTrackingLeftEyeRotation

  • getEyeTrackingLeftEyeRotation(): [number, number, number, number]
  • Get the rotation of the user's left eye in world space

    priv

    none

    Returns [number, number, number, number]

    the world space rotation of the user's left eye

getEyeTrackingRightEyeBlinkState

  • getEyeTrackingRightEyeBlinkState(): boolean

getEyeTrackingRightEyeConfidence

  • getEyeTrackingRightEyeConfidence(): number
  • Get the confidence value of the right eye tracking data

    priv

    none

    Returns number

    a confidence value between 0.0f (no confidence) and 1.0f (full confidence) indicating eye tracking data confidence for the right eye this frame.

getEyeTrackingRightEyePosition

  • getEyeTrackingRightEyePosition(): [number, number, number]
  • Get the position of the user's right eye in world space

    priv

    none

    Returns [number, number, number]

    the world space position of the user's right eye

getEyeTrackingRightEyeRotation

  • getEyeTrackingRightEyeRotation(): [number, number, number, number]
  • Get the position of the user's left eye in world space

    priv

    none

    Returns [number, number, number, number]

    the world space position of the user's left eye

getPrismId

  • getPrismId(): bigint

hasFixationViolationOccured

  • hasFixationViolationOccured(): boolean
  • Get whether a fixation violation has occured (fixation depth has been too close for longer than 10 seconds)

    priv

    none

    Returns boolean

    true if a violation has occured, false otherwise

isFixationDepthUnconfortable

  • isFixationDepthUnconfortable(): boolean
  • Get whether the current fixation depth is uncomfortable for the user (< 37cm)

    priv

    none

    Returns boolean

    true if the fixation depth is uncomfortable, false otherwise

isInputEventType

  • isInputEventType(): boolean

remainingTimeAtUncomfortableDepth

  • remainingTimeAtUncomfortableDepth(): number
  • Get the remaining time the fixation point can remain at an uncomfortable depth

    priv

    none

    Returns number

    the time remaining at the uncomfortable depth (in seconds)

toString

  • toString(): string

Generated using TypeDoc