Garry's Mod Wiki

Garry's Mod Wiki

  debugoverlay.SweptBox( Vector vStart, Vector vEnd, Vector vMins, Vector vMaxs, Angle ang, number lifetime = 1, table color = Color( 255, 255, 255 ) )

Description

Displays "swept" box, two boxes connected with lines by their vertices.

This function will silently fail if the developer ConVar is set to 0.
It is not networked to clients, except for the listen server host.
It will not work when the game is paused.

Arguments

1 Vector vStart
The start position of the box.
2 Vector vEnd
The end position of the box.
3 Vector vMins
The "minimum" edge of the box.
4 Vector vMaxs
The "maximum" edge of the box.
5 Angle ang
6 number lifetime = 1
Number of seconds to appear
7 table color = Color( 255, 255, 255 )
The color of the box. Uses the Color

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...