void IBMDSwitcherInputColorCallback.Notify(_BMDSwitcherInputColorEventType eventType)
        {
            this._switcherInputColorEventArgs = new SwitcherInputColorEventArgs();
            switch (eventType)
            {
            case _BMDSwitcherInputColorEventType.bmdSwitcherInputColorEventTypeHueChanged:
                this.SwitcherInputColorEventTypeHueChanged?.Invoke(this, this._switcherInputColorEventArgs);
                break;

            case _BMDSwitcherInputColorEventType.bmdSwitcherInputColorEventTypeLumaChanged:
                this.SwitcherInputColorEventTypeLumaChanged?.Invoke(this, this._switcherInputColorEventArgs);
                break;

            case _BMDSwitcherInputColorEventType.bmdSwitcherInputColorEventTypeSaturationChanged:
                this.SwitcherInputColorEventTypeSaturationChanged?.Invoke(this, this._switcherInputColorEventArgs);
                break;
            }
        }
Example #2
0
        void IBMDSwitcherInputColorCallback.Notify(_BMDSwitcherInputColorEventType EventType)
        {
            switch (EventType)
            {
                case (_BMDSwitcherInputColorEventType.bmdSwitcherInputColorEventTypeHueChanged):
                    if (HueChanged != null)
                        HueChanged(this, null);
                    break;

                case (_BMDSwitcherInputColorEventType.bmdSwitcherInputColorEventTypeLumaChanged):
                    if (LumaChanged != null)
                        LumaChanged(this, null);
                    break;

                case (_BMDSwitcherInputColorEventType.bmdSwitcherInputColorEventTypeSaturationChanged):
                    if (SaturationChanged != null)
                        SaturationChanged(this, null);
                    break;
            }
        }