PerceptionSpace


class PerceptionSpace : BaseScenePose


PerceptionSpace is an ScenePose used to track the origin of the space used by ARCore for Jetpack XR APIs.

Summary

Inherited functions

From androidx.xr.scenecore.BaseScenePose
open suspend HitTestResult
hitTest(origin: Vector3, direction: Vector3)

Creates a hit test from the specified origin in the specified direction into the Scene.

open suspend HitTestResult
hitTest(origin: Vector3, direction: Vector3, hitTestFilter: Int)

Creates a hit test from the specified origin in the specified direction into the scene.

open Pose
transformPoseTo(pose: Pose, destination: ScenePose)

Returns a Pose relative to this ScenePose, transformed into a Pose relative to the destination.

Inherited properties

From androidx.xr.scenecore.BaseScenePose
open Pose

The current Pose relative to the activity space root.