Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Text/RunUtils.h |
Include |
#include "Framework/Text/RunUtils.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Text/RunUtils.cpp |
namespace RunUtils
{
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
The calculated hit-point
Parameter |
Description |
---|---|
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 |