DepthEstimationMode


class DepthEstimationMode : Config.ConfigMode


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 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:

  • OpenXR

  • Play Services (on supported devices)

Required permissions:

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: