Config.PlaneTrackingMode


class Config.PlaneTrackingMode : Config.ConfigMode


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

Summary

Public companion properties

Config.PlaneTrackingMode

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

Config.PlaneTrackingMode

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

Public companion properties

DISABLED

val DISABLEDConfig.PlaneTrackingMode

Planes will not be tracked.

HORIZONTAL_AND_VERTICAL

val HORIZONTAL_AND_VERTICALConfig.PlaneTrackingMode

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

Supported runtimes:

  • OpenXR

  • Play Services

Required permissions: