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 methods |
|
|---|---|
boolean |
|
final @NonNull Eye |
getOwner()self-reference to the object that owns this state. |
final @NonNull Pose |
getPose()the |
@NonNull TrackingState |
the |
int |
hashCode() |
final boolean |
isOpen()a flag indicating whether the eye is open |
Public methods
getOwner
Added in 1.0.0-beta01
public final @NonNull Eye getOwner()
self-reference to the object that owns this state.
getTrackingState
public @NonNull TrackingState getTrackingState()
the androidx.xr.arcore.TrackingState of the eye
isOpen
Added in 1.0.0-beta01
public final boolean isOpen()
a flag indicating whether the eye is open