Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Input
Inheritance Hierarchy
- FNoncopyable
- FHittestGrid
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Input/HittestGrid.h |
| Include | #include "Input/HittestGrid.h" |
Syntax
class FHittestGrid : public FNoncopyable
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHittestGrid () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddGrid
(
const TSharedRef< const FHittestGrid >& OtherGrid |
Add an already existing grid that occupy the same space. | |
| void | AddWidget
(
const SWidget* InWidget, |
Add SWidget from the HitTest Grid | |
| void | Clear () |
Clear the grid | |
| bool | ContainsWidget
(
const SWidget* InWidget |
Check if SWidget is contained within the HitTest Grid | |
| void | DisplayGrid
(
int32 InLayer, |
||
| TSharedPtr< SWidget > | FindNextFocusableWidget
(
const FArrangedWidget& StartingWidget, |
Finds the next focusable widget by searching through the hit test grid | |
| TArray< FWidgetSortData > | |||
| TArray< FWidgetAndPointer > | GetBubblePath
(
UE::Slate::FDeprecateVector2DParameter DesktopSpaceCoordinate, |
Given a Slate Units coordinate in virtual desktop space, perform a hittest and return the path along which the corresponding event would be bubbled. | |
| UE::Slate::FDeprecateVector2DResult | |||
| UE::Slate::FDeprecateVector2DResult | GetGridSize () |
||
| UE::Slate::FDeprecateVector2DResult | |||
| int32 | GetUserIndex () |
Gets current slate user index that should be associated with any added widgets | |
| void | InsertCustomHitTestPath
(
const SWidget* InWidget, |
Insert custom hit test data for a widget already in the grid | |
| void | LogGrid () |
||
| void | RemoveGrid
(
const SWidget* OtherGridOwner |
Remove a grid that was appended. | |
| void | RemoveGrid
(
const TSharedRef< const FHittestGrid >& OtherGrid |
Remove a grid that was appended. | |
| void | RemoveWidget
(
const SWidget* InWidget |
Remove SWidget from the HitTest Grid | |
| void | SetCullingRect
(
const FSlateRect& InCullingRect |
Set the culling rect to be used by the parent grid (in case we are appended to another grid). | |
| bool | SetHittestArea
(
const UE::Slate::FDeprecateVector2DParameter& HittestPositionInDesktop, |
Set the position and size of the hittest area in desktop coordinates | |
| void | Set the owner SWidget to be used by the parent grid (in case we are appended to another grid). | ||
| void | SetUserIndex
(
int32 UserIndex |
Sets the current slate user index that should be associated with any added widgets | |
| void | UpdateWidget
(
const SWidget* InWidget, |
Update the widget SecondarySort without removing it and readding it again. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDebuggingFindNextFocusableWidgetArgs | |||
| FGridTestingParams | |||
| FWidgetSortData |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDisplayGridFlags |
Typedefs
| Name | Description |
|---|---|
| FCollapsedHittestGridArray | |
| FCollapsedWidgetsArray | |
| FDebuggingFindNextFocusableWidget |
Constants
| Name | Description |
|---|---|
| OnFindNextFocusableWidgetExecuted |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddWidget
(
const TSharedRef< SWidget >& InWidget, |
Deprecated. Use the AddWidget with a pointer. | |
| void | AddWidget
(
const TSharedRef< SWidget >& InWidget, |
Deprecated. Use the AddWidget with the FSlateInvalidationWidgetSortOrder type parameters instead. Passing FSlateInvalidationWidgetSortOrder() | |
| void | AppendGrid
(
FHittestGrid& OtherGrid |
Deprecated. Use the FHittestGrid::AddGrid method instead | |
| void | InsertCustomHitTestPath
(
const TSharedRef< SWidget > InWidget, |
Deprecated. Use the InsertCustomHitTestPath with a pointer. | |
| void | RemoveWidget
(
const TSharedRef< SWidget >& InWidget |
Deprecated. Use the RemoveWidget with a pointer. | |
| void | UpdateWidget
(
const TSharedRef< SWidget >& InWidget, |
Deprecated. Use the UpdateWidget with a pointer. |