debugoverlay.BoxAngles

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

Contents

Description

Displays a solid colored rotated box at the specified position.

NOTE

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

Arguments

Vector pos

World position

Arguments

Vector mins

The mins of the box (lowest corner)

Arguments

Vector maxs

The maxs of the box (highest corner)

Arguments

Angle ang

The angle to draw the box at

Arguments

number lifetime=1

Amount of seconds to show the box

Arguments

table color=Color( 255, 255, 255 )

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