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); }
public HoleFillTool_2DInputBehavior(FillHolesTool tool, FContext s) { this.tool = tool; context = s; }