Trackable
public interface Trackable<State extends Object>
AugmentedObject |
A representation of a physical object in real space. |
Plane |
Describes the system's current best knowledge of a real-world planar surface. |
An object that ARCore for Jetpack XR can track and that an Anchor can be attached to.
Summary
Nested types |
|---|
public interface Trackable.StateThe subset of data that is common to the state of all |
Public methods |
|
|---|---|
abstract @NonNull AnchorCreateResult |
createAnchor(@NonNull Pose pose)Creates an |
abstract @NonNull StateFlow<@NonNull Trackable.State> |
getState()Emits the current state of this trackable. |
Public methods
createAnchor
abstract @NonNull AnchorCreateResult createAnchor(@NonNull Pose pose)
Creates an Anchor that is attached to this trackable, using the given initial pose in the world coordinate space.
getState
abstract @NonNull StateFlow<@NonNull Trackable.State> getState()
Emits the current state of this trackable.