SchemaFactor.Vst.MidiMapperX.MapNoteItem.Triggered C# (CSharp) Method

Triggered() public method

public Triggered ( Constants type ) : void
type Constants
return void
        public void Triggered(Constants.MapTypes type)
        {
            switch (type)
            {
                case Constants.MapTypes.ON:
                    TriggerPulseOn  = 1.0;
                    TriggerPulseOff = 0.0;
                    break;

                case Constants.MapTypes.OFF:
                    TriggerPulseOff = 1.0;
                    TriggerPulseOn  = 0.0;
                    break;

                case Constants.MapTypes.CC:
                    TriggerPulseCC = 1.0;
                    break;
            }
            return;
        }