Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering > API/Runtime/SlateCore/Rendering/FSlateDrawElement
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 MakeSpline
&40;
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const UE::Slate::FDeprecateVector2DParameter InStart,
const UE::Slate::FDeprecateVector2DParameter InStartDir,
const UE::Slate::FDeprecateVector2DParameter InEnd,
const UE::Slate::FDeprecateVector2DParameter InEndDir,
float InThickness,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint
&41;
Remarks
Creates a Hermite Spline element
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 |
| InStart | The start point of the spline (local space) |
| InStartDir | The direction of the spline from the start point |
| InEnd | The end point of the spline (local space) |
| InEndDir | The direction of the spline to the end point |
| InDrawEffects | Optional draw effects to apply |
| InTint | Color to tint the element |