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 modify the current configuration.

Summary

Nested types

Feature that allows Anchor's to be peristed through sessions.

Feature that allows more accurate information about scene depth and meshes.

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(
    planeTracking: Config.PlaneTrackingMode,
    handTracking: Config.HandTrackingMode,
    depthEstimation: Config.DepthEstimationMode,
    anchorPersistence: Config.AnchorPersistenceMode,
    headTracking: Config.HeadTrackingMode
)

Public functions

Config
copy(
    planeTracking: Config.PlaneTrackingMode,
    handTracking: Config.HandTrackingMode,
    depthEstimation: Config.DepthEstimationMode,
    anchorPersistence: Config.AnchorPersistenceMode,
    headTracking: Config.HeadTrackingMode
)
open operator Boolean
equals(other: Any?)
open Int

Public constructors

Config

Added in 1.0.0-alpha04
Config(
    planeTracking: Config.PlaneTrackingMode = PlaneTrackingMode.Disabled,
    handTracking: Config.HandTrackingMode = HandTrackingMode.Disabled,
    depthEstimation: Config.DepthEstimationMode = DepthEstimationMode.Disabled,
    anchorPersistence: Config.AnchorPersistenceMode = AnchorPersistenceMode.Disabled,
    headTracking: Config.HeadTrackingMode = HeadTrackingMode.Disabled
)

Public functions

copy

Added in 1.0.0-alpha04
fun copy(
    planeTracking: Config.PlaneTrackingMode = this.planeTracking,
    handTracking: Config.HandTrackingMode = this.handTracking,
    depthEstimation: Config.DepthEstimationMode = this.depthEstimation,
    anchorPersistence: Config.AnchorPersistenceMode = this.anchorPersistence,
    headTracking: Config.HeadTrackingMode = this.headTracking
): Config

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

depthEstimation

Added in 1.0.0-alpha04
val depthEstimationConfig.DepthEstimationMode

handTracking

Added in 1.0.0-alpha04
val handTrackingConfig.HandTrackingMode

headTracking

Added in 1.0.0-alpha04
val headTrackingConfig.HeadTrackingMode

planeTracking

Added in 1.0.0-alpha04
val planeTrackingConfig.PlaneTrackingMode