Esempio n. 1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            SnowflakesData result = new SnowflakesData
            {
                SnowflakeType    = SnowflakeType,
                Speed            = Speed,
                FlakeCount       = FlakeCount,
                Orientation      = Orientation,
                PointFlake45     = PointFlake45,
                LevelCurve       = new Curve(LevelCurve),
                InnerColor       = InnerColor.ToList(),
                OutSideColor     = OutSideColor.ToList(),
                ColorType        = ColorType,
                MaxSpeed         = MaxSpeed,
                MinSpeed         = MinSpeed,
                RandomBrightness = RandomBrightness,
                MinDirection     = MinDirection,
                MaxDirection     = MaxDirection,
                SnowflakeEffect  = SnowflakeEffect,
                PixelCount       = PixelCount,
                RandomSpeed      = RandomSpeed
            };

            return(result);
        }
Esempio n. 2
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            SnowflakesData result = new SnowflakesData
            {
                SnowflakeType        = SnowflakeType,
                FlakeCountCurve      = new Curve(FlakeCountCurve),
                Orientation          = Orientation,
                PointFlake45         = PointFlake45,
                LevelCurve           = new Curve(LevelCurve),
                InnerColor           = InnerColor.ToList(),
                OutSideColor         = OutSideColor.ToList(),
                ColorType            = ColorType,
                SpeedVariationCurve  = new Curve(SpeedVariationCurve),
                CenterSpeedCurve     = new Curve(CenterSpeedCurve),
                RandomBrightness     = RandomBrightness,
                MinDirection         = MinDirection,
                MaxDirection         = MaxDirection,
                SnowflakeEffect      = SnowflakeEffect,
                PixelCount           = PixelCount,
                SnowBuildUp          = SnowBuildUp,
                InitialBuildUp       = InitialBuildUp,
                BuildUpSpeedCurve    = new Curve(BuildUpSpeedCurve),
                XCenterSpeedCurve    = new Curve(XCenterSpeedCurve),
                YCenterSpeedCurve    = new Curve(YCenterSpeedCurve),
                XSpeedVariationCurve = new Curve(XSpeedVariationCurve),
                YSpeedVariationCurve = new Curve(YSpeedVariationCurve),
                SnowFlakeMovement    = SnowFlakeMovement,
                WobbleVariationCurve = new Curve(WobbleVariationCurve),
                WobbleCurve          = new Curve(WobbleCurve)
            };

            return(result);
        }
Esempio n. 3
0
        public override IModuleDataModel Clone()
        {
            SnowflakesData result = new SnowflakesData
            {
                SnowflakeType = SnowflakeType,
                Speed         = Speed,
                FlakeCount    = FlakeCount,
                Orientation   = Orientation,
                LevelCurve    = new Curve(LevelCurve),
                CenterColor   = CenterColor,
                OuterColor    = OuterColor
            };

            return(result);
        }
Esempio n. 4
0
		public override IModuleDataModel Clone()
		{
			SnowflakesData result = new SnowflakesData
			{
				
				SnowflakeType = SnowflakeType,
				Speed = Speed,
				FlakeCount = FlakeCount,
				Orientation = Orientation,
				LevelCurve = new Curve(LevelCurve),
				CenterColor = CenterColor,
				OuterColor = OuterColor
				
			};
			return result;
		}
Esempio n. 5
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     SnowflakesData result = new SnowflakesData
     {
         SnowflakeType = SnowflakeType,
         Speed = Speed,
         FlakeCount = FlakeCount,
         Orientation = Orientation,
         PointFlake45 = PointFlake45,
         LevelCurve = new Curve(LevelCurve),
         InnerColor = InnerColor.ToList(),
         OutSideColor = OutSideColor.ToList(),
         ColorType = ColorType,
         MaxSpeed = MaxSpeed,
         MinSpeed = MinSpeed,
         RandomBrightness = RandomBrightness,
         MinDirection = MinDirection,
         MaxDirection = MaxDirection,
         SnowflakeEffect = SnowflakeEffect,
         PixelCount = PixelCount,
         RandomSpeed = RandomSpeed
     };
     return result;
 }
Esempio n. 6
0
 public Snowflakes()
 {
     _data = new SnowflakesData();
 }