API reference

UOculusXREyeTrackingComponent Class

Extends UActorComponent

Fields

FName TargetMeshComponentName[Get]
The name of the poseable mesh component that this component targets for eyes glazes movement. This must be the name of a component on this actor.
TMap< EOculusXREye, FName > EyeToBone[Get]
The map of eye to mesh bone that this component supports. Names are validated on (
See Also
BeginPlay) so only valid bone names will be targeted.
bool bUpdatePosition[Get]
Update the target mesh position when eye state changes
bool bUpdateRotation[Get]
Update the target mesh rotation when eye state changes
float ConfidenceThreshold[Get]
Do not accept an eye gaze state if confidence is lower than this value. Confidence is in range [0,1].
bool bAcceptInvalid[Get]
Bypass eye gaze state validity.: It doesn't check the confidence (
See Also
ConfidenceThreshold). The eye gaze state can be marked as invalid. This flag bypass that state flag.

Member Functions

UOculusXREyeTrackingComponent ( )
virtual void BeginPlay ( )
virtual void EndPlay
( const EEndPlayReason::Type EndPlayReason )
virtual void TickComponent
( float DeltaTime,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
void ClearRotationValues ( )
Reset the rotation values of the eyes to their initial rotation