Inheritance: VixenModules.Effect.Effect.EffectTypeModuleData
示例#1
0
        public override IModuleDataModel Clone()
        {
            ChaseData result = new ChaseData();

            result.ColorHandling = ColorHandling;
            result.PulseOverlap  = PulseOverlap;
            result.DefaultLevel  = DefaultLevel;
            result.StaticColor   = StaticColor;
            result.ColorGradient = new ColorGradient(ColorGradient);
            result.PulseCurve    = new Curve(PulseCurve);
            result.ChaseMovement = new Curve(ChaseMovement);
            result.DepthOfEffect = DepthOfEffect;
            return(result);
        }
示例#2
0
文件: ChaseData.cs 项目: stewmc/vixen
		public override IModuleDataModel Clone()
		{
			ChaseData result = new ChaseData();
			result.ColorHandling = ColorHandling;
			result.PulseOverlap = PulseOverlap;
			result.DefaultLevel = DefaultLevel;
			result.StaticColor = StaticColor;
			result.ColorGradient = new ColorGradient(ColorGradient);
			result.PulseCurve = new Curve(PulseCurve);
			result.ChaseMovement = new Curve(ChaseMovement);
			result.DepthOfEffect = DepthOfEffect;
			result.ExtendPulseToStart = ExtendPulseToStart;
			result.ExtendPulseToEnd = ExtendPulseToEnd;
			return result;
		}
示例#3
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            ChaseData result = new ChaseData();

            result.ColorHandling      = ColorHandling;
            result.PulseOverlap       = PulseOverlap;
            result.DefaultLevel       = DefaultLevel;
            result.EnableDefaultLevel = EnableDefaultLevel;
            result.StaticColor        = StaticColor;
            result.ColorGradient      = new ColorGradient(ColorGradient);
            result.PulseCurve         = new Curve(PulseCurve);
            result.ChaseMovement      = new Curve(ChaseMovement);
            result.DepthOfEffect      = DepthOfEffect;
            result.ExtendPulseToStart = ExtendPulseToStart;
            result.ExtendPulseToEnd   = ExtendPulseToEnd;
            return(result);
        }
示例#4
0
文件: Chase.cs 项目: darkgrey3k/vixen
 public Chase()
 {
     _data = new ChaseData();
 }
示例#5
0
 public Chase()
 {
     _data = new ChaseData();
 }
示例#6
0
文件: Chase.cs 项目: thorhs/vixen
 public Chase()
 {
     _data = new ChaseData();
     InitAllAttributes();
 }
示例#7
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     ChaseData result = new ChaseData();
     result.ColorHandling = ColorHandling;
     result.PulseOverlap = PulseOverlap;
     result.DefaultLevel = DefaultLevel;
     result.EnableDefaultLevel = EnableDefaultLevel;
     result.StaticColor = StaticColor;
     result.ColorGradient = new ColorGradient(ColorGradient);
     result.PulseCurve = new Curve(PulseCurve);
     result.ChaseMovement = new Curve(ChaseMovement);
     result.DepthOfEffect = DepthOfEffect;
     result.ExtendPulseToStart = ExtendPulseToStart;
     result.ExtendPulseToEnd = ExtendPulseToEnd;
     return result;
 }
示例#8
0
文件: Chase.cs 项目: eberletj/vixen
 public Chase()
 {
     _data = new ChaseData();
     InitAllAttributes();
 }