Box
Sandbox.Game
void Box( Vector3 mins, Vector3 maxs, Color color, float duration = 0, bool depthTest = true, )

Summary

Draw an axis aligned box in 3D space

Parameters

Vector3 mins,

Minimum extents of the box or the position of bottom corner of the box

Vector3 maxs,

Maximum extents of the box or the position of top corner of the box

Color color,

Box color

float duration = 0,

How long to keep the box visible for. A duration of 0 is 1 frame

bool depthTest = true,

Should we ignore depth or not