Eye.State


public final class Eye.State implements Trackable.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 Pose of the eye

@NonNull TrackingState

the TrackingState of the eye

final boolean

a flag indicating whether the eye is open

Public constructors

State

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

Public methods

getPose

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

the Pose of the eye

getTrackingState

public @NonNull TrackingState getTrackingState()

the TrackingState of the eye

isOpen

Added in 1.0.0-alpha12
public final boolean isOpen()

a flag indicating whether the eye is open