Пример #1
0
 static void ReceiveEyeData(PupilLabs.GazeData data)
 {
     if (data.Confidence < 0.6f)
     {
         return;
     }
     gazeDirection = data.GazeDirection;
 }
Пример #2
0
 void ReceiveEyeData(PupilLabs.GazeData data)
 {
     if (data.Confidence < 0.6f)
     {
         return;
     }
     localGazeDirection    = data.GazeDirection;
     pupilViewportPosition = data.NormPos;
 }