OpenXRAndroidPassthroughCameraStateExtensionWrapper

Inherits: OpenXRExtensionWrapperExtension

Wraps the XR_ANDROID_passthrough_camera_state extension.

Description

Wraps the XR_ANDROID_passthrough_camera_state extension.

Methods

PassthroughCameraState

get_passthrough_camera_state ( )


Enumerations

enum PassthroughCameraState:

PassthroughCameraState PASSTHROUGH_CAMERA_STATE_DISABLED = 0

The camera has been disabled by an app, the system or the user.

PassthroughCameraState PASSTHROUGH_CAMERA_STATE_INITIALIZING = 1

The camera is still coming online and not yet ready to use.

PassthroughCameraState PASSTHROUGH_CAMERA_STATE_READY = 2

The camera is ready to use.

PassthroughCameraState PASSTHROUGH_CAMERA_STATE_ERROR = 3

The camera is in an unrecoverable error state.


Method Descriptions

PassthroughCameraState get_passthrough_camera_state ( )

Returns the current PassthroughCameraState.