コード例 #1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            PlasmaData result = new PlasmaData
            {
                Colors      = Colors.ToList(),
                Speed       = Speed,
                LineDensity = LineDensity,
                PlasmaStyle = PlasmaStyle,
                Orientation = Orientation,
                ColorType   = ColorType,
                LevelCurve  = new Curve(LevelCurve)
            };

            return(result);
        }
コード例 #2
0
 public Plasma()
 {
     _data = new PlasmaData();
     EnableTargetPositioning(true, true);
 }
コード例 #3
0
ファイル: PlasmaData.cs プロジェクト: jaredb7/vixen
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     PlasmaData result = new PlasmaData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         LineDensity = LineDensity,
         PlasmaStyle = PlasmaStyle,
         Orientation = Orientation,
         ColorType = ColorType,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }