PlaneTrackingMode


public final class PlaneTrackingMode extends Config.ConfigMode


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

Summary

Public fields

static final @NonNull PlaneTrackingMode

Planes will not be tracked.

static final @NonNull PlaneTrackingMode

Horizontal and vertical planes will be tracked.

Public fields

DISABLED

public static final @NonNull PlaneTrackingMode DISABLED

Planes will not be tracked.

HORIZONTAL_AND_VERTICAL

public static final @NonNull 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: