예제 #1
0
 protected void Awake()
 {
     _eyexHost     = EyeXHost.GetInstance();
     _dataProvider = _eyexHost.GetEyePositionDataProvider();
 }
예제 #2
0
 public void Awake()
 {
     _eyeXHost          = EyeXHost.GetInstance();
     _gazePointProvider = _eyeXHost.GetGazePointDataProvider(GazePointDataMode.LightlyFiltered);
 }
    private Vector2 gazePointOnDisplayPlaneMm;              //gaze point location

    void Start()                                            // at the start detect the eye gaze positions
    {
        _eyeXHost = EyeXHost.GetInstance();
        _gazePointDataComponent = GetComponent <GazePointDataComponent>();
        _rendererComponent      = GetComponent <Renderer>();
    }
예제 #4
0
 // Use this for initialization
 void Awake()
 {
     _eyeXHost             = EyeXHost.GetInstance();
     _gazePointProvider    = _eyeXHost.GetGazePointDataProvider(gazePointMode);
     userPresenceComponent = GetComponent <UserPresenceComponent>();
 }
예제 #5
0
 void Start()
 {
     eyeXHost = EyeXHost.GetInstance();
     gazePointDataComponent = GetComponent <GazePointDataComponent>();
 }
예제 #6
0
 void Start()
 {
     _eyeXHost = EyeXHost.GetInstance();
     _gazePointDataComponent = GetComponent <GazePointDataComponent>();
     _rendererComponent      = GetComponent <Renderer>();
 }
예제 #7
0
        public override void OnEnter()
        {
            _dataProvider = EyeXHost.GetInstance().GetGazePointDataProvider(lightlyFiltered.Value?GazePointDataMode.LightlyFiltered:GazePointDataMode.Unfiltered);

            _dataProvider.Start();
        }