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