debugoverlay.SweptBox

From Garry's Mod
Jump to: navigation, search
 debugoverlay.SweptBox( )

Contents

Description

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

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

Arguments

Vector vStart

The start position of the box.

Arguments

Vector vEnd

The end position of the box.

Arguments

Vector vMins

The "minimum" edge of the box.

Arguments

Vector vMaxs

The "maximum" edge of the box.

Arguments

Angle ang

Arguments

number lifetime=1

Number of seconds to appear

Arguments

table color=Color( 255, 255, 255 )

The color of the box. Uses the Color structure
Personal tools
Navigation