androidx.xr.arcore
Interfaces
Trackable |
An object that ARCore for Jetpack XR can track and that Anchors can be attached to. |
Trackable.State |
The subset of data that is common to the state of all |
Classes
Anchor |
An anchor describes a fixed location and orientation in the real world. |
Anchor.State |
The representation of the current state of an |
AnchorCreateResourcesExhausted |
Result of an unsuccessful |
AnchorCreateResult |
Result of a |
AnchorCreateSuccess |
Result of a successful |
HitResult |
Defines an intersection between a ray and estimated real-world geometry. |
PerceptionState |
Represents the state of ARCore for Jetpack XR at an specific point in time. |
Plane |
Describes the system's current best knowledge of a real-world planar surface. |
Plane.Label |
A semantic description of a |
Plane.State |
The representation of the current state of a |
Plane.Type |
A simple summary of the normal vector of a |
Type aliases
TrackingState |
Top-level functions summary
Extension properties summary
PerceptionState? |
The state of the perception system. |
Top-level functions
hitTest
fun hitTest(session: Session, ray: Ray): List<HitResult>
Performs a hit-test using the given ray
.
A hit-test is a method of calculating the intersection of a ray with objects tracked by the session. Conducting a hit-test results in a list of hit objects, in other words, a hit-test does not stop at the first object hit.