Config
class Config
Defines a configuration state of all available features to be set at runtime.
An instance of this class should be passed to Session.configure to set the current configuration. Use Config.copy on Session.config to modify a copy of the existing configuration to pass to Session.configure.
Summary
Nested types |
|---|
|
Feature that allows anchors to be persisted through sessions. |
interface Config.ConfigModeDescribes a specific value used to set the configuration via |
|
Feature that allows more accurate information about scene depth and meshes. |
|
Feature that allows tracking of the AR device. |
|
Feature that allows tracking of human faces. |
|
Feature that allows Geospatial localization and tracking. |
|
Feature that allows tracking of the user's hands and hand joints. |
|
Feature that allows tracking of the user's head pose. |
|
Feature that allows tracking of and provides information about scene planes. |
Public constructors |
|---|
Config(Defines a configuration state of all available features to be set at runtime. |
Public functions |
|
|---|---|
Config |
copy( |
open operator Boolean |
|
open Int |
hashCode() |
Public properties |
|
|---|---|
Config.AnchorPersistenceMode |
Feature that allows anchors to be persisted through sessions. |
Config.DepthEstimationMode |
Feature that allows more accurate information about scene depth and meshes. |
Config.FaceTrackingMode |
|
Config.GeospatialMode |
Feature that allows geospatial localization and tracking. |
Config.HandTrackingMode |
Feature that allows tracking of the user's hands and hand joints. |
Config.HeadTrackingMode |
Feature that allows tracking of the user's head position. |
Config.PlaneTrackingMode |
Feature that allows tracking of and provides information about scene planes. |
Public constructors
Config
Config(
planeTracking: Config.PlaneTrackingMode = PlaneTrackingMode.DISABLED,
handTracking: Config.HandTrackingMode = HandTrackingMode.DISABLED,
headTracking: Config.HeadTrackingMode = HeadTrackingMode.DISABLED,
depthEstimation: Config.DepthEstimationMode = DepthEstimationMode.DISABLED,
anchorPersistence: Config.AnchorPersistenceMode = AnchorPersistenceMode.DISABLED,
faceTracking: Config.FaceTrackingMode = FaceTrackingMode.DISABLED,
geospatial: Config.GeospatialMode = GeospatialMode.DISABLED
)
Defines a configuration state of all available features to be set at runtime.
An instance of this class should be passed to Session.configure to set the current configuration. Use Config.copy on Session.config to modify a copy of the existing configuration to pass to Session.configure.
| Parameters | |
|---|---|
planeTracking: Config.PlaneTrackingMode = PlaneTrackingMode.DISABLED |
Feature that allows tracking of and provides information about scene planes. See |
handTracking: Config.HandTrackingMode = HandTrackingMode.DISABLED |
Feature that allows tracking of the user's hands and hand joints. See |
headTracking: Config.HeadTrackingMode = HeadTrackingMode.DISABLED |
Feature that allows tracking of the user's head position. See |
depthEstimation: Config.DepthEstimationMode = DepthEstimationMode.DISABLED |
Feature that allows more accurate information about scene depth and meshes. See |
anchorPersistence: Config.AnchorPersistenceMode = AnchorPersistenceMode.DISABLED |
Feature that allows anchors to be persisted through sessions. See |
faceTracking: Config.FaceTrackingMode = FaceTrackingMode.DISABLED |
Feature that allows tracking of human faces. See |
geospatial: Config.GeospatialMode = GeospatialMode.DISABLED |
Feature that allows geospatial localization and tracking. See |
Public functions
copy
fun copy(
planeTracking: Config.PlaneTrackingMode = this.planeTracking,
handTracking: Config.HandTrackingMode = this.handTracking,
headTracking: Config.HeadTrackingMode = this.headTracking,
depthEstimation: Config.DepthEstimationMode = this.depthEstimation,
anchorPersistence: Config.AnchorPersistenceMode = this.anchorPersistence
): Config
Public properties
anchorPersistence
val anchorPersistence: Config.AnchorPersistenceMode
Feature that allows anchors to be persisted through sessions. See Config.AnchorPersistenceMode.
depthEstimation
val depthEstimation: Config.DepthEstimationMode
Feature that allows more accurate information about scene depth and meshes. See Config.DepthEstimationMode.
geospatial
val geospatial: Config.GeospatialMode
Feature that allows geospatial localization and tracking. See Config.GeospatialMode.
handTracking
val handTracking: Config.HandTrackingMode
Feature that allows tracking of the user's hands and hand joints. See Config.HandTrackingMode.
headTracking
val headTracking: Config.HeadTrackingMode
Feature that allows tracking of the user's head position. See Config.HeadTrackingMode.
planeTracking
val planeTracking: Config.PlaneTrackingMode
Feature that allows tracking of and provides information about scene planes. See Config.PlaneTrackingMode.