UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EyeTrackerTypes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Math/Vector.h"
9
10#include "EyeTrackerTypes.generated.h"
11
12
13// struct FEyeTrackerKeys
14// {
15// static const FKey Gaze_X;
16// static const FKey Gaze_Y;
17// };
18
22USTRUCT(BlueprintType)
24{
26
27public:
28
30 : GazeOrigin(ForceInitToZero)
31 , GazeDirection(ForceInitToZero)
32 , FixationPoint(ForceInitToZero)
33 , ConfidenceValue(0.f)
34 , bIsLeftEyeBlink(false)
35 , bIsRightEyeBlink(false)
36 , LeftPupilDiameter(0.0f)
37 , RightPupilDiameter(0.0f)
38 {}
39
41 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Gaze Data")
42 FVector GazeOrigin;
43
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
46 FVector GazeDirection;
47
49 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
50 FVector FixationPoint;
51
53 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
54 float ConfidenceValue;
55
57 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
58 bool bIsLeftEyeBlink;
59
61 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
62 bool bIsRightEyeBlink;
63
65 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
66 float LeftPupilDiameter;
67
69 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Gaze Data")
70 float RightPupilDiameter;
71};
72
73
78USTRUCT(BlueprintType)
80{
82
83public:
84
86 : LeftEyeOrigin(ForceInitToZero)
87 , LeftEyeDirection(ForceInitToZero)
88 , RightEyeOrigin(ForceInitToZero)
89 , RightEyeDirection(ForceInitToZero)
90 , FixationPoint(ForceInitToZero)
91 , ConfidenceValue(0.f)
92 {}
93
95 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stereo Gaze Data")
96 FVector LeftEyeOrigin;
98 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stereo Gaze Data")
99 FVector LeftEyeDirection;
100
102 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stereo Gaze Data")
103 FVector RightEyeOrigin;
105 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stereo Gaze Data")
106 FVector RightEyeDirection;
107
109 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stereo Gaze Data")
110 FVector FixationPoint;
111
113 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Stereo Gaze Data")
114 float ConfidenceValue;
115
116};
117
118UENUM(BlueprintType)
@ ForceInitToZero
Definition CoreMiscDefines.h:156
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EEyeTrackerStatus
Definition EyeTrackerTypes.h:120
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
uint8_t uint8
Definition binka_ue_file_header.h:8
@ false
Definition radaudio_common.h:23
Definition EyeTrackerTypes.h:24
FEyeTrackerGazeData()
Definition EyeTrackerTypes.h:29
Definition EyeTrackerTypes.h:80
FEyeTrackerStereoGazeData()
Definition EyeTrackerTypes.h:85