GoogleARCore. Trackable
An object ARCore is tracking in the real world.
Summary
Inheritance
Direct Known Subclasses:GoogleARCore.AugmentedFace, GoogleARCore.AugmentedImage, GoogleARCore.DetectedPlane, GoogleARCore.FeaturePoint, GoogleARCore.InstantPlacementPoint
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., DetectedPlane). |
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
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 |
|
||
Returns |
GetAllAnchors
virtual void GetAllAnchors( List< Anchor > anchors )
Gets all anchors attached to the Trackable.
Details | |||
---|---|---|---|
Parameters |
|
Protected functions
IsSessionDestroyed
bool IsSessionDestroyed()
Tells if the session was destroyed.
Details | |
---|---|
Returns |