render.DrawWireframeBox
render.DrawWireframeBox( Vector position, Angle angle, Vector mins, Vector maxs, Color color = Color( 255, 255, 255 ), boolean writeZ = false )
Description
Draws a wireframe box (outlines) in 3D space.
For a function that draws a filled box, see render.DrawBox.
This is a rendering function that requires a 3d rendering context.
This means that it will only work in 3d Rendering Hooks.
Arguments
Example
Draws a white outlined box at the position you are looking at. Uses the normal DrawBox function for the fill color, and wireframe box function to give the filled box some contrast and shape.
Output: What the example does:


For reference, the wireframe box alone:

Garry's Mod
Rust
Steamworks
Wiki Help