Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h |
| Include | #include "DrawDebugHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp |
void DrawDebugCanvasCapsule
(
UCanvas * Canvas,
const FMatrix & Transform,
float HalfLength,
float Radius,
const FColor & LineColor
)
Remarks
Draws a capsule using lines.
Parameters
| Name | Description |
|---|---|
| Canvas | The Canvas to draw on. |
| Transform | Transform to apply to the capsule. |
| HalfLength | Distance from the center of the capsule to the tip (including the cap) |
| Radius | Radius of the capsule. |
| Color | Color of the capsule. |