FaceTrackingMode


class FaceTrackingMode


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.

Summary

Public companion properties

FaceTrackingMode

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

FaceTrackingMode

Faces will not be tracked.

Public functions

open String

Returns a string representation of FaceTrackingMode for debugging.

Public properties

Int

Public companion properties

BLEND_SHAPES

val BLEND_SHAPESFaceTrackingMode

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

Supported runtimes:

  • OpenXR

Required permissions:

DISABLED

val DISABLEDFaceTrackingMode

Faces will not be tracked.

Public functions

toString

open fun toString(): String

Returns a string representation of FaceTrackingMode for debugging.

Note: Not intended for production use.

Public properties

mode

Added in 1.0.0-beta02
val modeInt