RenderMinimapRect¶
Draw a minimap rectangle.
RenderMinimapRect(center, halfWidth, halfHeight, color?, thickness)
Inputs: center is a world { x, y, z } value; halfWidth, halfHeight, and thickness are required numbers; color is optional but occupies the argument before thickness.
Output: No Lua return value. Drawing may be skipped when the view or minimap is unavailable.
Errors and unavailable states: Required numeric arguments of the wrong type can raise a Lua argument error. Missing or non-numeric vector fields read as 0. If the minimap is unavailable, nothing is drawn.
See Rendering overview for coordinate and color conventions.