示例#1
0
        public virtual ITool Build(FScene scene, List <SceneObject> targets)
        {
            DMeshSO       target = targets.Where(TypeFilterF).First() as DMeshSO;
            FillHolesTool tool   = new_tool(scene, target);

            tool.OnApplyF        = this.OnApplyF;
            tool.PreviewMaterial = this.PreviewMaterial;
            if (BuildCustomizeF != null)
            {
                BuildCustomizeF(tool);
            }
            return(tool);
        }
示例#2
0
 public HoleFillTool_2DInputBehavior(FillHolesTool tool, FContext s)
 {
     this.tool = tool;
     context   = s;
 }