Garry's Mod Wiki

debugoverlay.SweptBox

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 verices.

This function will silently fail if the developer ConVar is set to 0.

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

Page Links


Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 3
Generate Html 18
SaveChanges (1) 11
Render Body 0
Render Sidebar 13