AugmentedObject.State


public final class AugmentedObject.State implements Trackable.State


The representation of the current state of an AugmentedObject.

Summary

Public methods

boolean
equals(Object other)
final @NonNull AugmentedObjectCategory

the Category of the augmented object

final @NonNull Pose

the Pose determined to represent the center of this object

final @NonNull FloatSize3d

the dimensions of the object, axis aligned relative to the center pose, representing the full length of the specific axis

@NonNull TrackingState

the androidx.xr.runtime.TrackingState of the object

int

Public methods

equals

public boolean equals(Object other)

getCategory

Added in 1.0.0-alpha13
public final @NonNull AugmentedObjectCategory getCategory()

the Category of the augmented object

getCenterPose

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

the Pose determined to represent the center of this object

getExtents

Added in 1.0.0-alpha13
public final @NonNull FloatSize3d getExtents()

the dimensions of the object, axis aligned relative to the center pose, representing the full length of the specific axis

getTrackingState

public @NonNull TrackingState getTrackingState()

the androidx.xr.runtime.TrackingState of the object

hashCode

public int hashCode()