Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Text/ISlateEditableTextWidget.h |
Include |
#include "Widgets/Text/ISlateEditableTextWidget.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Widgets/Text/ISlateEditableTextWidget.cpp |
static FMoveCursor ViaScreenPointer
(
FVector2D LocalPosition,
float GeometryScale,
ECursorAction Action
)
Creates a MoveCursor action that describes moving the text cursor by selecting an arbitrary coordinate on the screen. e.g. User user touches a touch device screen or uses the mouse to point at text.
Parameter |
Description |
---|---|
LocalPosition |
Position in the text widget where the user wants to move the cursor by pointing |
GeometryScale |
DPI Scale of the widget geometry. |
Action |
Just move or also select text? |