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

#include <DrawElementTypes.h>

Public Member Functions

template<typename VectorType >
 FSlateGradientStop (const VectorType &InPosition, const FLinearColor InColor)
 

Public Attributes

FVector2f Position
 
FLinearColor Color
 

Constructor & Destructor Documentation

◆ FSlateGradientStop()

template<typename VectorType >
FSlateGradientStop::FSlateGradientStop ( const VectorType &  InPosition,
const FLinearColor  InColor 
)
inline

Construct a Gradient Stop from a Position and a Color.

Parameters
InPosition- The position in widget space for this stop. Both X and Y are used for a single-axis gradient. A two stop gradient should go from (0,0), to (Width,Height).
InColor- The color to lerp towards at this stop.

Member Data Documentation

◆ Color

FLinearColor FSlateGradientStop::Color

◆ Position

FVector2f FSlateGradientStop::Position

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