Trackable
interface Trackable<State : Any?>
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 |
|---|
interface Trackable.StateThe subset of data that is common to the state of all |
Public functions |
|
|---|---|
AnchorCreateResult |
createAnchor(pose: Pose)Creates an |
Public properties |
|
|---|---|
StateFlow<Trackable.State> |
Emits the current state of this trackable. |
Public functions
createAnchor
fun createAnchor(pose: Pose): AnchorCreateResult
Creates an Anchor that is attached to this trackable, using the given initial pose in the world coordinate space.
Public properties
state
val state: StateFlow<Trackable.State>
Emits the current state of this trackable.