FSlateDrawElement::MakeDrawSpaceGradientSpline

Just like MakeSpline but in draw-space coordinates.

Windows
MacOS
Linux

Deprecated

  • Splines with color gradients will not be supported in the future.

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElements.h

Include

#include "Rendering/DrawElements.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Rendering/DrawElements.cpp

Syntax

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
)

Remarks

Just like MakeSpline but in draw-space coordinates. This is useful for connecting already-transformed widgets together.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss