debugoverlay.Line

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

Contents

Description

Displays a coloured line at the specified position.

NOTE

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

Arguments

Vector pos1

First position of the line

Arguments

Vector pos2

Second position of the line

Arguments

number lifetime=1

Number of seconds to appear

Arguments

table color=Color( 255, 255, 255 )

The color of the line. Uses the Color structure

Arguments

boolean ignoreZ=false

If true, will draw on top of everything; ignoring the Z buffer
Personal tools
Navigation