Choose your operating system:
Windows
macOS
Linux
| FReplyBase
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Input/Reply.h |
Include |
#include "Input/Reply.h" |
class FReply : public TReplyBase< FReply >
A Reply is something that a Slate event returns to the system to notify it about certain aspect of how an event was handled. For example, a widget may handle an OnMouseDown event by asking the system to give mouse capture to a specific Widget. To do this, return FReply::CaptureMouse( NewMouseCapture ).
No constructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
AffectsAllUsers() |
If the event replied with a request to change the user focus whether it should do it for all users or just the current UserIndex |
|
|
FReply & |
BeginDragDrop ( |
An event should return FReply::Handled().BeginDragDrop( Content ) to initiate a drag and drop operation. |
|
FReply & |
CancelFocusRequest() |
An event should rarely invoke FReply::CancelFocusRequest. |
|
FReply & |
CaptureMouse ( |
An event should return a FReply::Handled().CaptureMouse( SomeWidget ) as a means of asking the system to forward all mouse events to SomeWidget |
|
FReply & |
ClearUserFocus ( |
An event should return a FReply::Handled().ClearUserFocus() to ask the system to clear user focus |
|
FReply & |
ClearUserFocus ( |
An event should return a FReply::Handled().ClearUserFocus() to ask the system to clear user focus |
|
FReply & |
DetectDrag ( |
Ask Slate to detect if a user started dragging in this widget. |
|
FReply & |
EndDragDrop() |
An event should return FReply::Handled().EndDragDrop() to request that the current drag/drop operation be terminated. |
|
TSharedPtr< ... |
GetDetectDragRequest() |
|
|
GetDetectDragRequestButton() |
||
|
const TShare... |
GetDragDropContent() |
|
|
GetFocusCause() |
Get the reason that a focus change is being requested. |
|
|
TSharedPtr< ... |
GetMouseCaptor() |
If the event replied with a request to capture the mouse, this returns the desired mouse captor. |
|
TSharedPtr< ... |
GetMouseLockWidget() |
Returns the widget that the mouse should be locked to (if any) |
|
TSharedPtr< ... |
GetNavigationDestination() |
Get the widget that is the navigation destination. |
|
ENavigationG... |
GetNavigationGenesis() |
Get the genesis of the navigation. |
|
ENavigationS... |
GetNavigationSource() |
Get the source of the navigation. |
|
EUINavigatio... |
GetNavigationType() |
Get the navigation type (Invalid if no navigation is requested). |
|
const TOptio... |
GetRequestedMousePos() |
|
|
TSharedPtr< ... |
GetUserFocusRecepient() |
When not nullptr, user focus has been requested to be set on the FocusRecipient. |
|
Handled() |
An event should return a FReply::Handled() to let the system know that an event was handled. |
|
|
FReply & |
LockMouseToWidget ( |
An event should return FReply::Handled().LockMouseToWidget( SomeWidget ) as a means of asking the system to Lock the mouse so it cannot move out of the bounds of the widget. |
|
FReply & |
PreventThrottling() |
Ensures throttling for SlateUI responsiveness is not done on mouse down |
|
FReply & |
ReleaseMouseCapture() |
An event should return a FReply::Handled().ReleaseMouse() to ask the system to release mouse capture |
|
FReply & |
ReleaseMouseLock() |
An event should return a FReply::Handled().ReleaseMouseLock() to ask the system to release mouse lock on a widget |
|
FReply & |
SetMousePos ( |
An event should return FReply::Handled().SetMousePos to ask Slate to move the mouse cursor to a different location |
|
FReply & |
SetNavigation ( |
An event should return FReply::Handled().SetNavigation( NavigationType ) as a means of asking the system to attempt a navigation |
|
FReply & |
SetNavigation ( |
An event should return FReply::Handled().SetNavigation( NavigationDestination ) as a means of asking the system to attempt a navigation to the specified destination |
|
FReply & |
SetUserFocus ( |
An event should return FReply::Handled().SetUserFocus( SomeWidget ) as a means of asking the system to set users focus to the provided widget |
|
ShouldEndDragDrop() |
||
|
ShouldReleaseMouse() |
True if this reply indicated that we should release mouse capture as a result of the event being handled |
|
|
ShouldReleaseMouseLock() |
True if the reply indicated that we should release mouse lock |
|
|
ShouldReleaseUserFocus() |
True if this reply indicated that we should release focus as a result of the event being handled |
|
|
ShouldSetUserFocus() |
True if this reply indicated that we should set focus as a result of the event being handled |
|
|
ShouldThrottle() |
Whether or not we should throttle on mouse down |
|
|
ShouldUseHighPrecisionMouse() |
True if this reply indicated that we should use high precision mouse movement |
|
|
ToString() |
Converts the reply into an string representation. |
|
|
Unhandled() |
An event should return a FReply::Unhandled() to let the system know that an event was unhandled. |
|
|
FReply & |
UseHighPrecisionMouseMovement ( |
Enables the use of high precision (raw input) mouse movement, for more accurate mouse movement without mouse ballistics |