예제 #1
0
        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;
        }
예제 #2
0
        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;
        }