debugoverlay.Triangle

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

Contents

Description

Displays a colored triangle at the specified coordinates.

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

Arguments

Vector pos1

First point of the triangle

Arguments

Vector pos2

Second point of the triangle

Arguments

Vector pos3

Third point of the triangle

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

Arguments

boolean ignoreZ=false

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