Sphere
Sandbox.Game
void Sphere( Vector3 position, float radius, Color color, float duration = 0, bool depthTest = true, )

Summary

Render a sphere in 3D space

Parameters

Vector3 position,

Center of the sphere

float radius,

Radius of the sphere

Color color,

Color of the sphere

float duration = 0,

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

bool depthTest = true,

Should we ignore depth or not