UAndroidXREyeTrackingComponent

#include <AndroidXREyeTrackingComponent.h>

AndroidXR Eye Tracking scene component.

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

Summary

Inheritance

Inherits from: USceneComponent, IAndroidXRTrackedDataListener

Constructors and Destructors

UAndroidXREyeTrackingComponent()

Public attributes

EyeSource {}
The eye to update the component's transform with.
EyesState {}
The eye data obtained from the AndroidXREyeTracking subsystem.
ForwardOffset { 250.0f }
float
The forward offset from the eye position for the component.
LocationOffSet {}
FVector
The location offset of the component from the eye position.
bMatchEyeRotation {}
bool
Whether to match the component's rotation with the eye rotation.
bUpdateTransform { true }
bool
Whether to update the transform of the component with the eye transform.

Public functions

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()