UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EyeTrackerFunctionLibrary.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"
8#include "EyeTrackerTypes.h"
9#include "IEyeTracker.h"
10#include "EyeTrackerFunctionLibrary.generated.h"
11
12#define UE_API EYETRACKER_API
13
14UCLASS(MinimalAPI)
16{
18
19public:
20
25 UFUNCTION(BlueprintPure, Category = "Eye Tracking")
26 static UE_API bool IsEyeTrackerConnected();
27
32 UFUNCTION(BlueprintPure, Category = "Eye Tracking")
33 static UE_API bool IsStereoGazeDataAvailable();
34
40 UFUNCTION(BlueprintCallable, Category = "Eye Tracking")
41 static UE_API bool GetGazeData(FEyeTrackerGazeData& OutGazeData);
42
48 UFUNCTION(BlueprintCallable, Category = "Eye Tracking")
49 static UE_API bool GetStereoGazeData(FEyeTrackerStereoGazeData& OutGazeData);
50
55 UFUNCTION(BlueprintCallable, Category = "Eye Tracking")
56 static UE_API void SetEyeTrackedPlayer(APlayerController* PlayerController);
57
58};
59
60#undef UE_API
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition EyeTrackerFunctionLibrary.h:12
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition PlayerController.h:261
Definition BlueprintFunctionLibrary.h:16
Definition EyeTrackerFunctionLibrary.h:16
Definition EyeTrackerTypes.h:24
Definition EyeTrackerTypes.h:80