class Eye


A representation of a user's eye.

An Eye instance provides the state of the eye (shut or gazing), as well as a Pose indicating where the user is currently looking.

Summary

Nested types

class Eye.State

The representation of the current state of an Eye.

Public companion functions

Eye?
left(session: Session)

Returns the left eye, if available.

Eye?
right(session: Session)

Returns the right eye, if available.

Public properties

StateFlow<Eye.State>

A StateFlow that contains the latest State of an Eye.

Public companion functions

left

Added in 1.0.0-alpha08
fun left(session: Session): Eye?

Returns the left eye, if available.

right

Added in 1.0.0-alpha08
fun right(session: Session): Eye?

Returns the right eye, if available.

Public properties

state

Added in 1.0.0-alpha08
val stateStateFlow<Eye.State>

A StateFlow that contains the latest State of an Eye.