Пример #1
0
        public void Start()
        {
            GazeManager.Instance.Activate(1, GazeManager.ClientMode.Push);
            GazeManager.Instance.AddGazeListener(this);
            Correction = new Correction();

            IsConnected           = GazeManager.Instance.IsConnected;
            IsCalibrated          = IsConnected && GazeManager.Instance.IsCalibrated;
            CalibrationAreaSize.X = Screen.PrimaryScreen.Bounds.Width;
            CalibrationAreaSize.Y = Screen.PrimaryScreen.Bounds.Height;
        }
Пример #2
0
 public void Dispose()
 {
     GazeManager.Instance.RemoveGazeListener(this);
     Instance = null;
 }
Пример #3
0
 public Correction()
 {
     Instance = this;
     GazeManager.Instance.AddGazeListener(this);
 }