data class AnchorState


Represents the current state of an Anchor instance's mutable fields.

Summary

Public constructors

AnchorState(trackingState: TrackingState, pose: Pose?)

Public properties

Pose?

the pose of the center of the detected anchor.

TrackingState

the TrackingState value describing if the anchor is being updated.

Public constructors

AnchorState

Added in 1.0.0-alpha01
AnchorState(
    trackingState: TrackingState = TrackingState.Paused,
    pose: Pose? = Pose()
)

Public properties

pose

Added in 1.0.0-alpha01
val posePose?

the pose of the center of the detected anchor. Can be null iff the tracking state is TrackingState.Stopped.

trackingState

Added in 1.0.0-alpha01
val trackingStateTrackingState

the TrackingState value describing if the anchor is being updated.