Choose your operating system:
Windows
macOS
Linux
Deprecated
Splines with color gradients will not be supported in the future.
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 MakeDrawSpaceGradientSpline
(
FSlateWindowElementList & ElementList,
uint32 InLayer,
const FVector2D & InStart,
const FVector2D & InStartDir,
const FVector2D & InEnd,
const FVector2D & InEndDir,
const TArray< FSlateGradientStop > & InGradientStops,
float InThickness,
ESlateDrawEffect InDrawEffects
)
Just like MakeSpline but in draw-space coordinates. This is useful for connecting already-transformed widgets together.