Config.FaceTrackingMode


class Config.FaceTrackingMode : Config.ConfigMode


Feature that allows tracking of human faces.

Setting this feature to FaceTrackingMode.BLEND_SHAPES requires that the FACE_TRACKING Android permission is granted by the calling application.

Setting this feature to FaceTrackingMode.MESHES requires the CAMERA Android permission to be granted and that CameraFacingDirection is set to CameraFacingDirection.USER.

Summary

Public companion properties

Config.FaceTrackingMode

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

Config.FaceTrackingMode

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

Public companion properties

BLEND_SHAPES

val BLEND_SHAPESConfig.FaceTrackingMode

Blend shapes of the user's face will be tracked.

Supported runtimes:

  • OpenXR

Required permissions:

DISABLED

val DISABLEDConfig.FaceTrackingMode

Faces will not be tracked.