Class EyeTrackerFunctionLibrary
Eye Tracker Function Library
Inherited Members
Namespace: UE4.EyeTracker
Assembly: UE4DotNet.dll
Syntax
public class EyeTrackerFunctionLibrary : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static EyeTrackerFunctionLibrary DefaultObject { get; }
Property Value
Type | Description |
---|---|
EyeTrackerFunctionLibrary |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetGazeData()
Returns unfied gaze data from the eye tracker.
Declaration
public static (EyeTrackerGazeData, bool) GetGazeData()
Returns
Type | Description |
---|---|
System.ValueTuple<EyeTrackerGazeData, System.Boolean> |
Remarks
This is a single gaze ray, representing the fusion of both eyes. @param PlayerController The player for whom we are tracking. Null can be ok for some devices, but this may be necessary for others to determine viewport properties, etc. @return True if the returned gaze data is valid, false otherwise. A false return is likely to be common (e.g. the when user blinks).
GetStereoGazeData()
Returns stereo gaze data from the eye tracker.
Declaration
public static (EyeTrackerStereoGazeData, bool) GetStereoGazeData()
Returns
Type | Description |
---|---|
System.ValueTuple<EyeTrackerStereoGazeData, System.Boolean> |
Remarks
This includes a gaze ray per eye, as well as a fixation point. @param PlayerController The player for whom we are tracking. Null can be ok for some devices, but this may be necessary for others to determine viewport properties, etc. @return True if the returned gaze data is valid, false otherwise. A false return is likely to be common (e.g. the when user blinks).
IsEyeTrackerConnected()
Returns whether or not the eye-tracking hardware is connected and ready to use.
Declaration
public static bool IsEyeTrackerConnected()
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
It may or may not actually be in use. @return (Boolean) true if eye tracker is connected and ready to use, false otherwise
IsStereoGazeDataAvailable()
Returns whether or not the eye-tracking hardware is connected and ready to use.
Declaration
public static bool IsStereoGazeDataAvailable()
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
It may or may not actually be in use. @return true if the connected eye tracker supports per-eye gaze data, false otherwise
New(UObject, Name)
Spawn an object of this class
Declaration
public static EyeTrackerFunctionLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
EyeTrackerFunctionLibrary |
SetEyeTrackedPlayer(PlayerController)
Specifies player being eye-tracked.
Declaration
public static void SetEyeTrackedPlayer(PlayerController PlayerController)
Parameters
Type | Name | Description |
---|---|---|
PlayerController | PlayerController |
Remarks
This is not necessary for all devices, but is necessary for some to determine viewport properties, etc. @param PlayerController The player for whom we are tracking. Null can be ok for some devices, but this may be necessary for others to determine viewport properties, etc.
Operators
| Improve this Doc View SourceImplicit(IntPtr to EyeTrackerFunctionLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator EyeTrackerFunctionLibrary(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
EyeTrackerFunctionLibrary |