Line
Sandbox.Game
void Line( Vector3 start, Vector3 end, Color color, float duration = 0, bool depthTest = true, )

Summary

Draw a line in 3D space

Parameters

Vector3 start,

Start Position

Vector3 end,

End Position

Color color,

Line Color

float duration = 0,

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

bool depthTest = true,

Should we ignore depth or not