Ejemplo 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);
        }
Ejemplo 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);
        }