Config.PlaneTrackingMode


public final class Config.PlaneTrackingMode extends Config.ConfigMode


Feature that allows tracking of and provides information about scene planes.

Summary

Public fields

static final @NonNull Config.PlaneTrackingMode

This field is deprecated. Use androidx.xr.runtime.PlaneTrackingMode instead.

static final @NonNull Config.PlaneTrackingMode

This field is deprecated. Use androidx.xr.runtime.PlaneTrackingMode instead.

Public fields

DISABLED

public static final @NonNull Config.PlaneTrackingMode DISABLED

Planes will not be tracked.

HORIZONTAL_AND_VERTICAL

public static final @NonNull Config.PlaneTrackingMode HORIZONTAL_AND_VERTICAL

Horizontal and vertical planes will be tracked. Note that setting this mode will consume additional runtime resources.

Supported runtimes:

  • OpenXR

  • Play Services

Required permissions: