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
equals(Object other)
final @NonNull Pose

the Pose of the eye

@NonNull TrackingState

the androidx.xr.runtime.TrackingState of the eye

int
final boolean

a flag indicating whether the eye is open

Public methods

equals

public boolean equals(Object other)

getPose

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

the Pose of the eye

getTrackingState

public @NonNull TrackingState getTrackingState()

the androidx.xr.runtime.TrackingState of the eye

hashCode

public int hashCode()

isOpen

Added in 1.0.0-alpha13
public final boolean isOpen()

a flag indicating whether the eye is open