FMoveCursor::Cardinal

Creates a MoveCursor action that describes moving by a single character in any of the cardinal directions.

Windows
MacOS
Linux

References

Module

Slate

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

Syntax

static FMoveCursor Cardinal
(
    ECursorMoveGranularity Granularity,
    FIntPoint Direction,
    ECursorAction Action
)

Remarks

Creates a MoveCursor action that describes moving by a single character in any of the cardinal directions.

Parameters

Parameter

Description

Granularity

Move one character at a time, or on word boundaries (e.g. Ctrl is held down, or double-click mouse+drag)

Direction

Axis-aligned unit vector along which to move. e.g. Move right: (0,1) or Move Up: (-1, 0)

Action

Just move or also select text?

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