render.DrawBox
render.DrawBox( Vector position, Angle angles, Vector mins, Vector maxs, Color color = Color( 255, 255, 255 ) )
Description
Draws a filled box in 3D space.
See render.DrawWireframeBox for a function to draw an outline of a box.
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 box at the position you are looking at.
Output:

- With WriteZ:

- Without WriteZ:

Garry's Mod
Rust
Steamworks
Wiki Help