S&box Wiki

Sandbox.DebugOverlay

Methods

Axis( Vector3 pos, Rotation rot, float length = 10, float duration = 0, bool depthTest = true )
Box( Vector3 mins, Vector3 maxs, Color color )
Circle( Vector3 pos, Rotation rot, float radius, Color color, bool depthTest = true, float duration = 0 )
Circle( Vector3 position, Rotation rotation, float radius = 32, Color color, bool depthTest = true, float duration = 8 )
Line( Vector3 start, Vector3 end, float duration = 0, bool depthTest = true )
Draw a debug line from a position to a another
ScreenText( int line, string text, float duration = 0 )
Sphere( Vector3 pos, float radius, Color color, bool depthTest = true, float duration = 0 )