SetRectFromLoc
- Parameters
whichRect rectmin locationmax location- comment
Changes a rectangle's minimum and maximum points (that define it) to those specified by
minandmaxlocations.Does nothing if either location is null or invalid.
- bug
You can't create your own rectangle that would match the dimensions of
GetWorldBounds. The maxX and maxY will be smaller by32.0than that of the world bounds.- note
See:
Rect,SetRect,MoveRectTo,MoveRectToLoc.- patch
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native SetRectFromLoc takes rect whichRect, location min, location max returns nothing