DepthEstimationMode


class DepthEstimationMode


Feature that allows more accurate information about scene depth and meshes.

Summary

Public companion properties

DepthEstimationMode

No information about scene depth will be provided.

DepthEstimationMode

Depth estimation will be enabled with raw depth and confidence.

DepthEstimationMode

Depth estimation will be enabled with both raw and smooth depth and confidence.

DepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Public properties

Int

Public companion properties

DISABLED

val DISABLEDDepthEstimationMode

No information about scene depth will be provided.

RAW_ONLY

val RAW_ONLYDepthEstimationMode

Depth estimation will be enabled with raw depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions:

SMOOTH_AND_RAW

val SMOOTH_AND_RAWDepthEstimationMode

Depth estimation will be enabled with both raw and smooth depth and confidence. Note that setting this mode will consume additional runtime resources.

Supported runtimes:

  • Play Services (on supported devices)

Required permissions:

  • CAMERA (Play Services runtimes only)

SMOOTH_ONLY

val SMOOTH_ONLYDepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions:

Public properties

mode

Added in 1.0.0-alpha15
val modeInt