# Sandbox.DebugOverlaySystem.TaperedCylinder

```csharp
void TaperedCylinder(Vector3 startCenter, Vector3 endCenter, float startRadius, float endRadius, Color color = null, float duration = 0, Transform transform = null, bool overlay = False, int segments = 12)
```

Draw a wireframe tapered cylinder, like a capsule without the hemispheres with start and end radius, showing all sides.

### Parameters

- `startCenter` (`Vector3`)
- `endCenter` (`Vector3`)
- `startRadius` (`float`)
- `endRadius` (`float`)
- `color` (`Color`), default `null`
- `duration` (`float`), default `0`
- `transform` (`Transform`), default `null`
- `overlay` (`bool`), default `False`
- `segments` (`int`), default `12`

Declared in [Sandbox.DebugOverlaySystem](/api/Sandbox.DebugOverlaySystem).
Assembly: `Sandbox.Engine`.
