Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/ICursor.h |
Include |
#include "GenericPlatform/ICursor.h" |
namespace EMouseCursor
{
enum Type
{
None,
Default,
TextEditBeam,
ResizeLeftRight,
ResizeUpDown,
ResizeSouthEast,
ResizeSouthWest,
CardinalCross,
Crosshairs,
Hand,
GrabHand,
GrabHandClosed,
SlashedCircle,
EyeDropper,
Custom,
TotalCursorCount,
}
}
Name |
Description |
---|---|
None |
Causes no mouse cursor to be visible |
Default |
Default cursor (arrow) |
TextEditBeam |
Text edit beam |
ResizeLeftRight |
Resize horizontal |
ResizeUpDown |
Resize vertical |
ResizeSouthEast |
Resize diagonal |
ResizeSouthWest |
Resize other diagonal |
CardinalCross |
MoveItem |
Crosshairs |
Target Cross |
Hand |
Hand cursor |
GrabHand |
Grab Hand cursor |
GrabHandClosed |
Grab Hand cursor closed |
SlashedCircle |
A circle with a diagonal line through it |
EyeDropper |
Eye-dropper cursor for picking colors |
Custom |
Custom cursor shape for platforms that support setting a native cursor shape. |
TotalCursorCount |
Number of cursors we support |
Mouse cursor types