class CameraView : BaseScenePose


An ScenePose which tracks a camera view's position and view into physical space.

Summary

Nested types

Describes the type of camera that this CameraView represents.

Public properties

CameraView.CameraType
FieldOfView

Gets the FOV for the camera.

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.

Public properties

cameraType

Added in 1.0.0-alpha06
val cameraTypeCameraView.CameraType

fov

Added in 1.0.0-alpha06
val fovFieldOfView

Gets the FOV for the camera.