XRFaceTrackingFeature

This OpenXRInteractionFeature configures new extension

XR_ANDROID_face_tracking and provides face blendshape parameter vectors at runtime.

Summary

Inheritance

Inherits from: OpenXRFeature

Public attributes

FaceTrackingExtensionString = "XR_ANDROID_face_tracking"
const string
The OpenXR Extension string.
FeatureId = "com.google.xr.extensions.face_tracking"
const string
The feature ID string.
UiName = "Android XR: Face Tracking"
const string
The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.

Public static attributes

IsFaceTrackingExtensionEnabled => _faceTrackingExtensionEnabled
bool
Gets if the required OpenXR extension is enabled.
RequiredPermission = AndroidXRPermission.FaceTracking
Runtime permission required to enable face tracking.

Public attributes

FaceTrackingExtensionString

const string FaceTrackingExtensionString = "XR_ANDROID_face_tracking"

The OpenXR Extension string.

Used to check if this extensions is available or enabled.

FeatureId

const string FeatureId = "com.google.xr.extensions.face_tracking"

The feature ID string.

UiName

const string UiName = "Android XR: Face Tracking"

The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.

Public static attributes

IsFaceTrackingExtensionEnabled

bool IsFaceTrackingExtensionEnabled => _faceTrackingExtensionEnabled

Gets if the required OpenXR extension is enabled.

When OpenXR runtime is waiting, it returns null. Otherwise, it indicates whether the XR_ANDROID_face_tracking extension is enabled.

RequiredPermission

readonly AndroidXRPermission RequiredPermission =
            AndroidXRPermission.FaceTracking

Runtime permission required to enable face tracking.