public virtual ITool Build(FScene scene, List <SceneObject> targets) { GenerateShapeTool tool = build_tool(scene); tool.OnApplyF = this.OnApplyF; tool.PreviewMaterial = this.PreviewMaterial; tool.ErrorMaterial = this.ErrorMaterial; if (BuildCustomizeF != null) { BuildCustomizeF(tool); } return(tool); }
void add_so_to_scene(GenerateShapeTool tool, DMeshSO result) { // already added }