Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateDrawElement
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void MakeLines
(
FSlateWindowElementList& ElementList, |
Creates a line defined by the provided points | Rendering/DrawElementTypes.h | |
static void MakeLines
(
FSlateWindowElementList& ElementList, |
Creates a line defined by the provided points | Rendering/DrawElementTypes.h |
MakeLines(FSlateWindowElementList &, uint32, const FPaintGeometry &, TArray< FVector2f >, ESlateDrawEffect, const FLinearColor &, bool, float)
Description
Creates a line defined by the provided points
| Name | MakeLines |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include Path | #include "Rendering/DrawElementTypes.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp |
static void MakeLines
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
TArray < FVector2f > Points,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint,
bool bAntialias,
float Thickness
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
MakeLines(FSlateWindowElementList &, uint32, const FPaintGeometry &, TArray< FVector2f >, TArray< FLinearColor >, ESlateDrawEffect, const FLinearColor &, bool, float)
Description
Creates a line defined by the provided points
| Name | MakeLines |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElementTypes.h |
| Include Path | #include "Rendering/DrawElementTypes.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElementTypes.cpp |
static void MakeLines
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
TArray < FVector2f > Points,
TArray < FLinearColor > PointColors,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint,
bool bAntialias,
float Thickness
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
| PointColors | Vertex Color for each defined points |
| 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 |