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

#include <DrawElementTypes.h>

+ Inheritance diagram for FSlateShapedTextElement:

Public Member Functions

const FShapedGlyphSequencePtrGetShapedGlyphSequence () const
 
FLinearColor GetOutlineTint () const
 
void SetShapedText (const FShapedGlyphSequencePtr &InShapedGlyphSequence, const FLinearColor &InOutlineTint)
 
void SetOverflowArgs (const FTextOverflowArgs &InArgs)
 
void AddReferencedObjects (FReferenceCollector &Collector)
 
- 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

FShapedGlyphSequencePtr ShapedGlyphSequence
 
FLinearColor OutlineTint
 
FTextOverflowArgs OverflowArgs
 
- 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

◆ AddReferencedObjects()

void FSlateShapedTextElement::AddReferencedObjects ( FReferenceCollector Collector)
inline

◆ GetOutlineTint()

FLinearColor FSlateShapedTextElement::GetOutlineTint ( ) const
inline

◆ GetShapedGlyphSequence()

const FShapedGlyphSequencePtr & FSlateShapedTextElement::GetShapedGlyphSequence ( ) const
inline

◆ SetOverflowArgs()

void FSlateShapedTextElement::SetOverflowArgs ( const FTextOverflowArgs InArgs)
inline

◆ SetShapedText()

void FSlateShapedTextElement::SetShapedText ( const FShapedGlyphSequencePtr InShapedGlyphSequence,
const FLinearColor InOutlineTint 
)
inline

Member Data Documentation

◆ OutlineTint

FLinearColor FSlateShapedTextElement::OutlineTint

◆ OverflowArgs

FTextOverflowArgs FSlateShapedTextElement::OverflowArgs

◆ ShapedGlyphSequence

FShapedGlyphSequencePtr FSlateShapedTextElement::ShapedGlyphSequence

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