EyeTrackingEventData

lumin. EyeTrackingEventData

EyeTrackingEventData - Eye tracking update events

Extends

Methods

getEyeTrackingFixationConfidence() → {number}

Get the confidence value of the fixation tracking data

Returns:

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.

Type
number

getEyeTrackingFixationPosition() → {vec3}

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

Returns:

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

Type
vec3

getEyeTrackingLeftEyeBlinkState() → {boolean}

Get the blink state of the left eye

Returns:

true if the left eye is blinking, false otherwise

Type
boolean

getEyeTrackingLeftEyeConfidence() → {number}

Get the confidence value of the left eye tracking data

Returns:

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

Type
number

getEyeTrackingLeftEyePosition() → {vec3}

Get the position of the user's left eye in world space

Returns:

the world space position of the user's left eye

Type
vec3

getEyeTrackingLeftEyeRotation() → {quat}

Get the rotation of the user's left eye in world space

Returns:

the world space rotation of the user's left eye

Type
quat

getEyeTrackingRightEyeBlinkState() → {boolean}

Get the blink state of the right eye

Returns:

true if the right eye is blinking, false otherwise

Type
boolean

getEyeTrackingRightEyeConfidence() → {number}

Get the confidence value of the right eye tracking data

Returns:

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

Type
number

getEyeTrackingRightEyePosition() → {vec3}

Get the position of the user's right eye in world space

Returns:

the world space position of the user's right eye

Type
vec3

getEyeTrackingRightEyeRotation() → {quat}

Get the position of the user's left eye in world space

Returns:

the world space position of the user's left eye

Type
quat

getPrismId() → {BigInt}

Inherited From:

Returns the Prism ID of the target Prism.

Returns:

the Prism ID of the target Prism.

Type
BigInt

hasFixationViolationOccured() → {boolean}

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

Returns:

true if a violation has occured, false otherwise

Type
boolean

isFixationDepthUnconfortable() → {boolean}

Get whether the current fixation depth is uncomfortable for the user (< 37cm)

Returns:

true if the fixation depth is uncomfortable, false otherwise

Type
boolean

isInputEventType() → {boolean}

Inherited From:

Returns true if this is an input event (a subclass of InputEventData).

Returns:

true if this is an input event

Type
boolean

remainingTimeAtUncomfortableDepth() → {number}

Get the remaining time the fixation point can remain at an uncomfortable depth

Returns:

the time remaining at the uncomfortable depth (in seconds)

Type
number

toString() → {string}

Inherited From:

Returns a string representation of this event for debug purposes.

Returns:
Type
string