# 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](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFaceTrackingFeature#facetrackingextensionstring)` = "XR_ANDROID_face_tracking"` | `const string` The OpenXR Extension string.                                                                                         |
| [FeatureId](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFaceTrackingFeature#featureid)` = "com.google.xr.extensions.face_tracking"`                       | `const string` The feature ID string.                                                                                               |
| [UiName](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFaceTrackingFeature#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](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFaceTrackingFeature#isfacetrackingextensionenabled)` => _faceTrackingExtensionEnabled` | `bool` Gets if the required OpenXR extension is enabled.                                                                                                                                           |
| [RequiredPermission](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFaceTrackingFeature#requiredpermission)` = AndroidXRPermission.FaceTracking`                       | `readonly `[AndroidXRPermission](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#androidxrpermission) Runtime permission required to enable face tracking. |

## Public attributes

### FaceTrackingExtensionString

```c#
const string FaceTrackingExtensionString = "XR_ANDROID_face_tracking"
```  
The OpenXR Extension string.

Used to check if this extensions is available or enabled.  

### FeatureId

```c#
const string FeatureId = "com.google.xr.extensions.face_tracking"
```  
The feature ID string.  

### UiName

```c#
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

```c#
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

```c#
readonly AndroidXRPermission RequiredPermission =
            AndroidXRPermission.FaceTracking
```  
Runtime permission required to enable face tracking.