Esempio n. 1
0
        void IBMDSwitcherKeyLumaParametersCallback.Notify(_BMDSwitcherKeyLumaParametersEventType eventType)
        {
            this._switcherKeyLumaParametersEventArgs = new SwitcherKeyLumaParametersEventArgs();
            switch (eventType)
            {
            case _BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypeClipChanged:
                this.SwitcherKeyLumaParametersEventTypeClipChanged?.Invoke(this, this._switcherKeyLumaParametersEventArgs);
                break;

            case _BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypeGainChanged:
                this.SwitcherKeyLumaParametersEventTypeGainChanged?.Invoke(this, this._switcherKeyLumaParametersEventArgs);
                break;

            case _BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypeInverseChanged:
                this.SwitcherKeyLumaParametersEventTypeInverseChanged?.Invoke(this, this._switcherKeyLumaParametersEventArgs);
                break;

            case _BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypePreMultipliedChanged:
                this.SwitcherKeyLumaParametersEventTypePreMultipliedChanged?.Invoke(this, this._switcherKeyLumaParametersEventArgs);
                break;
            }
        }
Esempio n. 2
0
        void IBMDSwitcherKeyLumaParametersCallback.Notify(_BMDSwitcherKeyLumaParametersEventType EventType)
        {
            switch (EventType)
            {
                case (_BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypeClipChanged):
                    if (ClipChanged != null)
                        ClipChanged(this, null);
                    break;

                case (_BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypeGainChanged):
                    if (GainChanged != null)
                        GainChanged(this, null);
                    break;

                case (_BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypeInverseChanged):
                    if (InverseChanged != null)
                        InverseChanged(this, null);
                    break;

                case (_BMDSwitcherKeyLumaParametersEventType.bmdSwitcherKeyLumaParametersEventTypePreMultipliedChanged):
                    if (PreMultipliedChanged != null)
                        PreMultipliedChanged(this, null);
                    break;
            }
        }