Config.PlaneTrackingMode


class Config.PlaneTrackingMode : Config.ConfigMode


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

Setting this feature to PlaneTrackingMode.HORIZONTAL_AND_VERTICAL requires that the SCENE_UNDERSTANDING_COARSE Android permission is granted.

Summary

Public companion properties

Config.PlaneTrackingMode

Planes will not be tracked.

Config.PlaneTrackingMode

Horizontal and vertical planes will be tracked.

Public functions

open String

Inherited functions

From androidx.xr.runtime.Config.ConfigMode
open Boolean
isSupported(session: Session)

Queries whether the ConfigMode is supported and is available to be configured for the session via Session.configure.

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.

Public functions

toString

open fun toString(): String