PlaneTrackingMode
public final class PlaneTrackingMode
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 methods |
|
|---|---|
final int |
getMode() |
Public fields
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:
-
SCENE_UNDERSTANDING_COARSE(OpenXR runtimes only) -
ACCESS_COARSE_LOCATION(Play Services runtimes only) -
CAMERA(Play Services runtimes only)