コード例 #1
0
ファイル: SpiralData.cs プロジェクト: stewmc/vixen
		public override IModuleDataModel Clone()
		{
			SpiralData result = new SpiralData
			{
				Colors = Colors.ToList(),
				Direction = Direction,
				Speed = Speed,
				Repeat = Repeat,
				Orientation = Orientation,
				Show3D = Show3D,
				Thickness = Thickness,
				Rotation = Rotation,
				Blend = Blend,
				LevelCurve = new Curve(LevelCurve),
				Grow = Grow,
				Shrink = Shrink
			};
			return result;
		}
コード例 #2
0
ファイル: SpiralData.cs プロジェクト: starry-au/vixen
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            SpiralData result = new SpiralData
            {
                Colors      = Colors.ToList(),
                Direction   = Direction,
                Speed       = Speed,
                Repeat      = Repeat,
                Orientation = Orientation,
                Show3D      = Show3D,
                Thickness   = Thickness,
                Rotation    = Rotation,
                Blend       = Blend,
                LevelCurve  = new Curve(LevelCurve),
                Grow        = Grow,
                Shrink      = Shrink
            };

            return(result);
        }
コード例 #3
0
ファイル: SpiralData.cs プロジェクト: thorhs/vixen
        public override IModuleDataModel Clone()
        {
            SpiralData result = new SpiralData
            {
                Colors      = Colors.ToList(),
                Direction   = Direction,
                Speed       = Speed,
                Repeat      = Repeat,
                Orientation = Orientation,
                Show3D      = Show3D,
                Thickness   = Thickness,
                Rotation    = Rotation,
                Blend       = Blend,
                LevelCurve  = new Curve(LevelCurve),
                Grow        = Grow,
                Shrink      = Shrink
            };

            return(result);
        }
コード例 #4
0
 public Spiral()
 {
     _data = new SpiralData();
     InitAllAttributes();
 }
コード例 #5
0
ファイル: SpiralData.cs プロジェクト: jaredb7/vixen
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     SpiralData result = new SpiralData
     {
         Colors = Colors.ToList(),
         Direction = Direction,
         Speed = Speed,
         Repeat = Repeat,
         Orientation = Orientation,
         Show3D = Show3D,
         Thickness = Thickness,
         Rotation = Rotation,
         Blend = Blend,
         LevelCurve = new Curve(LevelCurve),
         Grow = Grow,
         Shrink = Shrink
     };
     return result;
 }
コード例 #6
0
 public Spiral()
 {
     _data = new SpiralData();
 }
コード例 #7
0
ファイル: Spiral.cs プロジェクト: jaredb7/vixen
 public Spiral()
 {
     _data = new SpiralData();
     InitAllAttributes();
 }
コード例 #8
0
ファイル: Spiral.cs プロジェクト: stewmc/vixen
		public Spiral()
		{
			_data = new SpiralData();
		}