Module |
|
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 |
void TranslateLocationVertical
(
const FTextLocation & Location,
int32 NumLinesToMove,
float GeometryScale,
FTextLocation & OutCursorPosition,
TOptional< SlateEditableTextTypes::ECursorAlignment > & OutCursorAlignment
) const
Given a location and a Direction to offset, return a new location.
Parameter |
Description |
---|---|
Location |
Cursor location from which to offset |
NumLinesToMove |
Number of lines to move in a given direction. Positive means down, negative means up. |
GeometryScale |
Geometry DPI scale at which the widget is being rendered |
OutCursorPosition |
Fill with the updated cursor position. |
OutCursorAlignment |
Optionally fill with a new cursor alignment (will be auto-calculated if not set). |