DepthEstimationMode


public final class DepthEstimationMode extends Config.ConfigMode


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

Summary

Public fields

static final @NonNull DepthEstimationMode

No information about scene depth will be provided.

static final @NonNull DepthEstimationMode

Depth estimation will be enabled with raw depth and confidence.

static final @NonNull DepthEstimationMode

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

static final @NonNull DepthEstimationMode

Depth estimation will be enabled with smooth depth and confidence.

Public fields

DISABLED

public static final @NonNull DepthEstimationMode DISABLED

No information about scene depth will be provided.

RAW_ONLY

public static final @NonNull DepthEstimationMode RAW_ONLY

Depth estimation will be enabled with raw depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions:

SMOOTH_AND_RAW

public static final @NonNull DepthEstimationMode SMOOTH_AND_RAW

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

public static final @NonNull DepthEstimationMode SMOOTH_ONLY

Depth estimation will be enabled with smooth depth and confidence.

Supported runtimes:

  • OpenXR

  • Play Services (on supported devices)

Required permissions: