public void GenerateCreateMesh(Vector2D pos, Polygon2D.PolygonType polygonType, float polygonSize, Slicer2DCreateControllerObject.CreateType createType, List <Vector2D> pointsList, Pair2D linearPair, Transform transform) { meshBorder.Add(Slicer2DVisualsMesh.GenerateCreateMesh(pos, polygonType, polygonSize, createType, pointsList, linearPair, minVertexDistance, transform, lineWidth * visualScale * borderScale, zPosition + 0.001f, lineEndSize, lineEndingType, lineEndingEdgeCount)); mesh.Add(Slicer2DVisualsMesh.GenerateCreateMesh(pos, polygonType, polygonSize, createType, pointsList, linearPair, minVertexDistance, transform, lineWidth * visualScale, zPosition, lineEndSize, lineEndingType, lineEndingEdgeCount)); }
public void GeneratePolygonMesh(Vector2D pos, Polygon2D.PolygonType polygonType, float polygonSize, Transform transform) { meshBorder.Add(Slicer2DVisualsMesh.GeneratePolygonMesh(pos, polygonType, polygonSize * visualScale, minVertexDistance, transform, lineWidth * visualScale * borderScale, zPosition + 0.001f)); mesh.Add(Slicer2DVisualsMesh.GeneratePolygonMesh(pos, polygonType, polygonSize * visualScale, minVertexDistance, transform, lineWidth * visualScale, zPosition)); }
public void GeneratePointMesh(Pair2D pair, Transform transform) { meshBorder.Add(Slicer2DVisualsMesh.GeneratePointMesh(pair, transform, lineWidth * visualScale * borderScale, zPosition + 0.001f)); mesh.Add(Slicer2DVisualsMesh.GeneratePointMesh(pair, transform, lineWidth * visualScale, zPosition)); }