Navigation
API > API/Runtime > API/Runtime/SlateCore
A reply to the OnQueryCursor event.
| Name | FCursorReply |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Input/CursorReply.h |
| Include Path | #include "Input/CursorReply.h" |
Syntax
class FCursorReply : public TReplyBase< FCursorReply >
Inheritance Hierarchy
- FReplyBase → TReplyBase → FCursorReply
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCursorReply () |
Internal constructor - makes a NULL result. | Input/CursorReply.h | |
FCursorReply
(
EMouseCursor::Type InCursorType |
Internal constructor - makes a non-NULL result. | Input/CursorReply.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CursorWidget | TSharedPtr< SWidget > | Custom widget to render for cursor | Input/CursorReply.h | |
| CursorWindow | TSharedPtr< SWindow > | Window to render for cursor | Input/CursorReply.h | |
| MouseCursor | EMouseCursor::Type | The cursor type must be set is CursorWidget is invalid | Input/CursorReply.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EMouseCursor::Type GetCursorType() |
Input/CursorReply.h | ||
TSharedPtr< SWidget > GetCursorWidget() |
Input/CursorReply.h | ||
TSharedPtr< SWindow > GetCursorWindow() |
Input/CursorReply.h | ||
void SetCursorWidget
(
TSharedPtr< SWindow > InCursorWindow, |
Set the Cursor Widget, used by slate application to set the cursor widget if the MapCursor returns a widget. | Input/CursorReply.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FCursorReply Cursor
(
EMouseCursor::Type InCursor |
Respond with a specific cursor. This cursor will be used and no other widgets will be asked. | Input/CursorReply.h | |
static FCursorReply Unhandled () |
Makes a NULL response meaning no prefersce. | Input/CursorReply.h |