JxrPlatformAdapter.CameraViewActivityPose


public interface JxrPlatformAdapter.CameraViewActivityPose extends 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

default static final int
default static final int
default static final int

Public methods

abstract int

Returns the type of camera that this space represents.

abstract @NonNull JxrPlatformAdapter.CameraViewActivityPose.Fov

Inherited methods

From androidx.xr.scenecore.JxrPlatformAdapter.ActivityPose
abstract @NonNull Pose

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

abstract @NonNull Vector3

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

abstract @NonNull Vector3

Returns the scale of this ActivityPose.

abstract @NonNull 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
default static final int CAMERA_TYPE_LEFT_EYE = 1

CAMERA_TYPE_RIGHT_EYE

Added in 1.0.0-alpha01
default static final int CAMERA_TYPE_RIGHT_EYE = 2

CAMERA_TYPE_UNKNOWN

Added in 1.0.0-alpha01
default static final int CAMERA_TYPE_UNKNOWN = 0

Public methods

getCameraType

Added in 1.0.0-alpha01
abstract int getCameraType()

Returns the type of camera that this space represents.