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.

In this codelab, you’ll build an Android app that uses Dagger to do Dependency Injection.

Updated Dec 10, 2024

The official site for Android 12. Provides the Android SDK tools and API documentation.

Updated Jan 9, 2025

Plan to create quality apps and features from the start by understanding best practices and requirements.

Updated Jan 3, 2024