Salve a tutti
molto probabilmente per tanti la mia domanda è molto semplice ma adesso ho un blocco e devo un attimo prendermi.
Codice:
private void tetClientEvents_OnGazeData(ref TetGazeData gazeData)
{
float x, y, distance;
// Use data only if both left and right eye was found by the eye tracker
if (gazeData.validity_lefteye == 0 && gazeData.validity_righteye == 0)
{
// Let the x, y and distance be the right and left eye average
x = (gazeData.x_gazepos_lefteye + gazeData.x_gazepos_righteye) / 2;
y = (gazeData.y_gazepos_lefteye + gazeData.y_gazepos_righteye) / 2;
distance = (gazeData.distance_lefteye + gazeData.distance_righteye) / 2;
Dal codice mostrto sopra io devo stampare x e y, come faccio?
Grazie