Garry's Mod Wiki


render.DrawWireframeBox( Vector position, Angle angle, Vector mins, Vector maxs, table color = Color( 255, 255, 255 ), boolean writeZ = false )


Draws a wireframe box in 3D space.

This is a rendering function that requires a 3d rendering context.

This means that it will only work in 3d Rendering Hooks.


1 Vector position
Position of the box.
2 Angle angle
Angles of the box.
3 Vector mins
The lowest corner of the box.
4 Vector maxs
The highest corner of the box.
5 table color = Color( 255, 255, 255 )
The color of the box. Uses the Color.
6 boolean writeZ = false
Sets whenever to write to the zBuffer.

Page Links

Special Pages



Render Time: 57ms

DB GetPage 6
Generate Html 14
SaveChanges (1) 17
Render Body 0
Render Sidebar 17