GoogleARCore.Trackable

An object ARCore is tracking in the real world.

Summary

Inheritance

Direct Known Subclasses:GoogleARCore.AugmentedImage, GoogleARCore.DetectedPlane, GoogleARCore.FeaturePoint

Properties

TrackingState
Gets the tracking state of for the Trackable in the current frame.

Public functions

CreateAnchor(Pose pose)
virtual Anchor
Creates an Anchor at the given Pose that is attached to the Trackable where semantics of the attachment relationship are defined by the subcass of Trackable (e.g.
GetAllAnchors(List< Anchor > anchors)
virtual void
Gets all anchors attached to the Trackable.

Protected functions

_IsSessionDestroyed()
bool
Tells if the session was destroyed.

Properties

TrackingState

TrackingState TrackingState

Gets the tracking state of for the Trackable in the current frame.

Details
Returns
The tracking state of for the Trackable in the current frame.

Public functions

CreateAnchor

virtual Anchor CreateAnchor(
  Pose pose
)

Creates an Anchor at the given Pose that is attached to the Trackable where semantics of the attachment relationship are defined by the subcass of Trackable (e.g.

DetectedPlane). Note that the relative offset between the Pose of multiple Anchors attached to the same Trackable may change over time as ARCore refines its understanding of the world.

Details
Parameters
pose
The Pose of the location to create the anchor.
Returns
An Anchor attached to the Trackable at Pose.

GetAllAnchors

virtual void GetAllAnchors(
  List< Anchor > anchors
)

Gets all anchors attached to the Trackable.

Details
Parameters
anchors
A list of anchors to be filled by the method.

Protected functions

_IsSessionDestroyed

bool _IsSessionDestroyed()

Tells if the session was destroyed.

Details
Returns
true if the session this Trackable belong to was destroyed, false otherwise.

Send feedback about...