private void AddKeybinding(FloatFilterParameterModel model, string value, ModificationType modType, Key key) { var val = GetFloatValue(value); var binding = new FloatFilterParameterModel.FloatParameterAction(val, modType); model.Keybindings[key] = binding; }
private void AddParameterAction(FloatFilterParameterModel model, string value, ModificationType modType, ActionType actionType) { var val = GetFloatValue(value); var action = new FloatFilterParameterModel.FloatParameterAction(val, modType); model.Actions[actionType] = action; }