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();
        }