# UAndroidXREyeTrackingComponent

`#include <AndroidXREyeTrackingComponent.h>`

[AndroidXR](https://developer.android.com/develop/xr/unreal/reference/namespace/AndroidXR#namespace_android_x_r) Eye Tracking scene component.

The component will be positioned at the pose of the selected eye source

<br />

## Summary

### Inheritance

Inherits from: `USceneComponent`, `IAndroidXRTrackedDataListener`

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#uandroidxreyetrackingcomponent()` ||

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#eyesource {}` | `https://developer.android.com/develop/xr/unreal/reference/other/AndroidXREyeTrackingTypes.h#eandroidxreyeindex` The eye to update the component's transform with. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#eyesstate {}` | `https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXREyes#struct_f_android_x_r_eyes` The eye data obtained from the AndroidXREyeTracking subsystem. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#forwardoffset { 250.0f }` | `float` The forward offset from the eye position for the component. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#locationoffset {}` | `FVector` The location offset of the component from the eye position. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#bmatcheyerotation {}` | `bool` Whether to match the component's rotation with the eye rotation. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#bupdatetransform { true }` | `bool` Whether to update the transform of the component with the eye transform. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXREyeTrackingComponent#tickcomponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override` | `void` |

## Public attributes

### EyeSource

```
EAndroidXREyeIndex EyeSource {}
```
The eye to update the component's transform with.

### EyesState

```
FAndroidXREyes EyesState {}
```
The eye data obtained from the AndroidXREyeTracking subsystem.

### ForwardOffset

```
float ForwardOffset { 250.0f }
```
The forward offset from the eye position for the component.

### LocationOffSet

```
FVector LocationOffSet {}
```
The location offset of the component from the eye position.

### bMatchEyeRotation

```
bool bMatchEyeRotation {}
```
Whether to match the component's rotation with the eye rotation.

### bUpdateTransform

```
bool bUpdateTransform { true }
```
Whether to update the transform of the component with the eye transform.

## Public functions

### TickComponent

```
void TickComponent(
  float DeltaTime,
  enum ELevelTick TickType,
  FActorComponentTickFunction *ThisTickFunction
) override
```

### UAndroidXREyeTrackingComponent

```
 UAndroidXREyeTrackingComponent()
```