Navigation
API > API/Runtime > API/Runtime/EyeTracker
The public interface of the EyeTracker module
| Name | IEyeTrackerModule |
| Type | class |
| Header File | /Engine/Source/Runtime/EyeTracker/Public/IEyeTrackerModule.h |
| Include Path | #include "IEyeTrackerModule.h" |
Syntax
class IEyeTrackerModule :
public IModuleInterface,
public IModularFeature
Implements Interfaces
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FCompareModulePriority | Sorting method for which plug-in should be given priority |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< class IEyeTracker, ESPMode::ThreadSafe > CreateEyeTracker() |
Attempts to create a new head tracking device interface | IEyeTrackerModule.h | |
FString GetModuleKeyName() |
IEyeTrackerModule.h | ||
float GetModulePriority() |
Returns the priority of this module from INI file configuration #todo jcf: need to work out prioritization and selection scheme e.g. it doesn't ever really make sense to choose a desktop eye tracker if in VR mode? | IEyeTrackerModule.h | |
bool IsEyeTrackerConnected() |
IEyeTrackerModule.h | ||
virtual void StartupModule() |
Register module as an EyeTracker on startup. | IEyeTrackerModule.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IEyeTrackerModule & Get() |
Singleton-like access to IEyeTrackerModule | IEyeTrackerModule.h | |
static FName GetModularFeatureName() |
Returns modular feature name for this module | IEyeTrackerModule.h | |
static bool IsAvailable () |
Checks to see if there exists a module registered as an EyeTracker. | IEyeTrackerModule.h |