Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
EyeTracking.GetGazePoint sample
using Unity.Engine;
using Tobii.EyeTracking;
public class ExampleClass : MonoBehaviour
void Update()
GazePoint gazePoint = EyeTracking.GetGazePoint();
if (gazePoint.IsValid)
print("Gaze point on Screen (X,Y): " + gazePoint.Screen.X + ", " + gazePoint.Screen.Y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.