protected void Awake() { _eyexHost = EyeXHost.GetInstance(); _dataProvider = _eyexHost.GetEyePositionDataProvider(); }
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>(); }
// Use this for initialization void Awake() { _eyeXHost = EyeXHost.GetInstance(); _gazePointProvider = _eyeXHost.GetGazePointDataProvider(gazePointMode); userPresenceComponent = GetComponent <UserPresenceComponent>(); }
void Start() { eyeXHost = EyeXHost.GetInstance(); gazePointDataComponent = GetComponent <GazePointDataComponent>(); }
void Start() { _eyeXHost = EyeXHost.GetInstance(); _gazePointDataComponent = GetComponent <GazePointDataComponent>(); _rendererComponent = GetComponent <Renderer>(); }
public override void OnEnter() { _dataProvider = EyeXHost.GetInstance().GetGazePointDataProvider(lightlyFiltered.Value?GazePointDataMode.LightlyFiltered:GazePointDataMode.Unfiltered); _dataProvider.Start(); }