Config.DepthEstimationMode


class Config.DepthEstimationMode : Config.ConfigMode


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

Summary

Public companion properties

Config.DepthEstimationMode

This property is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

Config.DepthEstimationMode

This property is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

Config.DepthEstimationMode

This property is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

Config.DepthEstimationMode

This property is deprecated. Use androidx.xr.runtime.DepthEstimationMode instead.

Public companion properties

DISABLED

val DISABLEDConfig.DepthEstimationMode

No information about scene depth will be provided.

RAW_ONLY

val RAW_ONLYConfig.DepthEstimationMode

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_RAWConfig.DepthEstimationMode

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_ONLYConfig.DepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions: