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

Summary

Draw a yellow line in 3D space

Parameters

Vector3 start,

Start position

Vector3 end,

End position

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