RunUtils::CalculateOffsetMeasureRange

Calculate the range that will measure to the given index, based on the given range and text direction

Windows
MacOS
Linux

References

Module

Slate

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

Syntax

namespace RunUtils
{
    FTextRange RunUtils::CalculateOffsetMeasureRange
    (
        const int32 InOffset,
        const FTextRange & InTextRange,
        const TextBiDi::ETextDirection InTextDirection
    )
}

Remarks

Calculate the range that will measure to the given index, based on the given range and text direction

Returns

The calculated measure range

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss