![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Functions | |
| SLATE_API ETextHitPoint | CalculateTextHitPoint (const int32 InIndex, const FTextRange &InTextRange, const TextBiDi::ETextDirection InTextDirection) |
| SLATE_API FTextRange | CalculateOffsetMeasureRange (const int32 InOffset, const FTextRange &InTextRange, const TextBiDi::ETextDirection InTextDirection) |
| FTextRange RunUtils::CalculateOffsetMeasureRange | ( | const int32 | InOffset, |
| const FTextRange & | InTextRange, | ||
| const TextBiDi::ETextDirection | InTextDirection | ||
| ) |
Calculate the range that will measure to the given index, based on the given range and text direction
| InOffset | The offset value to calculate the range for |
| InTextRange | The range of text to apply the offset to |
| InTextDirection | The text direction of all the text within the given range |
| ETextHitPoint RunUtils::CalculateTextHitPoint | ( | const int32 | InIndex, |
| const FTextRange & | InTextRange, | ||
| const TextBiDi::ETextDirection | InTextDirection | ||
| ) |
Calculate the correct hit-point for the given index, based on the given range and text direction
| InIndex | The index to calculate the hit-point for |
| InTextRange | The range of text that the index was taken from |
| InTextDirection | The text direction of all the text within the given range |