示例#1
0
文件: TreeData.cs 项目: robness/Vixen
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            TreeData result = new TreeData
            {
                Colors               = Colors.ToList(),
                BackgroundColor      = BackgroundColor,
                ColorType            = ColorType,
                Speed                = Speed,
                BranchDirection      = BranchDirection,
                Branches             = Branches,
                ToggleBlend          = ToggleBlend,
                Orientation          = Orientation,
                BlendCurve           = new Curve(BlendCurve),
                LevelCurve           = new Curve(LevelCurve),
                BackgroundLevelCurve = new Curve(BackgroundLevelCurve)
            };

            return(result);
        }
示例#2
0
文件: Tree.cs 项目: starry-au/vixen
 public Tree()
 {
     _data = new TreeData();
 }
示例#3
0
文件: Tree.cs 项目: jaredb7/vixen
 public Tree()
 {
     _data = new TreeData();
 }
示例#4
0
文件: TreeData.cs 项目: jaredb7/vixen
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     TreeData result = new TreeData
     {
         Colors = Colors.ToList(),
         BackgroundColor = BackgroundColor,
         ColorType = ColorType,
         Speed = Speed,
         BranchDirection = BranchDirection,
         Branches = Branches,
         ToggleBlend = ToggleBlend,
         Orientation = Orientation,
         BlendCurve = new Curve(BlendCurve),
         LevelCurve = new Curve(LevelCurve),
         BackgroundLevelCurve = new Curve(BackgroundLevelCurve)
     };
     return result;
 }