UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateSplineElement Struct Reference

#include <DrawElementTypes.h>

+ Inheritance diagram for FSlateSplineElement:

Public Member Functions

void SetThickness (float InThickness)
 
float GetThickness () const
 
void SetCubicBezier (const UE::Slate::FDeprecateVector2DParameter InP0, const UE::Slate::FDeprecateVector2DParameter InP1, const UE::Slate::FDeprecateVector2DParameter InP2, const UE::Slate::FDeprecateVector2DParameter InP3, float InThickness, const FLinearColor InTint)
 
void SetHermiteSpline (const UE::Slate::FDeprecateVector2DParameter InStart, const UE::Slate::FDeprecateVector2DParameter InStartDir, const UE::Slate::FDeprecateVector2DParameter InEnd, const UE::Slate::FDeprecateVector2DParameter InEndDir, float InThickness, const FLinearColor InTint)
 
void SetGradientHermiteSpline (const UE::Slate::FDeprecateVector2DParameter InStart, const UE::Slate::FDeprecateVector2DParameter InStartDir, const UE::Slate::FDeprecateVector2DParameter InEnd, const UE::Slate::FDeprecateVector2DParameter InEndDir, float InThickness, TArray< FSlateGradientStop > InGradientStops)
 
- Public Member Functions inherited from FSlateDrawElement
 FSlateDrawElement ()
 
int32 GetLayer () const
 
const FSlateRenderTransformGetRenderTransform () const
 
void SetRenderTransform (const FSlateRenderTransform &InRenderTransform)
 
UE::Slate::FDeprecateVector2DResult GetPosition () const
 
void SetPosition (UE::Slate::FDeprecateVector2DParameter InPosition)
 
UE::Slate::FDeprecateVector2DResult GetLocalSize () const
 
float GetScale () const
 
ESlateDrawEffect GetDrawEffects () const
 
ESlateBatchDrawFlag GetBatchFlags () const
 
bool IsPixelSnapped () const
 
int32 GetPrecachedClippingIndex () const
 
void SetPrecachedClippingIndex (int32 InClippingIndex)
 
void SetCachedClippingState (const FSlateClippingState *CachedState)
 
const FClipStateHandleGetClippingHandle () const
 
const int8 GetSceneIndex () const
 
void SetIsCached (bool bInIsCached)
 
bool IsCached () const
 
FSlateLayoutTransform GetInverseLayoutTransform () const
 
void ApplyPositionOffset (UE::Slate::FDeprecateVector2DParameter InOffset)
 
- Public Member Functions inherited from FSlateTintableElement
void SetTint (const FLinearColor &InTint)
 
FLinearColor GetTint () const
 

Public Attributes

TArray< FSlateGradientStopGradientStops
 
FVector2f P0
 
FVector2f P1
 
FVector2f P2
 
FVector2f P3
 
float Thickness
 
- Public Attributes inherited from FSlateTintableElement
FLinearColor Tint
 

Additional Inherited Members

- Public Types inherited from FSlateDrawElement
enum  ERotationSpace { RelativeToElement , RelativeToWorld }
 
- Static Public Member Functions inherited from FSlateDrawElement
static SLATECORE_API void MakeDebugQuad (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, FLinearColor Tint=FLinearColor::White)
 
static SLATECORE_API void MakeGeometryOutline (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, FLinearColor Tint=FLinearColor::White, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, bool bAntialias=true, float Thickness=1.0f)
 
