![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextLayout.h>
Public Member Functions | |
| SLATE_API | FRunModel (const TSharedRef< IRun > &InRun) |
| SLATE_API TSharedRef< IRun > | GetRun () const |
| SLATE_API void | BeginLayout () |
| SLATE_API void | EndLayout () |
| SLATE_API FTextRange | GetTextRange () const |
| SLATE_API void | SetTextRange (const FTextRange &Value) |
| SLATE_API int16 | GetBaseLine (float Scale) const |
| SLATE_API int16 | GetMaxHeight (float Scale) const |
| SLATE_API FVector2D | Measure (int32 BeginIndex, int32 EndIndex, float Scale, const FRunTextContext &InTextContext) |
| SLATE_API int8 | GetKerning (int32 CurrentIndex, float Scale, const FRunTextContext &InTextContext) |
| SLATE_API TSharedRef< ILayoutBlock > | CreateBlock (const FBlockDefinition &BlockDefine, float InScale, const FLayoutBlockTextContext &InTextContext) const |
| SLATE_API void | ClearCache () |
| SLATE_API void | AppendTextTo (FString &Text) const |
| SLATE_API void | AppendTextTo (FString &Text, const FTextRange &Range) const |
Static Public Member Functions | |
| static SLATE_API int32 | BinarySearchForBeginIndex (const TArray< FTextRange > &Ranges, int32 BeginIndex) |
| static SLATE_API int32 | BinarySearchForEndIndex (const TArray< FTextRange > &Ranges, int32 RangeBeginIndex, int32 EndIndex) |
| FTextLayout::FRunModel::FRunModel | ( | const TSharedRef< IRun > & | InRun | ) |
| void FTextLayout::FRunModel::AppendTextTo | ( | FString & | Text | ) | const |
| void FTextLayout::FRunModel::AppendTextTo | ( | FString & | Text, |
| const FTextRange & | Range | ||
| ) | const |
| void FTextLayout::FRunModel::BeginLayout | ( | ) |
|
static |
|
static |
| void FTextLayout::FRunModel::ClearCache | ( | ) |
| TSharedRef< ILayoutBlock > FTextLayout::FRunModel::CreateBlock | ( | const FBlockDefinition & | BlockDefine, |
| float | InScale, | ||
| const FLayoutBlockTextContext & | InTextContext | ||
| ) | const |
| void FTextLayout::FRunModel::EndLayout | ( | ) |
| int8 FTextLayout::FRunModel::GetKerning | ( | int32 | CurrentIndex, |
| float | Scale, | ||
| const FRunTextContext & | InTextContext | ||
| ) |
| TSharedRef< IRun > FTextLayout::FRunModel::GetRun | ( | ) | const |
| FTextRange FTextLayout::FRunModel::GetTextRange | ( | ) | const |
| FVector2D FTextLayout::FRunModel::Measure | ( | int32 | BeginIndex, |
| int32 | EndIndex, | ||
| float | Scale, | ||
| const FRunTextContext & | InTextContext | ||
| ) |
| void FTextLayout::FRunModel::SetTextRange | ( | const FTextRange & | Value | ) |