class CameraView : BaseActivityPose


A ActivityPose which tracks a camera's position and view into physical space.

Summary

Nested types

Describes the type of camera that this CameraView represents.

Public properties

CameraView.CameraType
Fov

Gets the FOV for the camera

Inherited functions

From androidx.xr.scenecore.BaseActivityPose
open Pose

Returns the activity space pose for this ActivityPose.

open ListenableFuture<HitTestResult>
hitTestAsync(origin: Vector3, direction: Vector3)

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

open ListenableFuture<HitTestResult>
hitTestAsync(
    origin: Vector3,
    direction: Vector3,
    @ActivityPose.HitTestFilterValue hitTestFilter: Int
)

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

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

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

Public properties

cameraType

Added in 1.0.0-alpha04
val cameraTypeCameraView.CameraType

fov

Added in 1.0.0-alpha04
val fovFov

Gets the FOV for the camera