JxrPlatformAdapter.CameraViewActivityPose


interface JxrPlatformAdapter.CameraViewActivityPose : JxrPlatformAdapter.ActivityPose


Interface for a SceneCore camera view ActivityPose. This is the position of a user's camera.

The camera's field of view can be retrieved from this CameraViewActivityPose.

Summary

Nested types

The angles (in radians) representing the sides of the view frustum.

Constants

const Int
const Int
const Int

Public functions

Int

Returns the type of camera that this space represents.

JxrPlatformAdapter.CameraViewActivityPose.Fov

Inherited functions

From androidx.xr.scenecore.JxrPlatformAdapter.ActivityPose
Pose

Returns the pose for this entity, relative to the activity space root.

Vector3

Returns the scale of this WorldPose relative to the activity space.

Vector3

Returns the scale of this ActivityPose.

Pose

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

Constants

CAMERA_TYPE_LEFT_EYE

Added in 1.0.0-alpha01
const val CAMERA_TYPE_LEFT_EYE = 1: Int

CAMERA_TYPE_RIGHT_EYE

Added in 1.0.0-alpha01
const val CAMERA_TYPE_RIGHT_EYE = 2: Int

CAMERA_TYPE_UNKNOWN

Added in 1.0.0-alpha01
const val CAMERA_TYPE_UNKNOWN = 0: Int

Public functions

getCameraType

Added in 1.0.0-alpha01
fun getCameraType(): Int

Returns the type of camera that this space represents.