SetRect
- Parameters
-
whichRect rect
minx real
miny real
maxx real
maxy real
- bug
You can't create your own rectangle that would match the dimensions of
GetWorldBounds
. The maxX and maxY will be smaller by16.0
than that of the world bounds.- comment
Changes a rectangle's minimum and maximum points that define it.
The rectangle size and coordinates are limited to valid map coordinates, see
GetWorldBounds
.- note
See:
Rect
,SetRectFromLoc
,MoveRectTo
,MoveRectToLoc
.- return type
nothing
- Source code
native SetRect takes rect whichRect, real minx, real miny, real maxx, real maxy returns nothing
- Source
- region-location.j
- wc3modding.com
- SetRect