Esempio n. 1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            SnowStormData result = new SnowStormData
            {
                Colors           = Colors.ToList(),
                Speed            = Speed,
                Orientation      = Orientation,
                Count            = Count,
                Length           = Length,
                ReverseDirection = ReverseDirection,
                ColorType        = ColorType,
                LevelCurve       = new Curve(LevelCurve)
            };

            return(result);
        }
Esempio n. 2
0
		public SnowStorm()
		{
			_data = new SnowStormData();
		}
Esempio n. 3
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     SnowStormData result = new SnowStormData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         Orientation = Orientation,
         Count = Count,
         Length = Length,
         ReverseDirection = ReverseDirection,
         ColorType = ColorType,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }