unreal.EyeTrackerGazeData

class unreal.EyeTrackerGazeData(gaze_origin: Vector = Ellipsis, gaze_direction: Vector = Ellipsis, fixation_point: Vector = Ellipsis, confidence_value: float = 0.0, is_left_eye_blink: bool = False, is_right_eye_blink: bool = False, left_pupil_diameter: float = 0.0, right_pupil_diameter: float = 0.0)

Bases: StructBase

Represents a unified gaze ray that incorporates both eyes.

C++ Source:

  • Module: EyeTracker

  • File: EyeTrackerTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • confidence_value (float): [Read-Write] Value [0..1] that represents confidence in the gaze ray data above. Stable, reliably tracked eyes will be at or near 1. Fast-moving or unreliably tracked eyes will be at or near 0.

  • fixation_point (Vector): [Read-Write] Location that the eyes converge. This is the 3d point where the tracked viewer is looking.

  • gaze_direction (Vector): [Read-Write] Forward direction of the unified gaze ray.

  • gaze_origin (Vector): [Read-Write] Origin of the unified gaze ray.

  • is_left_eye_blink (bool): [Read-Write] Left eye blink data. True if the eye is close. False if the eye is open.

  • is_right_eye_blink (bool): [Read-Write] Right eye blink data. True if the eye is close. False if the eye is open.

  • left_pupil_diameter (float): [Read-Write] Diameter of the left pupil.

  • right_pupil_diameter (float): [Read-Write] Diameter of the right pupil

property confidence_value: float

[Read-Write] Value [0..1] that represents confidence in the gaze ray data above. Stable, reliably tracked eyes will be at or near 1. Fast-moving or unreliably tracked eyes will be at or near 0.

Type:

(float)

property fixation_point: Vector

[Read-Write] Location that the eyes converge. This is the 3d point where the tracked viewer is looking.

Type:

(Vector)

property gaze_direction: Vector

[Read-Write] Forward direction of the unified gaze ray.

Type:

(Vector)

property gaze_origin: Vector

[Read-Write] Origin of the unified gaze ray.

Type:

(Vector)

[Read-Write] Left eye blink data. True if the eye is close. False if the eye is open.

Type:

(bool)

[Read-Write] Right eye blink data. True if the eye is close. False if the eye is open.

Type:

(bool)

property left_pupil_diameter: float

[Read-Write] Diameter of the left pupil.

Type:

(float)

property right_pupil_diameter: float

[Read-Write] Diameter of the right pupil

Type:

(float)