public final class Head extends BaseActivityPose


Head is a ActivityPose used to track the position of the user's head. If there is a left and right camera it is calculated as the position between the two.

Summary

Inherited methods

From androidx.xr.scenecore.BaseActivityPose
@NonNull Pose

Returns the activity space pose for this ActivityPose.

@NonNull ListenableFuture<@NonNull HitTestResult>
hitTestAsync(@NonNull Vector3 origin, @NonNull Vector3 direction)

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

@NonNull ListenableFuture<@NonNull HitTestResult>
hitTestAsync(
    @NonNull Vector3 origin,
    @NonNull Vector3 direction,
    @ActivityPose.HitTestFilterValue int hitTestFilter
)

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

@NonNull Pose

Returns a pose relative to this ActivityPose transformed into a pose relative to the destination.