FaceTrackingMode


public final 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 fields

static final @NonNull FaceTrackingMode

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

static final @NonNull FaceTrackingMode

Faces will not be tracked.

Public methods

final int

Public fields

BLEND_SHAPES

public static final @NonNull FaceTrackingMode BLEND_SHAPES

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

Supported runtimes:

  • OpenXR

Required permissions:

DISABLED

public static final @NonNull FaceTrackingMode DISABLED

Faces will not be tracked.

Public methods

getMode

Added in 1.0.0-alpha15
public final int getMode()