Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Debug > API/Runtime/Engine/Debug/UReporterBase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Debug/ReporterBase.h |
| Include | #include "Debug/ReporterBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Debug/ReporterBase.cpp |
void DrawTriangle
(
UCanvas * Canvas,
const FVector2D & Vertex1,
const FVector2D & Vertex2,
const FVector2D & Vertex3,
const FLinearColor & Color
)
Remarks
Helper to draw a triangle from normalized to screen space
Parameters
| Name | Description |
|---|---|
| Canvas | The canvas to draw to |
| Vertex0 | The position of the first vertex that makes up the triangle, in normalized coordinates |
| Vertex1 | The position of the second vertex that makes up the triangle, in normalized coordinates |
| Vertex2 | The position of the third vertex that makes up the triangle, in normalized coordinates |
| Color | The color to draw the triangle |