Eye.State


public final class Eye.State


The representation of the current state of an Eye.

The Poses provided are the position and rotation of the eye itself, relative to the head pose.

Summary

Public constructors

State(
    boolean isOpen,
    @NonNull Pose pose,
    @NonNull TrackingState trackingState
)

Public methods

final @NonNull Pose

The eye's pose

final @NonNull TrackingState

the tracking state of the eye

final boolean

a flag indicating whether or not the eye is open.

Public constructors

State

Added in 1.0.0-alpha08
public State(
    boolean isOpen,
    @NonNull Pose pose,
    @NonNull TrackingState trackingState
)

Public methods

getPose

Added in 1.0.0-alpha08
public final @NonNull Pose getPose()

The eye's pose

getTrackingState

Added in 1.0.0-alpha08
public final @NonNull TrackingState getTrackingState()

the tracking state of the eye

isOpen

Added in 1.0.0-alpha08
public final boolean isOpen()

a flag indicating whether or not the eye is open. It's set to true if it's open, false if it's closed. *