# XRFineEyeFeature

This feature exposes fine eye info provided by `XR_ANDROID_eye_tracking` extension.

It's a supplement to **Unity OpenXR Android XR** 's **Android XR: AR Face** feature which integrates XRFaceSubsystem and exposes coarse eye info via ARFace.leftEye and ARFace.rightEye.

## Summary

### Inheritance

Inherits from: `OpenXRFeature`, [`Google.XR.Extensions.IXRSpatialSdk`](https://developer.android.com/develop/xr/unity/reference/interface/Google/XR/Extensions/IXRSpatialSdk)

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFineEyeFeature#extensionstrings = "XR_ANDROID_eye_tracking"` | `const string` The required OpenXR extension. |
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFineEyeFeature#featureid = "com.google.xr.extensions.fine_eye"` | `const string` The feature ID string. |
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFineEyeFeature#uiname = "Android XR (Extensions): Fine Eye"` | `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 ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFineEyeFeature#isextensionenabled => _extensionEnabled` | `bool` Gets if the required OpenXR extension is enabled. |
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFineEyeFeature#requiredpermission = AndroidXRPermission.EyeTrackingFine` | `readonly https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#androidxrpermission` Runtime permissions required to enable fine eye. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XRFineEyeFeature#gettargetversion()` | `https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrspatialsdkversions` Gets the target version of the given feature if applicable. |

## Public attributes

### ExtensionStrings

```c#
const string ExtensionStrings = "XR_ANDROID_eye_tracking"
```
The required OpenXR extension.

### FeatureId

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

### UiName

```c#
const string UiName = "Android XR (Extensions): Fine Eye"
```
The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.

## Public static attributes

### IsExtensionEnabled

```c#
bool IsExtensionEnabled => _extensionEnabled
```
Gets if the required OpenXR extension is enabled.

### RequiredPermission

```c#
readonly AndroidXRPermission RequiredPermission =
            AndroidXRPermission.EyeTrackingFine
```
Runtime permissions required to enable fine eye.

## Public functions

### GetTargetVersion

```c#
XRSpatialSdkVersions GetTargetVersion()
```
Gets the target version of the given feature if applicable.