Garry's Mod Wiki

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...