private void Initialize() { if (_isInitialized) { return; } ReloadSettings(); var gazePointDataProvider = TobiiHost.GetInstance().GetGazePointDataProvider(); gazePointDataProvider.Start(_identifier.GetInstanceID()); if (Scorer == null) { //Scorer = new SingleRayCastNoScore(); Scorer = new SingleRaycastHistoricHitScore(); //Scorer = new MultiRaycastHistoricHitScore(); } if (_multiScorer == null) { _multiScorer = new MultiRaycastHistoricHitScore(); } _isInitialized = true; }
private void Initialize() { if (_isInitialized) { return; } ReloadSettings(); if (Scorer == null) { //Scorer = new SingleRayCastNoScore(); Scorer = new SingleRaycastHistoricHitScore(); //Scorer = new MultiRaycastHistoricHitScore(); } if (_multiScorer == null) { _multiScorer = new MultiRaycastHistoricHitScore(); } _isInitialized = true; }