public static void RequestGazeCalibration(GazeCalibrationMode calibrationMode = GazeCalibrationMode.Fast, GazeOutputFilterMode outputFilterMode = GazeOutputFilterMode.Standard) { string calibrationModeString = "Fast"; if (calibrationMode == GazeCalibrationMode.Legacy) { calibrationModeString = "Legacy"; } string outputFilterModeString = "Standard"; if (outputFilterMode == GazeOutputFilterMode.None) { outputFilterModeString = "None"; } GazeCalibrationParameter[] parameters = new GazeCalibrationParameter[] { new GazeCalibrationParameter { key = "GazeCalibrationType", value = calibrationModeString }, new GazeCalibrationParameter { key = "OutputFilterType", value = outputFilterModeString } }; RequestGazeCalibrationWithParameters(parameters, 2); }
public static void RequestGazeCalibration(GazeCalibrationMode calibrationMode = GazeCalibrationMode.Fast) { string calibrationModeValue = "Fast"; if (calibrationMode == GazeCalibrationMode.Legacy) { calibrationModeValue = "Legacy"; } GazeCalibrationParameter[] parameters = new GazeCalibrationParameter[] { new GazeCalibrationParameter { key = "GazeCalibrationType", value = calibrationModeValue } }; RequestGazeCalibrationWithParameters(parameters, 1); }