Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Application
Inheritance Hierarchy
- TSharedFromThis
- FSlateUser
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateUser.h |
| Include | #include "Framework/Application/SlateUser.h" |
Syntax
class FSlateUser : public TSharedFromThis< FSlateUser >
Remarks
Slate's representation of an individual input-providing user. As new input sources are connected, new SlateUsers are created.
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FSlateUser () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ClearFocus
(
EFocusCause ReasonFocusIsChanging |
||
| void | CloseTooltip () |
||
| TSharedRef< FSlateUser > | Create
(
FPlatformUserId InPlatformUserId, |
||
| TSharedRef< FSlateUser > | Create
(
int32 InUserIndex, |
||
| FWidgetPath | DetectDrag
(
const FPointerEvent& PointerEvent, |
||
| bool | DoesWidgetHaveAnyCapture
(
TSharedPtr< const SWidget > Widget |
||
| bool | DoesWidgetHaveCapture
(
TSharedPtr< const SWidget > Widget, |
||
| bool | DoesWidgetHaveCursorCapture
(
TSharedPtr< const SWidget > Widget |
||
| void | DrawCursor
(
const TSharedRef< SWindow >& WindowToDraw, |
||
| void | DrawWindowlessDragDropContent
(
const TSharedRef< SWindow >& WindowToDraw, |
||
| void | FinishFrame () |
||
| FWidgetPath | GetCaptorPath
(
uint32 PointerIndex, |
||
| TArray< FWidgetPath > | |||
| TArray< TSharedRef< SWidget > > | |||
| TSharedPtr< ICursor > | GetCursor () |
||
| TSharedPtr< SWidget > | |||
| FWidgetPath | GetCursorCaptorPath
(
FWeakWidgetPath::EInterruptedPathHandling::Type InterruptedPathHandling, |
||
| UE::Slate::FDeprecateVector2DResult | |||
| TSharedPtr< FDragDropOperation > | |||
| TSharedPtr< SWidget > | |||
| TSharedRef< FWidgetPath > | GetFocusPath () |
||
| int32 | |||
| FGestureDetector & | |||
| const FGestureDetector & | |||
| FWeakWidgetPath | |||
| FWeakWidgetPath | GetLastWidgetsUnderPointer
(
uint32 PointerIndex |
||
| FPlatformUserId | |||
| TSharedPtr< SWidget > | GetPointerCaptor
(
uint32 PointerIndex |
||
| UE::Slate::FDeprecateVector2DResult | GetPointerPosition
(
uint32 PointerIndex |
||
| UE::Slate::FDeprecateVector2DResult | |||
| UE::Slate::FDeprecateVector2DResult | GetPreviousPointerPosition
(
uint32 PointerIndex |
||
| int32 | GetUserIndex () |
||
| TSharedPtr< FNavigationConfig > | |||
| FWeakWidgetPath | GetWeakCapturePath
(
uint32 PointerIndex |
||
| FWeakWidgetPath | |||
| const FWeakWidgetPath & | |||
| const TMap< uint32, FWeakWidgetPath > & | |||
| bool | |||
| bool | HasCapture
(
uint32 PointerIndex |
||
| bool | |||
| TOptional< EFocusCause > | HasFocus
(
TSharedPtr< const SWidget > Widget |
Returns the cause for which the provided widget was focused, or nothing if the given widget is not the current focus target. | |
| bool | HasFocusedDescendants
(
TSharedRef< const SWidget > Widget |
Returns true if the given widget is in the focus path, but is not the focused widget itself. | |
| bool | |||
| void | |||
| bool | IsDetectingDrag
(
uint32 PointerIndex |
||
| bool | |||
| bool | IsDragDroppingAffected
(
const FPointerEvent& InPointerEvent |
||
| bool | IsTouchPointerActive
(
int32 TouchPointerIndex |
||
| bool | |||
| bool | IsWidgetDirectlyUnderAnyPointer
(
TSharedPtr< const SWidget > Widget |
||
| bool | IsWidgetDirectlyUnderCursor
(
TSharedPtr< const SWidget > Widget |
||
| bool | IsWidgetDirectlyUnderPointer
(
TSharedPtr< const SWidget > Widget, |
||
| bool | IsWidgetInFocusPath
(
TSharedPtr< const SWidget > Widget |
Returns true if the given widget is anywhere in the focus path, including the focused widget itself. | |
| bool | IsWidgetUnderAnyPointer
(
TSharedPtr< const SWidget > Widget |
||
| bool | IsWidgetUnderCursor
(
TSharedPtr< const SWidget > Widget |
||
| bool | IsWidgetUnderPointer
(
TSharedPtr< const SWidget > Widget, |
||
| bool | IsWindowHousingInteractiveTooltip
(
const TSharedRef< const SWindow >& WindowToTest |
||
| void | LockCursor
(
const TSharedRef< SWidget >& Widget |
||
| void | NotifyPointerMoveBegin
(
const FPointerEvent& PointerEvent |
||
| void | NotifyPointerMoveComplete
(
const FPointerEvent& PointerEvent, |
||
| void | NotifyPointerReleased
(
const FPointerEvent& PointerEvent, |
||
| void | NotifyTouchStarted
(
const FPointerEvent& TouchEvent |
||
| void | NotifyWindowDestroyed
(
TSharedRef< SWindow > DestroyedWindow |
||
| void | OverrideCursor
(
const TSharedPtr< ICursor > InCursor |
||
| void | ProcessCursorReply
(
const FCursorReply& CursorReply |
||
| void | QueryCursor () |
||
| void | |||
| void | |||
| void | ReleaseCapture
(
uint32 PointerIndex |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| bool | SetCursorCaptor
(
TSharedRef< const SWidget > Widget, |
||
| void | SetCursorPosition
(
int32 PosX, |
||
| void | SetCursorPosition
(
const UE::Slate::FDeprecateVector2DParameter& NewCursorPos |
||
| void | SetCursorVisibility
(
bool bDrawCursor |
||
| void | SetDragDropContent
(
TSharedRef< FDragDropOperation > InDragDropContent |
||
| bool | SetFocus
(
const TSharedRef< SWidget >& WidgetToFocus, |
||
| void | SetFocusPath
(
const FWidgetPath& NewFocusPath, |
||
| bool | SetPointerCaptor
(
uint32 PointerIndex, |
||
| void | SetPointerPosition
(
uint32 PointerIndex, |
||
| void | SetPointerPosition
(
uint32 PointerIndex, |
||
| void | SetUserNavigationConfig
(
TSharedPtr< FNavigationConfig > InNavigationConfig |
||
| bool | ShouldShowFocus
(
TSharedPtr< const SWidget > Widget |
||
| void | ShowTooltip
(
const TSharedRef< IToolTip >& InTooltip, |
||
| void | StartDragDetection
(
const FWidgetPath& PathToWidget, |
||
| bool | |||
| void | UnlockCursor () |
||
| void | UpdateCursor () |
||
| void | UpdatePointerPosition
(
const FPointerEvent& PointerEvent |
||
| void | UpdateTooltip
(
const FMenuStack& MenuStack, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ETooltipOffsetDirection |