Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElements.h |
Include |
#include "Rendering/DrawElements.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElements.cpp |
static void MakeSpline
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FPaintGeometry & PaintGeometry,
const FVector2D & InStart,
const FVector2D & InStartDir,
const FVector2D & InEnd,
const FVector2D & InEndDir,
float InThickness,
ESlateDrawEffect InDrawEffects,
const FLinearColor & InTint
)
Creates a Hermite Spline element
Parameter |
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 |