IEnumerator changeDiameter() { yield return(new WaitForSeconds(5)); strokeSketchObject.DeleteControlPoints(deletePoint.transform.position, deleteRadius, out List <StrokeSketchObject> newLines); OBJExporter exporter = new OBJExporter(); string exportPath = OBJExporter.GetDefaultExportPath(); //exporter.ExportGameObject(lineSketchObject.gameObject, exportPath); //Debug.Log(JsonUtility.ToJson(lineSketchObject)); //XMLSerializeTest(); //XMLSerializeTest2(); //exporter.ExportGameObject(controlPointParent, exportPath); strokeSketchObject.SetInterpolationSteps(4); strokeSketchObject.RefineMesh(); strokeSketchObject2.RefineMesh(); //Debug.Log(exportPath); //lineSketchObject.setLineDiameter(.1f); //yield return new WaitForSeconds(2); //lineSketchObject.deleteControlPoint(); //lineSketchObject.deleteControlPoint(); }
public bool Execute() { StrokeSketchObject.RefineMesh(); return(true); }