AugmentedObject.State


class AugmentedObject.State : Trackable.State


The representation of the current state of an AugmentedObject.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Returns a string representation of AugmentedObject.State for debugging.

Public properties

AugmentedObjectCategory

the Category of the augmented object

Pose

the Pose determined to represent the center of this object

FloatSize3d

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

AugmentedObject

self-reference to the object that owns this state

open TrackingState

the androidx.xr.arcore.TrackingState of the object

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Returns a string representation of AugmentedObject.State for debugging.

Note: Not intended for production use.

Public properties

category

Added in 1.0.0-beta02
val categoryAugmentedObjectCategory

the Category of the augmented object

centerPose

Added in 1.0.0-beta02
val centerPosePose

the Pose determined to represent the center of this object

extents

Added in 1.0.0-beta02
val extentsFloatSize3d

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

owner

Added in 1.0.0-beta02
val ownerAugmentedObject

self-reference to the object that owns this state

trackingState

open val trackingStateTrackingState

the androidx.xr.arcore.TrackingState of the object