render.DrawWireframeBox

From Garry's Mod
Jump to: navigation, search
 render.DrawWireframeBox( )

Contents

Description

Draws a wireframe box in 3D space.

NOTE

This is a rendering function that requires a 3D rendering context.
This means that it will only work in hooks with a 3D rendering context.

Arguments

Vector position

Position of the box.

Arguments

Angle angle

Angles of the box.

Arguments

Vector mins

The lowest corner of the box.

Arguments

Vector maxs

The highest corner of the box.

Arguments

table color=Color( 255, 255, 255 )

The color of the box. Uses the Color structure.

Arguments

boolean writeZ=false

Sets whenever to write to the zBuffer.
Personal tools
Navigation