Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering > API/Runtime/SlateCore/Rendering/FSlateDrawElement > API/Runtime/SlateCore/Rendering/FSlateDrawElement/MakeLines
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include | #include "Rendering/DrawElementTypes.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp |
static void MakeLines
&40;
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
TArray< FVector2f > Points,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint,
bool bAntialias,
float Thickness
&41;
Remarks
Creates a line defined by the provided points
Parameters
| Name | Description |
|---|---|
| ElementList | The list in which to add elements |
| InLayer | The layer to draw the element on |
| PaintGeometry | DrawSpace position and dimensions; see FPaintGeometry |
| Points | Points that make up the lines. The points are joined together. I.E if Points has A,B,C there the line is A-B-C. To draw non-joining line segments call MakeLines multiple times |
| InDrawEffects | Optional draw effects to apply |
| InTint | Color to tint the element |
| bAntialias | Should antialiasing be applied to the line? |
| Thickness | The thickness of the line |