FCursorInfo::SetCursorLocationAndCalculateAlignment

Set the position of the cursor, and then work out the correct alignment based on the current text layout

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Widgets/Text/SlateEditableTextTypes.h"

Source

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

Syntax

void SetCursorLocationAndCalculateAlignment
(
    const FTextLayout & InTextLayout,
    const FTextLocation & InCursorPosition
)

Remarks

Set the position of the cursor, and then work out the correct alignment based on the current text layout

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