static SLATECORE_API void MakeBox (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FSlateBrush *InBrush, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeRotatedBox (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FSlateBrush *InBrush, ESlateDrawEffect, float Angle, UE::Slate::FDeprecateOptionalVector2DParameter InRotationPoint=TOptional< FVector2f >(), ERotationSpace RotationSpace=RelativeToElement, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeText (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FString &InText, const int32 StartIndex, const int32 EndIndex, const FSlateFontInfo &InFontInfo, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeText (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FString &InText, const FSlateFontInfo &InFontInfo, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static void MakeText (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FText &InText, const FSlateFontInfo &InFontInfo, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeShapedText (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FShapedGlyphSequenceRef &InShapedGlyphSequence, ESlateDrawEffect InDrawEffects, const FLinearColor &BaseTint, const FLinearColor &OutlineTint, FTextOverflowArgs TextOverflowArgs=FTextOverflowArgs())
 
static SLATECORE_API void MakeRotatedShapedText (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FShapedGlyphSequenceRef &InShapedGlyphSequence, ESlateDrawEffect InDrawEffects, const FLinearColor &BaseTint, const FLinearColor &OutlineTint, float Angle2D, const UE::Slate::FDeprecateOptionalVector2DParameter &InRotationPoint=TOptional< FVector2f >(), ERotationSpace RotationSpace=RelativeToElement, const FTextOverflowArgs &TextOverflowArgs=FTextOverflowArgs())
 
static SLATECORE_API void MakeGradient (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, TArray< FSlateGradientStop > InGradientStops, EOrientation InGradientType, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, FVector4f CornerRadius=FVector4f(0.0f))
 
static SLATECORE_API void MakeSpline (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=0.0f, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeCubicBezierSpline (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const UE::Slate::FDeprecateVector2DParameter P0, const UE::Slate::FDeprecateVector2DParameter P1, const UE::Slate::FDeprecateVector2DParameter P2, const UE::Slate::FDeprecateVector2DParameter P3, float InThickness=0.0f, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeDrawSpaceSpline (FSlateWindowElementList &ElementList, uint32 InLayer, const UE::Slate::FDeprecateVector2DParameter InStart, const UE::Slate::FDeprecateVector2DParameter InStartDir, const UE::Slate::FDeprecateVector2DParameter InEnd, const UE::Slate::FDeprecateVector2DParameter InEndDir, float InThickness=0.0f, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeLines (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, TArray< FVector2f > Points, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White, bool bAntialias=true, float Thickness=1.0f)
 
static SLATECORE_API void MakeDashedLines (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, TArray< FVector2f > &&Points, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White, float Thickness=1.0f, float DashLengthPx=10.0f, float DashScreenOffset=0.f)
 
static SLATECORE_API void MakeLines (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, TArray< FVector2f > Points, TArray< FLinearColor > PointColors, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White, bool bAntialias=true, float Thickness=1.0f)
 
static SLATECORE_API void MakeDashedLines (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, TArray< FVector2f > &&Points, TArray< FLinearColor > &&PointColors, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White, float Thickness=1.0f, float DashLengthPx=10.0f, float DashScreenOffset=0.f)
 
static SLATECORE_API void MakeViewport (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, TSharedPtr< const ISlateViewport > Viewport, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None, const FLinearColor &InTint=FLinearColor::White)
 
static SLATECORE_API void MakeCustom (FSlateWindowElementList &ElementList, uint32 InLayer, TSharedPtr< ICustomSlateElement, ESPMode::ThreadSafe > CustomDrawer)
 
static SLATECORE_API void MakeCustomVerts (FSlateWindowElementList &ElementList, uint32 InLayer, const FSlateResourceHandle &InRenderResourceHandle, const TArray< FSlateVertex > &InVerts, const TArray< SlateIndex > &InIndexes, ISlateUpdatableInstanceBuffer *InInstanceData, uint32 InInstanceOffset, uint32 InNumInstances, ESlateDrawEffect InDrawEffects=ESlateDrawEffect::None)
 
static SLATECORE_API void MakePostProcessPass (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FVector4f &Params, int32 DownsampleAmount, const FVector4f CornerRadius=FVector4f(0.0f))
 
static SLATECORE_API void MakePostProcessBlur (FSlateWindowElementList &ElementList, uint32 InLayer, const FPaintGeometry &PaintGeometry, const FVector4f &Params, int32 DownsampleAmount, const FVector4f CornerRadius=FVector4f(0.0f))
 

Member Function Documentation

◆ GetThickness()

float FSlateSplineElement::GetThickness ( ) const
inline

◆ SetCubicBezier()

void FSlateSplineElement::SetCubicBezier ( const UE::Slate::FDeprecateVector2DParameter  InP0,
const UE::Slate::FDeprecateVector2DParameter  InP1,
const UE::Slate::FDeprecateVector2DParameter  InP2,
const UE::Slate::FDeprecateVector2DParameter  InP3,
float  InThickness,
const FLinearColor  InTint 
)
inline

◆ SetGradientHermiteSpline()

void FSlateSplineElement::SetGradientHermiteSpline ( const UE::Slate::FDeprecateVector2DParameter  InStart,
const UE::Slate::FDeprecateVector2DParameter  InStartDir,
const UE::Slate::FDeprecateVector2DParameter  InEnd,
const UE::Slate::FDeprecateVector2DParameter  InEndDir,
float  InThickness,
TArray< FSlateGradientStop InGradientStops 
)
inline

◆ SetHermiteSpline()

void FSlateSplineElement::SetHermiteSpline ( const UE::Slate::FDeprecateVector2DParameter  InStart,
const UE::Slate::FDeprecateVector2DParameter  InStartDir,
const UE::Slate::FDeprecateVector2DParameter  InEnd,
const UE::Slate::FDeprecateVector2DParameter  InEndDir,
float  InThickness,
const FLinearColor  InTint 
)
inline

◆ SetThickness()

void FSlateSplineElement::SetThickness ( float  InThickness)
inline

Member Data Documentation

◆ GradientStops

TArray<FSlateGradientStop> FSlateSplineElement::GradientStops

◆ P0

FVector2f FSlateSplineElement::P0

◆ P1

FVector2f FSlateSplineElement::P1

◆ P2

FVector2f FSlateSplineElement::P2

◆ P3

FVector2f FSlateSplineElement::P3

◆ Thickness

float FSlateSplineElement::Thickness

The documentation for this struct was generated from the following file: