/// <summary> /// Constructor: Init the Controller_MyGaze and set the SampleDataCallback. /// </summary> public GazeController() { ET_Device = new EyeTrackingController(); //CallbackDefinition m_samplecallBack = new GetSampleCallBack(GetSampleCallbackFunction); ET_Device.iV_SetSampleCallback(m_samplecallBack); }
/// <summary> /// Init the Controller /// </summary> public EyeTrackingController() { m_samplecallBack = GetSampleCallbackFunction; gazeModel = new GazeModel(Screen.width, Screen.height); }