AugmentedObject.State
public final class AugmentedObject.State implements Trackable.State
The representation of the current state of an AugmentedObject.
Summary
Public methods
getCategory
Added in 1.0.0
public final @NonNull AugmentedObjectCategory getCategory()
the Category of the augmented object
getCenterPose
Added in 1.0.0
public final @NonNull Pose getCenterPose()
the Pose determined to represent the center of this object
getExtents
Added in 1.0.0
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
getOwner
Added in 1.0.0
public final @NonNull AugmentedObject getOwner()
self-reference to the object that owns this state
getTrackingState
public @NonNull TrackingState getTrackingState()
the androidx.xr.arcore.TrackingState of the object
toString
public @NonNull String toString()
Returns a string representation of AugmentedObject.State for debugging.
Note: Not intended for production use.
