PlaneTrackingMode


class PlaneTrackingMode


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

Summary

Public companion properties

PlaneTrackingMode

Planes will not be tracked.

PlaneTrackingMode

Horizontal and vertical planes will be tracked.

Public functions

open String

Returns a string representation of PlaneTrackingMode for debugging.

Public properties

Int

Public companion properties

DISABLED

val DISABLEDPlaneTrackingMode

Planes will not be tracked.

HORIZONTAL_AND_VERTICAL

val HORIZONTAL_AND_VERTICALPlaneTrackingMode

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

Supported runtimes:

  • OpenXR

  • Play Services

Required permissions:

Public functions

toString

open fun toString(): String

Returns a string representation of PlaneTrackingMode for debugging.

Note: Not intended for production use.

Public properties

mode

Added in 1.0.0-beta02
val modeInt