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

#include <SlateTypes.h>

Public Member Functions

 CompareParams (const FTextBlockStyle &InStyleBase, const FSlateFontInfo &InFont, const FSlateColor &InColorAndOpacity, const FVector2f InShadowOffset, const FLinearColor &InShadowColorAndOpacity, const FSlateColor InHighlightColor, const FSlateBrush *InHighlightShape, const FSlateBrush *InStrikeBrush)
 

Public Attributes

const FTextBlockStyleStyleBase
 
const FSlateFontInfoFont
 
const FSlateColorColorAndOpacity
 
const FVector2f ShadowOffset
 
const FLinearColorShadowColorAndOpacity
 
const FSlateColor HighlightColor
 
const FSlateBrushHighlightShape
 
const FSlateBrushStrikeBrush
 

Detailed Description

Helper struct to compare two text styles without constructing a temporary text style

Constructor & Destructor Documentation

◆ CompareParams()

FTextBlockStyle::CompareParams::CompareParams ( const FTextBlockStyle InStyleBase,
const FSlateFontInfo InFont,
const FSlateColor InColorAndOpacity,
const FVector2f  InShadowOffset,
const FLinearColor InShadowColorAndOpacity,
const FSlateColor  InHighlightColor,
const FSlateBrush InHighlightShape,
const FSlateBrush InStrikeBrush 
)
inline

Member Data Documentation

◆ ColorAndOpacity

const FSlateColor& FTextBlockStyle::CompareParams::ColorAndOpacity

◆ Font

const FSlateFontInfo& FTextBlockStyle::CompareParams::Font

◆ HighlightColor

const FSlateColor FTextBlockStyle::CompareParams::HighlightColor

◆ HighlightShape

const FSlateBrush* FTextBlockStyle::CompareParams::HighlightShape

◆ ShadowColorAndOpacity

const FLinearColor& FTextBlockStyle::CompareParams::ShadowColorAndOpacity

◆ ShadowOffset

const FVector2f FTextBlockStyle::CompareParams::ShadowOffset

◆ StrikeBrush

const FSlateBrush* FTextBlockStyle::CompareParams::StrikeBrush

◆ StyleBase

const FTextBlockStyle& FTextBlockStyle::CompareParams::StyleBase

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