Method AlignGridVertical
AlignGridVertical(IMap<Vector3, Vector3>, IExplicitShape<GridPoint2>, Func<GridPoint2, Vector3>, Bounds, VerticalAlignment)
It returns a Map that translate in such a way that it is aligned vertically according to the given alignment.
public static IMap<Vector3, Vector3> AlignGridVertical(this IMap<Vector3, Vector3> map, IExplicitShape<GridPoint2> shape, Func<GridPoint2, Vector3> cellSize, Bounds bounds, VerticalAlignment alignment)
Parameters
mapIMap<Vector3, Vector3>Base map where you apply this call.
shapeIExplicitShape<GridPoint2>Shape used in the map.
cellSizeFunc<GridPoint2, Vector3>This function is used to calculate the size of a cell.
boundsBoundsBounds of the Map.
alignmentVerticalAlignmentType of alignment to apply.