 | IMapTPointWithWindow Method |
Returns a WindowedMap based on this map that can be used to
lay the grid out in a window.
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
SyntaxWindowedMap<TPoint> WithWindow(
Rect window
)
Parameters
- window
- Type: Rect
Return Value
Type:
WindowedMapTPoint
Examples
For example:
var map = new RectMap(cellDimensions)
.WithWindow(screenRect)
.AlignMiddleCenter();
See Also