예제 #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;
 }