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
Public attributes |
|
|---|---|
ExtensionStrings = "XR_ANDROID_eye_tracking"
|
const string
The required OpenXR extension.
|
FeatureId = "com.google.xr.extensions.fine_eye"
|
const string
The feature ID string.
|
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 |
|
|---|---|
IsExtensionEnabled => _extensionEnabled
|
bool
Gets if the required OpenXR extension is enabled.
|
RequiredPermission =
AndroidXRPermission.EyeTrackingFine
|
readonly AndroidXRPermission
Runtime permissions required to enable fine eye.
|
Public functions |
|
|---|---|
GetTargetVersion()
|
Gets the target version of the given feature if applicable.
|
Public attributes
ExtensionStrings
const string ExtensionStrings = "XR_ANDROID_eye_tracking"
The required OpenXR extension.
FeatureId
const string FeatureId = "com.google.xr.extensions.fine_eye"
The feature ID string.
UiName
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
bool IsExtensionEnabled => _extensionEnabled
Gets if the required OpenXR extension is enabled.
RequiredPermission
readonly AndroidXRPermission RequiredPermission = AndroidXRPermission.EyeTrackingFine
Runtime permissions required to enable fine eye.
Public functions
GetTargetVersion
XRSpatialSdkVersions GetTargetVersion()
Gets the target version of the given feature if applicable.