EyeTrackingMode


class EyeTrackingMode


Feature that allows tracking of the user's eyes.

Summary

Public companion properties

EyeTrackingMode

Enables coarse eye tracking, providing general gaze direction without high precision.

EyeTrackingMode

Eye tracking is disabled.

EyeTrackingMode

Enables fine eye tracking, providing more precise gaze direction.

Public functions

open String

Returns a string representation of EyeTrackingMode for debugging.

Public properties

Int

Public companion properties

COARSE_TRACKING

val COARSE_TRACKINGEyeTrackingMode

Enables coarse eye tracking, providing general gaze direction without high precision.

Supported runtimes:

  • OpenXR

Required permissions:

DISABLED

val DISABLEDEyeTrackingMode

Eye tracking is disabled.

FINE_TRACKING

val FINE_TRACKINGEyeTrackingMode

Enables fine eye tracking, providing more precise gaze direction.

Supported runtimes:

  • OpenXR

Required permissions:

Public functions

toString

open fun toString(): String

Returns a string representation of EyeTrackingMode for debugging.

Note: Not intended for production use.

Public properties

mode

Added in 1.0.0-beta02
val modeInt