FSlateEditableTextLayout::TranslatedLocation

Given a location and a Direction to offset, return a new location.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateEditableTextLayout.h

Include

#include "Widgets/Text/SlateEditableTextLayout.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Text/SlateEditableTextLayout.cpp

Syntax

FTextLocation TranslatedLocation
(
    const FTextLocation & CurrentLocation,
    int8 Direction
) const

Remarks

Given a location and a Direction to offset, return a new location.

Parameters

Parameter

Description

Location

Cursor location from which to offset

Direction

Positive means right, negative means left.

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