Esempio n. 1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            MeteorsData result = new MeteorsData
            {
                Colors               = Colors.ToList(),
                ColorType            = ColorType,
                LengthCurve          = new Curve(LengthCurve),
                SpeedVariationCurve  = new Curve(SpeedVariationCurve),
                CenterSpeedCurve     = new Curve(CenterSpeedCurve),
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                MeteorEffect         = MeteorEffect,
                PixelCountCurve      = new Curve(PixelCountCurve),
                Orientation          = Orientation,
                Direction            = Direction,
                LevelCurve           = new Curve(LevelCurve),
                GroundLevelCurve     = new Curve(GroundLevelCurve),
                GroundColor          = GroundColor,
                EnableGroundLevel    = EnableGroundLevel,
                MeteorPerString      = MeteorPerString,
                MeteorStartPosition  = MeteorStartPosition,
                FlipDirection        = FlipDirection,
                CountPerString       = CountPerString,
                XCenterSpeedCurve    = new Curve(XCenterSpeedCurve),
                YCenterSpeedCurve    = new Curve(YCenterSpeedCurve),
                XSpeedVariationCurve = new Curve(XSpeedVariationCurve),
                YSpeedVariationCurve = new Curve(YSpeedVariationCurve),
                MeteorMovement       = MeteorMovement,
                WobbleVariationCurve = new Curve(WobbleVariationCurve),
                WobbleCurve          = new Curve(WobbleCurve)
            };

            return(result);
        }
Esempio n. 2
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            MeteorsData result = new MeteorsData
            {
                Colors               = Colors.ToList(),
                ColorType            = ColorType,
                LengthCurve          = new Curve(LengthCurve),
                SpeedVariationCurve  = new Curve(SpeedVariationCurve),
                CenterSpeedCurve     = new Curve(CenterSpeedCurve),
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                MeteorEffect         = MeteorEffect,
                PixelCountCurve      = new Curve(PixelCountCurve),
                RandomMeteorPosition = RandomMeteorPosition,
                Orientation          = Orientation,
                Direction            = Direction,
                LevelCurve           = new Curve(LevelCurve),
                GroundLevelCurve     = new Curve(GroundLevelCurve),
                GroundColor          = GroundColor,
                EnableGroundLevel    = EnableGroundLevel
            };

            return(result);
        }
Esempio n. 3
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            MeteorsData result = new MeteorsData
            {
                Colors               = Colors.ToList(),
                Speed                = Speed,
                ColorType            = ColorType,
                Length               = Length,
                MaxSpeed             = MaxSpeed,
                MinSpeed             = MinSpeed,
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                MeteorEffect         = MeteorEffect,
                PixelCount           = PixelCount,
                RandomMeteorPosition = RandomMeteorPosition,
                RandomSpeed          = RandomSpeed,
                Orientation          = Orientation,
                Direction            = Direction,
                LevelCurve           = new Curve(LevelCurve)
            };

            return(result);
        }
Esempio n. 4
0
 public Meteors()
 {
     _data = new MeteorsData();
 }
Esempio n. 5
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     MeteorsData result = new MeteorsData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         ColorType = ColorType,
         Length = Length,
         MaxSpeed = MaxSpeed,
         MinSpeed = MinSpeed,
         RandomBrightness = RandomBrightness,
         MinDirection = MinDirection,
         MaxDirection = MaxDirection,
         MeteorEffect = MeteorEffect,
         PixelCount = PixelCount,
         RandomMeteorPosition = RandomMeteorPosition,
         RandomSpeed = RandomSpeed,
         Orientation = Orientation,
         Direction = Direction,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }
Esempio n. 6
0
 public Meteors()
 {
     _data = new MeteorsData();
 }