Example #1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            WaveformData result = new WaveformData();

            result.HighPass           = HighPass;
            result.LowPass            = LowPass;
            result.HighPassFreq       = HighPassFreq;
            result.LowPassFreq        = LowPassFreq;
            result.Inverted           = Inverted;
            result.ScrollSpeed        = ScrollSpeed;
            result.DecayTime          = DecayTime;
            result.AttackTime         = AttackTime;
            result.Normalize          = Normalize;
            result.Gain               = Gain;
            result.Range              = Range;
            result.GreenColorPosition = GreenColorPosition;
            result.RedColorPosition   = RedColorPosition;
            result.MeterColorGradient = new ColorGradient(MeterColorGradient);
            result.IntensityCurve     = new Curve(IntensityCurve);
            result.DepthOfEffect      = DepthOfEffect;

            return(result);
        }
Example #2
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            WaveformData result = new WaveformData();
            result.HighPass = HighPass;
            result.LowPass = LowPass;
            result.HighPassFreq = HighPassFreq;
            result.LowPassFreq = LowPassFreq;
            result.Inverted = Inverted;
            result.ScrollSpeed = ScrollSpeed;
            result.DecayTime = DecayTime;
            result.AttackTime = AttackTime;
            result.Normalize = Normalize;
            result.Gain = Gain;
            result.Range = Range;
            result.GreenColorPosition = GreenColorPosition;
            result.RedColorPosition = RedColorPosition;
            result.MeterColorGradient = new ColorGradient(MeterColorGradient);
            result.IntensityCurve = new Curve(IntensityCurve);
            result.DepthOfEffect = DepthOfEffect;

            return result;
        }